Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplTest.java185 private ArgumentCaptor<ConnectivityStateInfo> stateInfoCaptor; field in ManagedChannelImplTest
582 .handleSubchannelState(same(subchannel1), stateInfoCaptor.capture()); in noMoreCallbackAfterLoadBalancerShutdown()
583 assertSame(CONNECTING, stateInfoCaptor.getAllValues().get(0).getState()); in noMoreCallbackAfterLoadBalancerShutdown()
584 assertSame(READY, stateInfoCaptor.getAllValues().get(1).getState()); in noMoreCallbackAfterLoadBalancerShutdown()
587 .handleSubchannelState(same(subchannel2), stateInfoCaptor.capture()); in noMoreCallbackAfterLoadBalancerShutdown()
588 assertSame(CONNECTING, stateInfoCaptor.getValue().getState()); in noMoreCallbackAfterLoadBalancerShutdown()
857 same(subchannel), stateInfoCaptor.capture()); in firstResolvedServerFailedToConnect()
858 assertEquals(CONNECTING, stateInfoCaptor.getValue().getState()); in firstResolvedServerFailedToConnect()
881 same(subchannel), stateInfoCaptor.capture()); in firstResolvedServerFailedToConnect()
882 assertEquals(READY, stateInfoCaptor.getValue().getState()); in firstResolvedServerFailedToConnect()
[all …]