Home
last modified time | relevance | path

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

/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/
DGrpcCleanupRuleTest.java73 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in registerNullChannelThrowsNpe() local
78 grpcCleanup.register(channel); in registerNullChannelThrowsNpe()
84 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in registerNullServerThrowsNpe() local
89 grpcCleanup.register(server); in registerNullServerThrowsNpe()
98 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in singleChannelCleanup() local
101 grpcCleanup.register(channel); in singleChannelCleanup()
106 grpcCleanup.apply(statement, null /* description*/).evaluate(); in singleChannelCleanup()
125 GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); in singleServerCleanup() local
128 grpcCleanup.register(server); in singleServerCleanup()
133 grpcCleanup.apply(statement, null /* description*/).evaluate(); in singleServerCleanup()
[all …]
/external/grpc-grpc-java/examples/example-hostname/src/test/java/io/grpc/examples/hostname/
DHostnameGreeterTest.java42 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in HostnameGreeterTest
45 GreeterGrpc.newBlockingStub(grpcCleanup.register(
50 grpcCleanup.register( in sayHello_fixedHostname()
61 grpcCleanup.register( in sayHello_dynamicHostname()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/helloworld/
DHelloWorldServerTest.java47 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in HelloWorldServerTest
59 grpcCleanup.register(InProcessServerBuilder in greeterImpl_replyMessage()
64 grpcCleanup.register(InProcessChannelBuilder.forName(serverName).directExecutor().build())); in greeterImpl_replyMessage()
DHelloWorldClientTest.java54 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in HelloWorldClientTest
77 grpcCleanup.register(InProcessServerBuilder in setUp()
81 ManagedChannel channel = grpcCleanup.register( in setUp()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DAltsHandshakerTest.java47 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in AltsHandshakerTest
57 testServer = grpcCleanup.register( in startAltsServer()
74 handshakerServer = grpcCleanup.register(NettyServerBuilder.forPort(0) in setup()
87 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/alts/src/test/java/io/grpc/alts/
DHandshakerServiceChannelTest.java39 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in HandshakerServiceChannelTest
40 private final Server server = grpcCleanup.register(
/external/grpc-grpc-java/examples/example-jwt-auth/src/test/java/io/grpc/examples/jwtauth/
DAuthClientTest.java62 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in AuthClientTest
82 grpcCleanup.register(InProcessServerBuilder.forName(serverName).directExecutor() in setUp()
/external/grpc-grpc-java/binder/src/test/java/io/grpc/binder/
DPeerUidsTest.java52 @Rule public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in PeerUidsTest
113 grpcCleanup.register(server.build().start()); in makeServiceCall()
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/routeguide/
DRouteGuideClientTest.java66 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in RouteGuideClientTest
94 grpcCleanup.register(InProcessServerBuilder.forName(serverName) in setUp()
96 client = new RouteGuideClient(grpcCleanup.register( in setUp()
DRouteGuideServerTest.java63 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in RouteGuideServerTest
81 inProcessChannel = grpcCleanup.register( in setUp()
/external/grpc-grpc-java/xds/src/test/java/io/grpc/xds/orca/
DOrcaServiceImplTest.java63 public final GrpcCleanupRule grpcCleanup = new GrpcCleanupRule(); field in OrcaServiceImplTest
89 oobServer = grpcCleanup.register( in startServerAndGetChannel()
95 channel = grpcCleanup.register( in startServerAndGetChannel()