Searched refs:taskThatDoesntThrow (Results 1 – 1 of 1) sorted by relevance
1168 TimerTask taskThatDoesntThrow = new IncrementCounterTaskAndPossiblyThrowAfter( in testTimerCancelledAfterException() local1176 t.schedule(taskThatDoesntThrow, 100 /* delay */); in testTimerCancelledAfterException()1184 assertTrue("The timer should not cancel the tasks", taskThatDoesntThrow.cancel()); in testTimerCancelledAfterException()1226 TimerTask taskThatDoesntThrow = new IncrementCounterTaskAndPossiblyThrowAfter( in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge() local1234 t.schedule(taskThatDoesntThrow, 100 /* delay */); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()1241 assertTrue("The timer should not cancel the tasks", taskThatDoesntThrow.cancel()); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()