Searched refs:fakePool (Results 1 – 1 of 1) sorted by relevance
58 private FakeExecutor fakePool; field in SerializingExecutorTest63 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 …]