Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplTest.java188 private SubchannelPicker mockPicker; field in ManagedChannelImplTest
451 when(mockPicker.pickSubchannel( in subtestCallsAndShutdown()
454 when(mockPicker.pickSubchannel( in subtestCallsAndShutdown()
457 helper.updateBalancingState(READY, mockPicker); in subtestCallsAndShutdown()
649 when(mockPicker.pickSubchannel(any(PickSubchannelArgs.class))) in callOptionsExecutor()
652 helper.updateBalancingState(READY, mockPicker); in callOptionsExecutor()
854 when(mockPicker.pickSubchannel(any(PickSubchannelArgs.class))) in firstResolvedServerFailedToConnect()
886 helper.updateBalancingState(READY, mockPicker); in firstResolvedServerFailedToConnect()
999 when(mockPicker.pickSubchannel(any(PickSubchannelArgs.class))) in allServersFailedToConnect()
1442 when(mockPicker.pickSubchannel(any(PickSubchannelArgs.class))) in informationPropagatedToNewStreamAndCallCredentials()
[all …]
DDelayedClientTransportTest.java70 @Mock private SubchannelPicker mockPicker; field in DelayedClientTransportTest
108 when(mockPicker.pickSubchannel(any(PickSubchannelArgs.class))) in setUp()
130 delayedTransport.reprocess(mockPicker); in streamStartThenAssignTransport()
146 delayedTransport.reprocess(mockPicker); in newStreamThenAssignTransportThenShutdown()
161 delayedTransport.reprocess(mockPicker); in transportTerminatedThenAssignTransport()
166 delayedTransport.reprocess(mockPicker); in assignTransportThenShutdownThenNewStream()
178 delayedTransport.reprocess(mockPicker); in assignTransportThenShutdownNowThenNewStream()
220 delayedTransport.reprocess(mockPicker); in newStreamThenShutdownTransportThenAssignTransport()
DManagedChannelImplIdlenessTest.java270 SubchannelPicker mockPicker = mock(SubchannelPicker.class); in realTransportsHoldsOffIdleness() local
271 when(mockPicker.pickSubchannel(any(PickSubchannelArgs.class))) in realTransportsHoldsOffIdleness()
273 helper.updateBalancingState(READY, mockPicker); in realTransportsHoldsOffIdleness()