Searched refs:mockTransportFactory (Results 1 – 6 of 6) sorted by relevance
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | InternalSubchannelTest.java | 95 @Mock private ClientTransportFactory mockTransportFactory; field in InternalSubchannelTest 136 transports = TestUtils.captureTransports(mockTransportFactory); in setUp() 162 verify(mockTransportFactory) in eagAttribute_propagatesToTransport() 183 verify(mockTransportFactory, times(++transportsCreated)) in singleAddressReconnect() 199 verify(mockTransportFactory, times(transportsCreated)) in singleAddressReconnect() 207 verify(mockTransportFactory, times(++transportsCreated)) in singleAddressReconnect() 224 verify(mockTransportFactory, times(transportsCreated)) in singleAddressReconnect() 232 verify(mockTransportFactory, times(++transportsCreated)) in singleAddressReconnect() 254 verify(mockTransportFactory, times(++transportsCreated)) in singleAddressReconnect() 280 verify(mockTransportFactory, times(++transportsAddr1)) in twoAddressesReconnect() [all …]
|
D | TestUtils.java | 65 ClientTransportFactory mockTransportFactory) { in captureTransports() argument 66 return captureTransports(mockTransportFactory, null); in captureTransports() 70 ClientTransportFactory mockTransportFactory, @Nullable final Runnable startRunnable) { in captureTransports() argument 93 }).when(mockTransportFactory) in captureTransports()
|
D | ManagedChannelImplIdlenessTest.java | 103 @Mock private ClientTransportFactory mockTransportFactory; field in ManagedChannelImplIdlenessTest 121 when(mockTransportFactory.getScheduledExecutorService()) in setUp() 145 builder, mockTransportFactory, new FakeBackoffPolicyProvider(), in setUp() 149 newTransports = TestUtils.captureTransports(mockTransportFactory); in setUp() 161 verify(mockTransportFactory, never()).newClientTransport( in setUp() 362 verify(mockTransportFactory, never()) in oobTransportDoesNotAffectIdleness() 370 verify(mockTransportFactory) in oobTransportDoesNotAffectIdleness()
|
D | ManagedChannelImplTest.java | 189 private ClientTransportFactory mockTransportFactory; field in ManagedChannelImplTest 223 channelBuilder, mockTransportFactory, new FakeBackoffPolicyProvider(), in createChannel() 253 transports = TestUtils.captureTransports(mockTransportFactory); in setUp() 254 when(mockTransportFactory.getScheduledExecutorService()) in setUp() 320 verify(mockTransportFactory).getScheduledExecutorService(); in shutdownWithNoTransportsEverCreated() 321 verifyNoMoreInteractions(mockTransportFactory); in shutdownWithNoTransportsEverCreated() 439 verify(mockTransportFactory) in subtestCallsAndShutdown() 460 verify(mockTransportFactory) in subtestCallsAndShutdown() 548 verify(mockTransportFactory) in subtestCallsAndShutdown() 550 verify(mockTransportFactory).close(); in subtestCallsAndShutdown() [all …]
|
D | CallCredentials2ApplyingTest.java | 61 private ClientTransportFactory mockTransportFactory; field in CallCredentials2ApplyingTest 109 when(mockTransportFactory.newClientTransport(address, clientTransportOptions)) in setUp() 114 mockTransportFactory, mockExecutor); in setUp() 118 verify(mockTransportFactory).newClientTransport(address, clientTransportOptions); in setUp()
|
D | CallCredentialsApplyingTest.java | 60 private ClientTransportFactory mockTransportFactory; field in CallCredentialsApplyingTest 108 when(mockTransportFactory.newClientTransport(address, clientTransportOptions)) in setUp() 113 mockTransportFactory, mockExecutor); in setUp() 117 verify(mockTransportFactory).newClientTransport(address, clientTransportOptions); in setUp()
|