Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java42 int wasRun = 0; field in TimerTest.TimerTestTask
65 wasRun++; in run()
85 public synchronized int wasRun() { in wasRun() method in TimerTest.TimerTestTask
86 return wasRun; in wasRun()
103 while (task.wasRun() == 0) { in awaitRun()
226 1, testTask.wasRun()); in test_cancel()
240 1, testTask.wasRun()); in test_cancel()
251 assertEquals(1, testTask.wasRun()); in test_cancel()
253 assertEquals(2, testTask.wasRun()); in test_cancel()
255 assertEquals(3, testTask.wasRun()); in test_cancel()
[all …]
DTimerTaskTest.java33 private int wasRun = 0; field in TimerTaskTest.TimerTestTask
41 wasRun++; in run()
58 public synchronized int wasRun() { in wasRun() method in TimerTaskTest.TimerTestTask
59 return wasRun; in wasRun()
97 while (testTask.wasRun() == 0) { in test_cancel()
126 while (testTask.wasRun() == 0) { in test_cancel()
235 0, testTask.wasRun()); in test_run()
241 while(testTask.wasRun() < 1) { in test_run()