Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DInternalSubchannelTest.java95 @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 …]
DTestUtils.java65 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()
DManagedChannelImplIdlenessTest.java103 @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()
DManagedChannelImplTest.java189 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 …]
DCallCredentials2ApplyingTest.java61 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()
DCallCredentialsApplyingTest.java60 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()