Searched refs:goldenResponse (Results 1 – 4 of 4) sorted by relevance
/external/grpc-grpc-java/services/src/test/java/io/grpc/protobuf/services/ |
D | ProtoReflectionServiceTest.java | 171 ServerReflectionResponse goldenResponse = in fileByFilename() local 188 assertEquals(goldenResponse, responseObserver.firstValue().get()); in fileByFilename() 198 ServerReflectionResponse goldenResponse = in fileByFilenameConsistentForMutableServices() local 230 assertEquals(goldenResponse, responseObserver2.firstValue().get()); in fileByFilenameConsistentForMutableServices() 244 List<ByteString> goldenResponse = in fileContainingSymbol() local 263 assertEquals(goldenResponse.size(), response.size()); in fileContainingSymbol() 264 assertEquals(new HashSet<ByteString>(goldenResponse), new HashSet<ByteString>(response)); in fileContainingSymbol() 275 ServerReflectionResponse goldenResponse = in fileContainingNestedSymbol() local 291 assertEquals(goldenResponse, responseObserver.firstValue().get()); in fileContainingNestedSymbol() 301 ServerReflectionResponse goldenResponse = in fileContainingSymbolForMutableServices() local [all …]
|
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/ |
D | Http2Client.java | 211 final SimpleResponse goldenResponse = SimpleResponse.newBuilder() field in Http2Client.Tester 259 assertResponseEquals(blockingStub.unaryCall(simpleRequest), goldenResponse); in goAway() local 261 assertResponseEquals(blockingStub.unaryCall(simpleRequest), goldenResponse); in goAway() local 265 assertResponseEquals(blockingStub.unaryCall(simpleRequest), goldenResponse); in ping() local 272 assertResponseEquals(blockingStub.unaryCall(simpleRequest), goldenResponse); in maxStreams() local 332 assertResponseEquals(blockingStub.unaryCall(simpleRequest), goldenResponse); in run() local 352 private void assertResponseEquals(SimpleResponse response, SimpleResponse goldenResponse) { in assertResponseEquals() argument 353 if (!response.equals(goldenResponse)) { in assertResponseEquals()
|
D | AbstractInteropTest.java | 396 final SimpleResponse goldenResponse = SimpleResponse.newBuilder() in largeUnary() local 402 assertEquals(goldenResponse, blockingStub.unaryCall(request)); in largeUnary() 405 Collections.singleton(request), Collections.singleton(goldenResponse)); in largeUnary() 426 final SimpleResponse goldenResponse = in clientCompressedUnary() local 444 goldenResponse, blockingStub.withCompression("gzip").unaryCall(expectCompressedRequest)); in clientCompressedUnary() 449 Collections.singleton(goldenResponse)); in clientCompressedUnary() 451 assertEquals(goldenResponse, blockingStub.unaryCall(expectUncompressedRequest)); in clientCompressedUnary() 456 Collections.singleton(goldenResponse)); in clientCompressedUnary() 480 final SimpleResponse goldenResponse = in serverCompressedUnary() local 485 assertEquals(goldenResponse, blockingStub.unaryCall(responseShouldBeCompressed)); in serverCompressedUnary() [all …]
|
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/ |
D | TransportCompressionTest.java | 114 final SimpleResponse goldenResponse = SimpleResponse.newBuilder() 121 assertEquals(goldenResponse, blockingStub.unaryCall(request));
|