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

Comparing jsr166/src/test/tck/ThreadLocalTest.java (file contents):
Revision 1.1 by dl, Sun Aug 31 19:24:56 2003 UTC vs.
Revision 1.4 by dl, Sat Dec 27 19:26:44 2003 UTC

# Line 1 | Line 1
1   /*
2 < * Written by members of JCP JSR-166 Expert Group and released to the
3 < * public domain. Use, modify, and redistribute this code in any way
4 < * without acknowledgement. Other contributors include Andrew Wright,
5 < * Jeffrey Hayes, Pat Fischer, Mike Judd.
2 > * Written by Doug Lea with assistance from members of JCP JSR-166
3 > * Expert Group and released to the public domain, as explained at
4 > * http://creativecommons.org/licenses/publicdomain
5 > * Other contributors include Andrew Wright, Jeffrey Hayes,
6 > * Pat Fisher, Mike Judd.
7   */
8  
9   import junit.framework.*;
10   import java.util.concurrent.Semaphore;
11  
12 < public class ThreadLocalTest extends TestCase {
12 > public class ThreadLocalTest extends JSR166TestCase {
13      public static void main(String[] args) {
14          junit.textui.TestRunner.run(suite());  
15      }
# Line 24 | Line 25 | public class ThreadLocalTest extends Tes
25          };
26  
27      
28 +    /**
29 +     * remove causes next access to return initial value
30 +     */
31      public void testRemove() {
32          Integer one = new Integer(1);
33          Integer two = new Integer(2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines