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.java180 private LoadBalancer.Factory mockLoadBalancerFactory; field in ManagedChannelImplTest
243 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in createChannel()
252 when(mockLoadBalancerFactory.newLoadBalancer(any(Helper.class))).thenReturn(mockLoadBalancer); in setUp()
261 .loadBalancerFactory(mockLoadBalancerFactory) in setUp()
487 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in subtestCallsAndShutdown()
566 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in noMoreCallbackAfterLoadBalancerShutdown()
767 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in nameResolverReturnsEmptySubLists()
786 verify(mockLoadBalancerFactory).newLoadBalancer(any(Helper.class)); in loadBalancerThrowsInHandleResolvedAddresses()
1577 verify(mockLoadBalancerFactory, never()).newLoadBalancer(any(Helper.class)); in getState_withRequestConnect()
1582 verify(mockLoadBalancerFactory).newLoadBalancer(helperCaptor.capture()); in getState_withRequestConnect()
[all …]