Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplTest.java161 private final FakeClock oobExecutor = new FakeClock(); field in ManagedChannelImplTest
258 when(oobExecutorPool.getObject()).thenReturn(oobExecutor.getScheduledExecutorService()); in setUp()
1188 assertEquals(0, oobExecutor.numPendingTasks()); in oobchannels()
1190 assertEquals(1, oobExecutor.runDueTasks()); in oobchannels()
1212 assertEquals(0, oobExecutor.numPendingTasks()); in oobchannels()
1214 assertTrue(oobExecutor.runDueTasks() > 0); in oobchannels()
1229 verify(oobExecutorPool).returnObject(oobExecutor.getScheduledExecutorService()); in oobchannels()
1232 assertEquals(0, oobExecutor.numPendingTasks()); in oobchannels()
1237 assertTrue(oobExecutor.runDueTasks() > 0); in oobchannels()
1249 assertEquals(0, oobExecutor.numPendingTasks()); in oobchannels()
[all …]
DManagedChannelImplIdlenessTest.java82 private final FakeClock oobExecutor = new FakeClock(); field in ManagedChannelImplIdlenessTest
101 new FixedObjectPool<Executor>(oobExecutor.getScheduledExecutorService());