Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplIdlenessTest.java105 @Mock private LoadBalancer.Factory mockLoadBalancerFactory; field in ManagedChannelImplIdlenessTest
116 when(mockLoadBalancerFactory.newLoadBalancer(any(Helper.class))).thenReturn(mockLoadBalancer); in setUp()
140 .loadBalancerFactory(mockLoadBalancerFactory) in setUp()
160 verify(mockLoadBalancerFactory, never()).newLoadBalancer(any(Helper.class)); in setUp()
181 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in newCallExitsIdleness()
198 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in newCallRefreshesIdlenessTimer()
260 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in realTransportsHoldsOffIdleness()
302 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateSubchannelAddresses_newAddressConnects()
322 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in updateSubchannelAddresses_existingAddressDoesNotConnect()
346 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in oobTransportDoesNotAffectIdleness()
[all …]
DManagedChannelImplTest.java181 private LoadBalancer.Factory mockLoadBalancerFactory; field in ManagedChannelImplTest
244 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in createChannel()
253 when(mockLoadBalancerFactory.newLoadBalancer(any(Helper.class))).thenReturn(mockLoadBalancer); in setUp()
262 .loadBalancerFactory(mockLoadBalancerFactory) in setUp()
488 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in subtestCallsAndShutdown()
567 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in noMoreCallbackAfterLoadBalancerShutdown()
768 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in nameResolverReturnsEmptySubLists()
787 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in loadBalancerThrowsInHandleResolvedAddresses()
1576 verify(mockLoadBalancerFactory, never()).newLoadBalancer(any(Helper.class)); in getState_withRequestConnect()
1581 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in getState_withRequestConnect()
[all …]