Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DInternalSubchannelTest.java81 private static final Status SHUTDOWN_REASON = Status.UNAVAILABLE.withDescription("for test"); field in InternalSubchannelTest
691 internalSubchannel.shutdown(SHUTDOWN_REASON); in shutdownWhenReady()
692 verify(transportInfo.transport).shutdown(same(SHUTDOWN_REASON)); in shutdownWhenReady()
730 internalSubchannel.shutdown(SHUTDOWN_REASON); in shutdownBeforeTransportCreated()
763 internalSubchannel.shutdown(SHUTDOWN_REASON); in shutdownBeforeTransportReady()
767 verify(transportInfo.transport).shutdown(same(SHUTDOWN_REASON)); in shutdownBeforeTransportReady()
804 internalSubchannel.shutdown(SHUTDOWN_REASON); in obtainTransportAfterShutdown()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientTransportTest.java132 private static final Status SHUTDOWN_REASON = Status.UNAVAILABLE.withDescription("for test"); field in OkHttpClientTransportTest
809 clientTransport.shutdown(SHUTDOWN_REASON); in stopNormally()
812 verify(transportListener).transportShutdown(same(SHUTDOWN_REASON)); in stopNormally()
1021 clientTransport.shutdown(SHUTDOWN_REASON); in pendingStreamSucceedAfterShutdown()
1374 clientTransport.shutdown(SHUTDOWN_REASON); in ping_failsWhenTransportShutdown()
1378 assertSame(SHUTDOWN_REASON, ((StatusException) callback.failureCause).getStatus()); in ping_failsWhenTransportShutdown()
1386 assertSame(SHUTDOWN_REASON, ((StatusException) callback.failureCause).getStatus()); in ping_failsWhenTransportShutdown()
1468 clientTransport.shutdown(SHUTDOWN_REASON); in shutdownDuringConnecting()
2052 clientTransport.shutdown(SHUTDOWN_REASON); in shutdownAndVerify()