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

Comparing jsr166/src/test/tck/AtomicReferenceArrayTest.java (file contents):
Revision 1.17 by jsr166, Tue Dec 1 09:56:28 2009 UTC vs.
Revision 1.20 by jsr166, Fri May 27 19:39:07 2011 UTC

# Line 1 | Line 1
1   /*
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
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   * Other contributors include Andrew Wright, Jeffrey Hayes,
6   * Pat Fisher, Mike Judd.
7   */
# Line 12 | Line 12 | import java.io.*;
12   import java.util.*;
13  
14   public class AtomicReferenceArrayTest extends JSR166TestCase {
15 <    public static void main (String[] args) {
16 <        junit.textui.TestRunner.run (suite());
15 >    public static void main(String[] args) {
16 >        junit.textui.TestRunner.run(suite());
17      }
18      public static Test suite() {
19          return new TestSuite(AtomicReferenceArrayTest.class);
# Line 51 | Line 51 | public class AtomicReferenceArrayTest ex
51              assertEquals(a[i], ai.get(i));
52      }
53  
54
54      /**
55       * get and set for out of bound indices throw IndexOutOfBoundsException
56       */
# Line 198 | Line 197 | public class AtomicReferenceArrayTest ex
197          }
198      }
199  
201
200      /**
201       * toString returns current value.
202       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines