Searched refs:testExecutor (Results 1 – 5 of 5) sorted by relevance
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | WrappingExecutorServiceTest.java | 48 TestExecutor testExecutor = new TestExecutor(mock); in testDelegations() local 49 assertFalse(testExecutor.awaitTermination(10, TimeUnit.MILLISECONDS)); in testDelegations() 51 assertFalse(testExecutor.isTerminated()); in testDelegations() 53 assertFalse(testExecutor.isShutdown()); in testDelegations() 55 testExecutor.shutdown(); in testDelegations() 57 List<Runnable> list = testExecutor.shutdownNow(); in testDelegations() 64 TestExecutor testExecutor = new TestExecutor(mock); in testExecute() local 65 testExecutor.execute(doNothing()); in testExecute() 72 TestExecutor testExecutor = new TestExecutor(mock); in testSubmit() local 73 Future<?> f = testExecutor.submit(doNothing()); in testSubmit() [all …]
|
D | WrappingScheduledExecutorServiceTest.java | 47 TestExecutor testExecutor = new TestExecutor(mock); in testSchedule() local 50 Future<?> possiblyIgnoredError = testExecutor.schedule(DO_NOTHING, 10, TimeUnit.MINUTES); in testSchedule() 55 testExecutor.schedule(Executors.callable(DO_NOTHING), 5, TimeUnit.SECONDS); in testSchedule() 61 TestExecutor testExecutor = new TestExecutor(mock); in testSchedule_repeating() local 64 testExecutor.scheduleWithFixedDelay(DO_NOTHING, 100, 10, TimeUnit.MINUTES); in testSchedule_repeating() 69 testExecutor.scheduleAtFixedRate(DO_NOTHING, 3, 7, TimeUnit.SECONDS); in testSchedule_repeating()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | WrappingExecutorServiceTest.java | 48 TestExecutor testExecutor = new TestExecutor(mock); in testDelegations() local 49 assertFalse(testExecutor.awaitTermination(10, TimeUnit.MILLISECONDS)); in testDelegations() 51 assertFalse(testExecutor.isTerminated()); in testDelegations() 53 assertFalse(testExecutor.isShutdown()); in testDelegations() 55 testExecutor.shutdown(); in testDelegations() 57 List<Runnable> list = testExecutor.shutdownNow(); in testDelegations() 64 TestExecutor testExecutor = new TestExecutor(mock); in testExecute() local 65 testExecutor.execute(doNothing()); in testExecute() 72 TestExecutor testExecutor = new TestExecutor(mock); in testSubmit() local 73 Future<?> f = testExecutor.submit(doNothing()); in testSubmit() [all …]
|
D | WrappingScheduledExecutorServiceTest.java | 47 TestExecutor testExecutor = new TestExecutor(mock); in testSchedule() local 50 Future<?> possiblyIgnoredError = testExecutor.schedule(DO_NOTHING, 10, TimeUnit.MINUTES); in testSchedule() 55 testExecutor.schedule(Executors.callable(DO_NOTHING), 5, TimeUnit.SECONDS); in testSchedule() 61 TestExecutor testExecutor = new TestExecutor(mock); in testSchedule_repeating() local 64 testExecutor.scheduleWithFixedDelay(DO_NOTHING, 100, 10, TimeUnit.MINUTES); in testSchedule_repeating() 69 testExecutor.scheduleAtFixedRate(DO_NOTHING, 3, 7, TimeUnit.SECONDS); in testSchedule_repeating()
|
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/ |
D | RequestFinishedInfoTest.java | 156 DirectExecutor testExecutor = new DirectExecutor(); in testRequestFinishedListenerDirectExecutor() local 158 new TestRequestFinishedListener(testExecutor); in testRequestFinishedListenerDirectExecutor() 172 testExecutor.blockUntilDone(); in testRequestFinishedListenerDirectExecutor() 273 TestExecutor testExecutor = new TestExecutor(); in testRequestFinishedListenerRemoved() local 275 new TestRequestFinishedListener(testExecutor); in testRequestFinishedListenerRemoved() 284 testExecutor.runAllTasks(); in testRequestFinishedListenerRemoved()
|