Searched refs:taskThatThrows (Results 1 – 1 of 1) sorted by relevance
1172 TimerTask taskThatThrows = new IncrementCounterTaskAndPossiblyThrowAfter( in testTimerCancelledAfterException() local1177 t.scheduleAtFixedRate(taskThatThrows, 1 /* delay */, 100 /* period */); in testTimerCancelledAfterException()1185 assertTrue("The timer should not cancel the tasks", taskThatThrows.cancel()); in testTimerCancelledAfterException()1230 TimerTask taskThatThrows = new IncrementCounterTaskAndPossiblyThrowAfter( in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge() local1235 t.scheduleAtFixedRate(taskThatThrows, 1 /* delay */, 100 /* period */); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()1242 assertTrue("The timer should not cancel the tasks", taskThatThrows.cancel()); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()