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

Comparing jsr166/src/test/tck/AtomicReferenceFieldUpdaterTest.java (file contents):
Revision 1.1 by dl, Sun Aug 31 19:24:53 2003 UTC vs.
Revision 1.2 by dl, Sun Sep 14 20:42:40 2003 UTC

# Line 9 | Line 9 | import java.util.concurrent.atomic.*;
9   import junit.framework.*;
10   import java.util.*;
11  
12 < public class AtomicReferenceFieldUpdaterTest extends TestCase{
12 > public class AtomicReferenceFieldUpdaterTest extends JSR166TestCase{
13      volatile Integer x = null;
14      Object z;
15      Integer w;
# Line 23 | Line 23 | public class AtomicReferenceFieldUpdater
23          return new TestSuite(AtomicReferenceFieldUpdaterTest.class);
24      }
25  
26    static final Integer zero = new Integer(0);
27    static final Integer one = new Integer(1);
28    static final Integer two = new Integer(2);
29    static final Integer m3  = new Integer(-3);
30    static final Integer m4 = new Integer(-4);
31    static final Integer m5 = new Integer(-5);
32    static final Integer seven = new Integer(7);
33    static final Integer m10 = new Integer(-10);
34
26      public void testConstructor(){
27          try{
28              AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines