484 |
|
} |
485 |
|
|
486 |
|
/** |
487 |
< |
* isShutDown is false before shutdown, true after |
487 |
> |
* isShutdown is false before shutdown, true after |
488 |
|
*/ |
489 |
|
public void testIsShutdown() { |
490 |
|
|
669 |
|
} |
670 |
|
|
671 |
|
/** |
672 |
< |
* shutDownNow returns a list containing tasks that were not run |
672 |
> |
* shutdownNow returns a list containing tasks that were not run |
673 |
|
*/ |
674 |
< |
public void testShutDownNow() { |
674 |
> |
public void testShutdownNow() { |
675 |
|
ThreadPoolExecutor p = new CustomTPE(1, 1, LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10)); |
676 |
|
List l; |
677 |
|
try { |