Home
last modified time | relevance | path

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

/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java496 ClientTransport.PingCallback mockPingCallback = mock(ClientTransport.PingCallback.class); in ping() local
498 client.ping(mockPingCallback, MoreExecutors.directExecutor()); in ping()
503 verify(mockPingCallback, timeout(TIMEOUT_MS)).onSuccess(Matchers.anyLong()); in ping()
518 ClientTransport.PingCallback mockPingCallback = mock(ClientTransport.PingCallback.class); in ping_duringShutdown() local
520 client.ping(mockPingCallback, MoreExecutors.directExecutor()); in ping_duringShutdown()
525 verify(mockPingCallback, timeout(TIMEOUT_MS)).onSuccess(Matchers.anyLong()); in ping_duringShutdown()
538 ClientTransport.PingCallback mockPingCallback = mock(ClientTransport.PingCallback.class); in ping_afterTermination() local
540 client.ping(mockPingCallback, MoreExecutors.directExecutor()); in ping_afterTermination()
545 verify(mockPingCallback, timeout(TIMEOUT_MS)).onFailure(throwableCaptor.capture()); in ping_afterTermination()