16 |
|
|
17 |
|
public class AbstractQueueTest extends JSR166TestCase { |
18 |
|
public static void main(String[] args) { |
19 |
< |
junit.textui.TestRunner.run(suite()); |
19 |
> |
main(suite(), args); |
20 |
|
} |
21 |
|
public static Test suite() { |
22 |
|
return new TestSuite(AbstractQueueTest.class); |
153 |
|
public void testAddAll3() { |
154 |
|
Succeed q = new Succeed(); |
155 |
|
Integer[] ints = new Integer[SIZE]; |
156 |
< |
for (int i = 0; i < SIZE-1; ++i) |
156 |
> |
for (int i = 0; i < SIZE - 1; ++i) |
157 |
|
ints[i] = new Integer(i); |
158 |
|
try { |
159 |
|
q.addAll(Arrays.asList(ints)); |