Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DFutureTaskTest.java32 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.PublicFutureTask
158 public int doneCount() { return doneCount.get(); } in doneCount() method in FutureTaskTest.PublicFutureTask
192 doneCount.incrementAndGet(); in done()
457 assertEquals(1, task.doneCount()); in testCancelInterrupt_ThrowsSecurityException()