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.java191 private ClientCall.Listener<Integer> mockCallListener; field in ManagedChannelImplTest
303 call.start(mockCallListener, new Metadata()); in immediateDeadlineExceeded()
306 verify(mockCallListener).onClose(statusCaptor.capture(), any(Metadata.class)); in immediateDeadlineExceeded()
462 call.start(mockCallListener, headers); in subtestCallsAndShutdown()
504 verify(mockCallListener).onClose(same(ManagedChannelImpl.SHUTDOWN_NOW_STATUS), in subtestCallsAndShutdown()
633 call.start(mockCallListener, headers); in callOptionsExecutor()
663 verify(mockCallListener, never()).onClose(same(Status.CANCELLED), same(trailers)); in callOptionsExecutor()
665 verify(mockCallListener).onClose(same(Status.CANCELLED), same(trailers)); in callOptionsExecutor()
741 call.start(mockCallListener, headers); in nameResolutionFailed_delayedTransportShutdownCancelsBackoff()
754 verify(mockCallListener).onClose(same(status), any(Metadata.class)); in nameResolutionFailed_delayedTransportShutdownCancelsBackoff()
[all …]