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.java57 private FakeExecutor fakePool; field in SerializingExecutorTest
62 fakePool = new FakeExecutor(); in setUp()
63 e = new SerializingExecutor(fakePool); in setUp()
83 assertFalse(fakePool.hasNext()); in testBasics()
85 assertTrue(fakePool.hasNext()); in testBasics()
88 fakePool.runNext(); // run just 1 sub task... in testBasics()
90 assertFalse(fakePool.hasNext()); in testBasics()
97 fakePool.runNext(); in testBasics()
99 assertFalse(fakePool.hasNext()); in testBasics()
121 fakePool.runNext(); in testOrdering()
[all …]