Searched refs:setExceptionCount (Results 1 – 1 of 1) sorted by relevance
71 assertEquals(0, pf.setExceptionCount()); in checkNotDone()156 private final AtomicInteger setExceptionCount = new AtomicInteger(0); field in FutureTaskTest.PublicFutureTask161 public int setExceptionCount() { return setExceptionCount.get(); } in setExceptionCount() method in FutureTaskTest.PublicFutureTask204 setExceptionCount.incrementAndGet(); in setException()260 assertEquals(0, task.setExceptionCount()); in testRunAndReset()276 assertEquals(0, task.setExceptionCount()); in testRunAndResetAfterCancel()323 assertEquals(1, task.setExceptionCount()); in testSetException_get()339 assertEquals(0, task.setExceptionCount()); in testCancelBeforeRun()356 assertEquals(0, task.setExceptionCount()); in testCancelBeforeRun2()373 assertEquals(0, task.setExceptionCount()); in testCancelAfterRun()[all …]