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

Comparing jsr166/src/test/tck/Atomic8Test.java (file contents):
Revision 1.3 by jsr166, Wed Dec 31 19:05:42 2014 UTC vs.
Revision 1.5 by jsr166, Sat Apr 25 04:55:30 2015 UTC

# Line 21 | Line 21 | import junit.framework.TestSuite;
21   public class Atomic8Test extends JSR166TestCase {
22  
23      public static void main(String[] args) {
24 <        junit.textui.TestRunner.run(suite());
24 >        main(suite(), args);
25      }
26      public static Test suite() {
27          return new TestSuite(Atomic8Test.class);
# Line 191 | Line 191 | public class Atomic8Test extends JSR166T
191          assertEquals(new Integer(10), a.get());
192      }
193  
194
194      /**
195       * AtomicLongArray getAndUpdate returns previous value and updates
196       * result of supplied function
# Line 437 | Line 436 | public class Atomic8Test extends JSR166T
436          assertEquals(10, anIntField);
437      }
438  
440
439      /**
440       * AtomicReferenceFieldUpdater getAndUpdate returns previous value
441       * and updates result of supplied function

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines