121 |
|
suite.addTest(new TestSuite(DelayQueueTest.class)); |
122 |
|
suite.addTest(new TestSuite(ExchangerTest.class)); |
123 |
|
suite.addTest(new TestSuite(ExecutorsTest.class)); |
124 |
+ |
suite.addTest(new TestSuite(ExecutorCompletionServiceTest.class)); |
125 |
|
suite.addTest(new TestSuite(FutureTaskTest.class)); |
126 |
|
suite.addTest(new TestSuite(LinkedBlockingQueueTest.class)); |
127 |
|
suite.addTest(new TestSuite(LinkedListTest.class)); |
463 |
|
} |
464 |
|
catch(InterruptedException success) { |
465 |
|
} |
466 |
+ |
} |
467 |
+ |
} |
468 |
+ |
|
469 |
+ |
class LongPossiblyInterruptedRunnable implements Runnable { |
470 |
+ |
public void run() { |
471 |
+ |
try { |
472 |
+ |
Thread.sleep(LONG_DELAY_MS); |
473 |
+ |
} |
474 |
+ |
catch(InterruptedException success) { |
475 |
+ |
} |
476 |
|
} |
477 |
|
} |
478 |
|
|