Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DFutureTaskTest.java88 assertEquals(0, pf.setCount()); in checkNotDone()
173 private final AtomicInteger setCount = new AtomicInteger(0); field in FutureTaskTest.PublicFutureTask
178 public int setCount() { return setCount.get(); } in setCount() method in FutureTaskTest.PublicFutureTask
218 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 …]
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java78 void setCount(int value); in setCount() method
99 public void setCount(int value) { in setCount() method in OldClassTest.ExtendTestClass
135 public void setCount(int value) { in setCount() method in OldClassTest.PublicTestClass