Searched refs:GrpcCleanupRule (Results 1 – 12 of 12) sorted by relevance
36 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 …]
24 import io.grpc.testing.GrpcCleanupRule;45 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule();
28 import io.grpc.testing.GrpcCleanupRule;52 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule();
41 import io.grpc.testing.GrpcCleanupRule;64 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule();
24 import io.grpc.testing.GrpcCleanupRule46 val grpcCleanup = GrpcCleanupRule()
28 import io.grpc.testing.GrpcCleanupRule53 val grpcCleanup = GrpcCleanupRule()
48 public final class GrpcCleanupRule implements TestRule { class66 public GrpcCleanupRule setTimeout(long timeout, TimeUnit timeUnit) { in setTimeout()79 GrpcCleanupRule setTicker(Ticker ticker) { in setTicker()
32 import io.grpc.testing.GrpcCleanupRule;61 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule();
34 import io.grpc.testing.GrpcCleanupRule;65 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule();
58 The gRPC-java library also provides a JUnit rule, GrpcCleanupRule.java, to do the graceful shutdown
161 [GrpcServerRule](../testing/src/main/java/io/grpc/testing/GrpcCleanupRule.java), to do the graceful