16 |
|
|
17 |
|
public class ConcurrentSkipListSubSetTest 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(ConcurrentSkipListSubSetTest.class); |
167 |
|
try { |
168 |
|
q.add(new Object()); |
169 |
|
q.add(new Object()); |
170 |
– |
q.add(new Object()); |
170 |
|
shouldThrow(); |
171 |
|
} catch (ClassCastException success) {} |
172 |
|
} |
663 |
|
try { |
664 |
|
q.add(new Object()); |
665 |
|
q.add(new Object()); |
667 |
– |
q.add(new Object()); |
666 |
|
shouldThrow(); |
667 |
|
} catch (ClassCastException success) {} |
668 |
|
} |