Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplIdlenessTest.java259 ArgumentCaptor<Helper> helperCaptor = ArgumentCaptor.forClass(null); in realTransportsHoldsOffIdleness() local
260 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in realTransportsHoldsOffIdleness()
261 Helper helper = helperCaptor.getValue(); in realTransportsHoldsOffIdleness()
301 ArgumentCaptor<Helper> helperCaptor = ArgumentCaptor.forClass(null); in updateSubchannelAddresses_newAddressConnects() local
302 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateSubchannelAddresses_newAddressConnects()
303 Helper helper = helperCaptor.getValue(); in updateSubchannelAddresses_newAddressConnects()
321 ArgumentCaptor<Helper> helperCaptor = ArgumentCaptor.forClass(null); in updateSubchannelAddresses_existingAddressDoesNotConnect() local
322 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateSubchannelAddresses_existingAddressDoesNotConnect()
323 Helper helper = helperCaptor.getValue(); in updateSubchannelAddresses_existingAddressDoesNotConnect()
345 ArgumentCaptor<Helper> helperCaptor = ArgumentCaptor.forClass(null); in oobTransportDoesNotAffectIdleness() local
[all …]
DManagedChannelImplTest.java243 ArgumentCaptor<Helper> helperCaptor = ArgumentCaptor.forClass(null); in createChannel() local
244 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in createChannel()
245 helper = helperCaptor.getValue(); in createChannel()
1580 ArgumentCaptor<Helper> helperCaptor = ArgumentCaptor.forClass(null); in getState_withRequestConnect() local
1581 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in getState_withRequestConnect()
1582 helper = helperCaptor.getValue(); in getState_withRequestConnect()
1841 ArgumentCaptor<Helper> helperCaptor = ArgumentCaptor.forClass(Helper.class); in idleTimeoutAndReconnect() local
1843 verify(mockLoadBalancerFactory, times(2)).newLoadBalancer(helperCaptor.capture()); in idleTimeoutAndReconnect()
1844 Helper helper2 = helperCaptor.getValue(); in idleTimeoutAndReconnect()
1891 ArgumentCaptor<Helper> helperCaptor = ArgumentCaptor.forClass(Helper.class); in idleMode_resetsDelayedTransportPicker() local
[all …]