Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DSerializingExecutorTest.java58 private FakeExecutor fakePool; field in SerializingExecutorTest
63 fakePool = new FakeExecutor(); in setUp()
64 e = new SerializingExecutor(fakePool); in setUp()
84 assertFalse(fakePool.hasNext()); in testBasics()
86 assertTrue(fakePool.hasNext()); in testBasics()
89 fakePool.runNext(); // run just 1 sub task... in testBasics()
91 assertFalse(fakePool.hasNext()); in testBasics()
98 fakePool.runNext(); in testBasics()
100 assertFalse(fakePool.hasNext()); in testBasics()
122 fakePool.runNext(); in testOrdering()
[all …]