Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTest.java1168 TimerTask taskThatDoesntThrow = new IncrementCounterTaskAndPossiblyThrowAfter( in testTimerCancelledAfterException() local
1176 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() local
1234 t.schedule(taskThatDoesntThrow, 100 /* delay */); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()
1241 assertTrue("The timer should not cancel the tasks", taskThatDoesntThrow.cancel()); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()