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

Comparing jsr166/src/test/tck/AtomicMarkableReferenceTest.java (file contents):
Revision 1.13 by jsr166, Tue Dec 1 09:56:28 2009 UTC vs.
Revision 1.15 by jsr166, Sat Oct 9 19:30:34 2010 UTC

# Line 10 | Line 10 | import junit.framework.*;
10   import java.util.concurrent.atomic.*;
11  
12   public class AtomicMarkableReferenceTest extends JSR166TestCase {
13 <    public static void main (String[] args) {
14 <        junit.textui.TestRunner.run (suite());
13 >    public static void main(String[] args) {
14 >        junit.textui.TestRunner.run(suite());
15      }
16      public static Test suite() {
17          return new TestSuite(AtomicMarkableReferenceTest.class);
18      }
19  
20      /**
21 <     *  constructor initializes to given reference and mark
21 >     * constructor initializes to given reference and mark
22       */
23      public void testConstructor() {
24          AtomicMarkableReference ai = new AtomicMarkableReference(one, false);
# Line 30 | Line 30 | public class AtomicMarkableReferenceTest
30      }
31  
32      /**
33 <     *  get returns the last values of reference and mark set
33 >     * get returns the last values of reference and mark set
34       */
35      public void testGetSet() {
36          boolean[] mark = new boolean[1];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines