Home
last modified time | relevance | path

Searched refs:grpcCleanup (Results 1 – 9 of 9) sorted by relevance

/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/
DGrpcCleanupRuleTest.java72 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in registerNullChannelThrowsNpe() local
77 grpcCleanup.register(channel); in registerNullChannelThrowsNpe()
83 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in registerNullServerThrowsNpe() local
88 grpcCleanup.register(server); in registerNullServerThrowsNpe()
97 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in singleChannelCleanup() local
100 grpcCleanup.register(channel); in singleChannelCleanup()
105 grpcCleanup.apply(statement, null /* description*/).evaluate(); in singleChannelCleanup()
124 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in singleServerCleanup() local
127 grpcCleanup.register(server); in singleServerCleanup()
132 grpcCleanup.apply(statement, null /* description*/).evaluate(); in singleServerCleanup()
[all …]
/external/grpc-grpc-java/examples/example-kotlin/src/test/kotlin/io/grpc/examples/helloworld/
DHelloWorldServerTest.kt46 val grpcCleanup = GrpcCleanupRule() constant in io.grpc.examples.helloworld.HelloWorldServerTest
59 grpcCleanup.register(InProcessServerBuilder in greeterImpl_replyMessage()
64 grpcCleanup.register(InProcessChannelBuilder.forName(serverName).directExecutor() in greeterImpl_replyMessage()
DHelloWorldClientTest.kt53 val grpcCleanup = GrpcCleanupRule() constant in io.grpc.examples.helloworld.HelloWorldClientTest
67 grpcCleanup.register(InProcessServerBuilder in setUp()
71 val channel = grpcCleanup.register( in setUp()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/helloworld/
DHelloWorldServerTest.java45 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in HelloWorldServerTest
57 grpcCleanup.register(InProcessServerBuilder in greeterImpl_replyMessage()
62 grpcCleanup.register(InProcessChannelBuilder.forName(serverName).directExecutor().build())); in greeterImpl_replyMessage()
DHelloWorldClientTest.java52 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in HelloWorldClientTest
64 grpcCleanup.register(InProcessServerBuilder in setUp()
68 ManagedChannel channel = grpcCleanup.register( in setUp()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/header/
DHeaderClientInterceptorTest.java64 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in HeaderClientInterceptorTest
80 grpcCleanup.register(InProcessServerBuilder.forName(serverName).directExecutor() in clientHeaderDeliveredToServer()
84 ManagedChannel channel = grpcCleanup.register( in clientHeaderDeliveredToServer()
DHeaderServerInterceptorTest.java64 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in HeaderServerInterceptorTest
81 grpcCleanup.register(InProcessServerBuilder.forName(serverName).directExecutor() in setUp()
86 grpcCleanup.register(InProcessChannelBuilder.forName(serverName).directExecutor().build()); in setUp()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/routeguide/
DRouteGuideServerTest.java61 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in RouteGuideServerTest
79 inProcessChannel = grpcCleanup.register( in setUp()
DRouteGuideClientTest.java65 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in RouteGuideClientTest
93 grpcCleanup.register(InProcessServerBuilder.forName(serverName) in setUp()