Home
last modified time | relevance | path

Searched refs:taskThatThrows (Results 1 – 1 of 1) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java1172 TimerTask taskThatThrows = new IncrementCounterTaskAndPossiblyThrowAfter( in testTimerCancelledAfterException() local
1177 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() local
1235 t.scheduleAtFixedRate(taskThatThrows, 1 /* delay */, 100 /* period */); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()
1242 assertTrue("The timer should not cancel the tasks", taskThatThrows.cancel()); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()