# | Line 15 | Line 15 | import junit.framework.TestSuite; | |
---|---|---|
15 | public class AtomicIntegerArrayTest extends JSR166TestCase { | |
16 | ||
17 | public static void main(String[] args) { | |
18 | < | junit.textui.TestRunner.run(suite()); |
18 | > | main(suite(), args); |
19 | } | |
20 | public static Test suite() { | |
21 | return new TestSuite(AtomicIntegerArrayTest.class); | |
# | Line 36 | Line 36 | public class AtomicIntegerArrayTest exte | |
36 | public void testConstructor2NPE() { | |
37 | try { | |
38 | int[] a = null; | |
39 | < | AtomicIntegerArray aa = new AtomicIntegerArray(a); |
39 | > | new AtomicIntegerArray(a); |
40 | shouldThrow(); | |
41 | } catch (NullPointerException success) {} | |
42 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |