Searched refs:taskThatDoesntThrow (Results 1 – 1 of 1) sorted by relevance
1176 TimerTask taskThatDoesntThrow = new IncrementCounterTaskAndPossiblyThrowAfter( in testTimerCancelledAfterException() local1184 t.schedule(taskThatDoesntThrow, 100 /* delay */); in testTimerCancelledAfterException()1192 assertTrue("The timer should not cancel the tasks", taskThatDoesntThrow.cancel()); in testTimerCancelledAfterException()1234 TimerTask taskThatDoesntThrow = new IncrementCounterTaskAndPossiblyThrowAfter( in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge() local1242 t.schedule(taskThatDoesntThrow, 100 /* delay */); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()1249 assertTrue("The timer should not cancel the tasks", taskThatDoesntThrow.cancel()); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()