Searched refs:wasRun (Results 1 – 2 of 2) sorted by relevance
42 int wasRun = 0; field in TimerTest.TimerTestTask65 wasRun++; in run()85 public synchronized int wasRun() { in wasRun() method in TimerTest.TimerTestTask86 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 …]
33 private int wasRun = 0; field in TimerTaskTest.TimerTestTask41 wasRun++; in run()58 public synchronized int wasRun() { in wasRun() method in TimerTaskTest.TimerTestTask59 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()