14 |
|
|
15 |
|
public class ScheduledExecutorTest extends JSR166TestCase { |
16 |
|
public static void main(String[] args) { |
17 |
< |
junit.textui.TestRunner.run (suite()); |
17 |
> |
junit.textui.TestRunner.run(suite()); |
18 |
|
} |
19 |
|
public static Test suite() { |
20 |
|
return new TestSuite(ScheduledExecutorTest.class); |
137 |
|
|
138 |
|
|
139 |
|
/** |
140 |
< |
* execute (null) throws NPE |
140 |
> |
* execute(null) throws NPE |
141 |
|
*/ |
142 |
|
public void testExecuteNull() throws InterruptedException { |
143 |
|
ScheduledThreadPoolExecutor se = null; |
151 |
|
} |
152 |
|
|
153 |
|
/** |
154 |
< |
* schedule (null) throws NPE |
154 |
> |
* schedule(null) throws NPE |
155 |
|
*/ |
156 |
|
public void testScheduleNull() throws InterruptedException { |
157 |
|
ScheduledThreadPoolExecutor se = new ScheduledThreadPoolExecutor(1); |