ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/AtomicIntegerArrayTest.java
(Generate patch)

Comparing jsr166/src/test/tck/AtomicIntegerArrayTest.java (file contents):
Revision 1.31 by jsr166, Sun Feb 22 04:34:44 2015 UTC vs.
Revision 1.36 by jsr166, Fri Jun 17 19:00:48 2016 UTC

# 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 286 | Line 286 | public class AtomicIntegerArrayTest exte
286                      assertTrue(v >= 0);
287                      if (v != 0) {
288                          done = false;
289 <                        if (aa.compareAndSet(i, v, v-1))
289 >                        if (aa.compareAndSet(i, v, v - 1))
290                              ++counts;
291                      }
292                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines