Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DFutureTaskTest.java71 assertEquals(0, pf.setExceptionCount()); in checkNotDone()
156 private final AtomicInteger setExceptionCount = new AtomicInteger(0); field in FutureTaskTest.PublicFutureTask
161 public int setExceptionCount() { return setExceptionCount.get(); } in setExceptionCount() method in FutureTaskTest.PublicFutureTask
204 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 …]