Home
last modified time | relevance | path

Searched refs:METADATA_KEY (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc-java/protobuf/src/test/java/io/grpc/protobuf/
DStatusProtoTest.java41 metadata.put(METADATA_KEY, METADATA_VALUE); in setup()
63 assertEquals(METADATA_VALUE, sre.getTrailers().get(METADATA_KEY)); in toStatusRuntimeExceptionWithMetadata_shouldIncludeMetadata()
105 assertEquals(METADATA_VALUE, se.getTrailers().get(METADATA_KEY)); in toStatusExceptionWithMetadata_shouldIncludeMetadata()
174 private static final Metadata.Key<String> METADATA_KEY = field in StatusProtoTest
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DUtil.java30 public static final Metadata.Key<Messages.SimpleContext> METADATA_KEY = field in Util
DAbstractInteropTest.java987 fixedHeaders.put(Util.METADATA_KEY, contextValue); in exchangeMetadataUnaryCall()
997 Assert.assertEquals(contextValue, headersCapture.get().get(Util.METADATA_KEY)); in exchangeMetadataUnaryCall()
998 Assert.assertEquals(contextValue, trailersCapture.get().get(Util.METADATA_KEY)); in exchangeMetadataUnaryCall()
1010 fixedHeaders.put(Util.METADATA_KEY, contextValue); in exchangeMetadataStreamingCall()
1045 Assert.assertEquals(contextValue, headersCapture.get().get(Util.METADATA_KEY)); in exchangeMetadataStreamingCall()
1046 Assert.assertEquals(contextValue, trailersCapture.get().get(Util.METADATA_KEY)); in exchangeMetadataStreamingCall()
DTestServiceImpl.java498 echoRequestHeadersInterceptor(Util.METADATA_KEY),