Home
last modified time | relevance | path

Searched refs:GrpcCleanupRule (Results 1 – 12 of 12) sorted by relevance

/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/
DGrpcCleanupRuleTest.java36 import io.grpc.testing.GrpcCleanupRule.Resource;
60 assertSame(channel, new GrpcCleanupRule().register(channel)); in registerChannelReturnSameChannel()
66 assertSame(server, new GrpcCleanupRule().register(server)); in registerServerReturnSameServer()
72 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in registerNullChannelThrowsNpe()
83 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in registerNullServerThrowsNpe()
97 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in singleChannelCleanup()
124 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in singleServerCleanup()
157 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in multiResource_cleanupGracefully()
191 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in baseTestFails()
225 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in multiResource_awaitReleasedFails()
[all …]
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/helloworld/
DHelloWorldServerTest.java24 import io.grpc.testing.GrpcCleanupRule;
45 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule();
DHelloWorldClientTest.java28 import io.grpc.testing.GrpcCleanupRule;
52 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule();
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/header/
DHeaderClientInterceptorTest.java41 import io.grpc.testing.GrpcCleanupRule;
64 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule();
DHeaderServerInterceptorTest.java41 import io.grpc.testing.GrpcCleanupRule;
64 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule();
/external/grpc-grpc-java/examples/example-kotlin/src/test/kotlin/io/grpc/examples/helloworld/
DHelloWorldServerTest.kt24 import io.grpc.testing.GrpcCleanupRule
46 val grpcCleanup = GrpcCleanupRule()
DHelloWorldClientTest.kt28 import io.grpc.testing.GrpcCleanupRule
53 val grpcCleanup = GrpcCleanupRule()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DGrpcCleanupRule.java48 public final class GrpcCleanupRule implements TestRule { class
66 public GrpcCleanupRule setTimeout(long timeout, TimeUnit timeUnit) { in setTimeout()
79 GrpcCleanupRule setTicker(Ticker ticker) { in setTicker()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/routeguide/
DRouteGuideServerTest.java32 import io.grpc.testing.GrpcCleanupRule;
61 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule();
DRouteGuideClientTest.java34 import io.grpc.testing.GrpcCleanupRule;
65 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule();
/external/grpc-grpc-java/examples/example-kotlin/
DREADME.md58 The gRPC-java library also provides a JUnit rule, GrpcCleanupRule.java, to do the graceful shutdown
/external/grpc-grpc-java/examples/
DREADME.md161 [GrpcServerRule](../testing/src/main/java/io/grpc/testing/GrpcCleanupRule.java), to do the graceful