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.java1176 TimerTask taskThatDoesntThrow = new IncrementCounterTaskAndPossiblyThrowAfter( in testTimerCancelledAfterException() local
1184 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() local
1242 t.schedule(taskThatDoesntThrow, 100 /* delay */); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()
1249 assertTrue("The timer should not cancel the tasks", taskThatDoesntThrow.cancel()); in testTimerCancelledAfterExceptionAndTasksNotCancelledAfterPurge()