12 |
|
|
13 |
|
public class ScheduledExecutorSubclassTest extends JSR166TestCase { |
14 |
|
public static void main(String[] args) { |
15 |
< |
junit.textui.TestRunner.run (suite()); |
15 |
> |
junit.textui.TestRunner.run(suite()); |
16 |
|
} |
17 |
|
public static Test suite() { |
18 |
|
return new TestSuite(ScheduledExecutorSubclassTest.class); |
190 |
|
|
191 |
|
|
192 |
|
/** |
193 |
< |
* execute (null) throws NPE |
193 |
> |
* execute(null) throws NPE |
194 |
|
*/ |
195 |
|
public void testExecuteNull() throws InterruptedException { |
196 |
|
CustomExecutor se = new CustomExecutor(1); |
202 |
|
} |
203 |
|
|
204 |
|
/** |
205 |
< |
* schedule (null) throws NPE |
205 |
> |
* schedule(null) throws NPE |
206 |
|
*/ |
207 |
|
public void testScheduleNull() throws InterruptedException { |
208 |
|
CustomExecutor se = new CustomExecutor(1); |