# | 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 285 | Line 285 | public class AtomicLongArrayTest extends | |
285 | assertTrue(v >= 0); | |
286 | if (v != 0) { | |
287 | done = false; | |
288 | < | if (aa.compareAndSet(i, v, v-1)) |
288 | > | if (aa.compareAndSet(i, v, v - 1)) |
289 | ++counts; | |
290 | } | |
291 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |