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