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