Searched refs:setCount (Results 1 – 2 of 2) sorted by relevance
88 assertEquals(0, pf.setCount()); in checkNotDone()173 private final AtomicInteger setCount = new AtomicInteger(0); field in FutureTaskTest.PublicFutureTask178 public int setCount() { return setCount.get(); } in setCount() method in FutureTaskTest.PublicFutureTask218 setCount.incrementAndGet(); in set()277 assertEquals(0, task.setCount()); in testRunAndReset()293 assertEquals(0, task.setCount()); in testRunAndResetAfterCancel()310 assertEquals(1, task.setCount()); in testSet()342 assertEquals(0, task.setCount()); in testSetException_get()356 assertEquals(0, task.setCount()); in testCancelBeforeRun()373 assertEquals(0, task.setCount()); in testCancelBeforeRun2()[all …]
78 void setCount(int value); in setCount() method99 public void setCount(int value) { in setCount() method in OldClassTest.ExtendTestClass135 public void setCount(int value) { in setCount() method in OldClassTest.PublicTestClass