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.java187 private SubchannelPicker mockPicker; field in ManagedChannelImplTest
450 when(mockPicker.pickSubchannel( in subtestCallsAndShutdown()
453 when(mockPicker.pickSubchannel( in subtestCallsAndShutdown()
456 helper.updateBalancingState(READY, mockPicker); in subtestCallsAndShutdown()
648 when(mockPicker.pickSubchannel(any(PickSubchannelArgs.class))) in callOptionsExecutor()
651 helper.updateBalancingState(READY, mockPicker); in callOptionsExecutor()
853 when(mockPicker.pickSubchannel(any(PickSubchannelArgs.class))) in firstResolvedServerFailedToConnect()
885 helper.updateBalancingState(READY, mockPicker); in firstResolvedServerFailedToConnect()
998 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()