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

Comparing jsr166/src/test/tck/StampedLockTest.java (file contents):
Revision 1.1 by jsr166, Fri Feb 1 19:07:36 2013 UTC vs.
Revision 1.3 by jsr166, Sat Feb 9 19:33:08 2013 UTC

# Line 11 | Line 11 | import junit.framework.*;
11   import java.util.concurrent.atomic.AtomicBoolean;
12   import java.util.concurrent.locks.Condition;
13   import java.util.concurrent.locks.Lock;
14 < import java.util.concurrent.locks.ReentrantReadWriteLock;
14 > import java.util.concurrent.locks.ReadWriteLock;
15 > import java.util.concurrent.locks.StampedLock;
16   import java.util.concurrent.CountDownLatch;
17   import static java.util.concurrent.TimeUnit.MILLISECONDS;
18   import java.util.*;
# Line 25 | Line 26 | public class StampedLockTest extends JSR
26      }
27  
28      // XXXX Just a skeleton implementation for now.
29 <    public void testTODO() { fail("StampedLockTest needs help"); }
30 <    
29 >    public void testTODO() {
30 >        fail("Please add some real tests!");
31 >    }
32 >
33 >    public void testConstructor() { new StampedLock(); }
34 >
35   //     /**
36   //      * A runnable calling lockInterruptibly
37   //      */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines