Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplIdlenessTest.java108 @Mock private ClientCall.Listener<Integer> mockCallListener; field in ManagedChannelImplIdlenessTest
179 call.start(mockCallListener, new Metadata()); in newCallExitsIdleness()
194 call.start(mockCallListener, new Metadata()); in newCallRefreshesIdlenessTimer()
208 call.start(mockCallListener, new Metadata()); in newCallRefreshesIdlenessTimer()
223 verify(mockCallListener, never()).onClose(any(Status.class), any(Metadata.class)); in newCallRefreshesIdlenessTimer()
225 verify(mockCallListener, times(2)).onClose(any(Status.class), any(Metadata.class)); in newCallRefreshesIdlenessTimer()
231 call.start(mockCallListener, new Metadata()); in delayedTransportHoldsOffIdleness()
256 call.start(mockCallListener, new Metadata()); in realTransportsHoldsOffIdleness()
300 call.start(mockCallListener, new Metadata()); // Create LB in updateSubchannelAddresses_newAddressConnects()
320 call.start(mockCallListener, new Metadata()); // Create LB in updateSubchannelAddresses_existingAddressDoesNotConnect()
[all …]
DManagedChannelImplTest.java192 private ClientCall.Listener<Integer> mockCallListener; field in ManagedChannelImplTest
304 call.start(mockCallListener, new Metadata()); in immediateDeadlineExceeded()
307 verify(mockCallListener).onClose(statusCaptor.capture(), any(Metadata.class)); in immediateDeadlineExceeded()
463 call.start(mockCallListener, headers); in subtestCallsAndShutdown()
505 verify(mockCallListener).onClose(same(ManagedChannelImpl.SHUTDOWN_NOW_STATUS), in subtestCallsAndShutdown()
634 call.start(mockCallListener, headers); in callOptionsExecutor()
664 verify(mockCallListener, never()).onClose(same(Status.CANCELLED), same(trailers)); in callOptionsExecutor()
666 verify(mockCallListener).onClose(same(Status.CANCELLED), same(trailers)); in callOptionsExecutor()
742 call.start(mockCallListener, headers); in nameResolutionFailed_delayedTransportShutdownCancelsBackoff()
755 verify(mockCallListener).onClose(same(status), any(Metadata.class)); in nameResolutionFailed_delayedTransportShutdownCancelsBackoff()
[all …]