Searched refs:doneCount (Results 1 – 1 of 1) sorted by relevance
32 assertEquals(1, pf.doneCount()); in checkIsDone()34 assertEquals(1, pf.doneCount()); in checkIsDone()69 assertEquals(0, pf.doneCount()); in checkNotDone()153 private final AtomicInteger doneCount = new AtomicInteger(0); field in FutureTaskTest.PublicFutureTask158 public int doneCount() { return doneCount.get(); } in doneCount() method in FutureTaskTest.PublicFutureTask192 doneCount.incrementAndGet(); in done()457 assertEquals(1, task.doneCount()); in testCancelInterrupt_ThrowsSecurityException()