Home | History | Annotate | Download | only in util

Lines Matching defs:cancel

71                 timer.cancel();
119 t.cancel();
122 t.cancel();
138 t.cancel();
141 t.cancel();
157 t.cancel();
160 t.cancel();
187 t.cancel();
190 t.cancel();
201 * java.util.Timer#cancel()
209 t.cancel();
212 fail("Scheduling a task after Timer.cancel() should throw exception");
216 // Ensure a task is run but not after cancel
221 t.cancel();
225 assertEquals("TimerTask.run() method should not have been called after cancel",
228 // Ensure you can call cancel more than once
233 t.cancel();
234 t.cancel();
235 t.cancel();
239 assertEquals("TimerTask.run() method should not have been called after cancel",
242 // Ensure that a call to cancel from within a timer ensures no more
263 t.cancel();
267 t.cancel();
294 tasks[i].cancel();
301 t.cancel();
316 t.cancel();
319 fail("Scheduling a task after Timer.cancel() should throw exception");
328 testTask.cancel();
334 t.cancel();
346 t.cancel();
356 t.cancel();
366 t.cancel();
376 t.cancel();
384 t.cancel();
407 t.cancel();
410 t.cancel();
423 t.cancel();
426 fail("Scheduling a task after Timer.cancel() should throw exception");
434 testTask.cancel();
440 t.cancel();
451 t.cancel();
460 t.cancel();
469 t.cancel();
476 t.cancel();
495 t.cancel();
498 t.cancel();
511 t.cancel();
514 fail("Scheduling a task after Timer.cancel() should throw exception");
522 testTask.cancel();
528 t.cancel();
539 t.cancel();
550 t.cancel();
561 t.cancel();
570 t.cancel();
579 t.cancel();
588 t.cancel();
607 t.cancel();
610 t.cancel();
625 t.cancel();
628 fail("Scheduling a task after Timer.cancel() should throw exception");
637 testTask.cancel();
643 t.cancel();
655 t.cancel();
667 t.cancel();
677 t.cancel();
687 t.cancel();
697 t.cancel();
707 t.cancel();
730 t.cancel();
733 t.cancel();
747 t.cancel();
750 fail("scheduleAtFixedRate after Timer.cancel() should throw exception");
763 t.cancel();
774 t.cancel();
783 t.cancel();
826 t.cancel();
829 t.cancel();
843 t.cancel();
847 fail("scheduleAtFixedRate after Timer.cancel() should throw exception");
861 t.cancel();
872 t.cancel();
882 t.cancel();
892 t.cancel();
901 t.cancel();
911 t.cancel();
955 t.cancel();
958 t.cancel();
1024 t.cancel();
1048 t.cancel();
1083 t.cancel();
1085 assertTrue(task.cancel());
1105 t.cancel();
1108 assertTrue(task.cancel());
1184 assertTrue("The timer should not cancel the tasks", taskThatDoesntThrow.cancel());
1185 assertTrue("The timer should not cancel the tasks", taskThatThrows.cancel());
1241 assertTrue("The timer should not cancel the tasks", taskThatDoesntThrow.cancel());
1242 assertTrue("The timer should not cancel the tasks", taskThatThrows.cancel());
1271 task1.cancel();