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

Comparing jsr166/src/test/tck/ConcurrentHashMap8Test.java (file contents):
Revision 1.27 by jsr166, Fri Feb 27 22:15:28 2015 UTC vs.
Revision 1.29 by jsr166, Sun May 24 01:23:17 2015 UTC

# Line 26 | Line 26 | import junit.framework.TestSuite;
26  
27   public class ConcurrentHashMap8Test extends JSR166TestCase {
28      public static void main(String[] args) {
29 <        junit.textui.TestRunner.run(suite());
29 >        main(suite(), args);
30      }
31      public static Test suite() {
32          return new TestSuite(ConcurrentHashMap8Test.class);
# Line 516 | Line 516 | public class ConcurrentHashMap8Test exte
516          a = new Integer[0];
517          assertSame(a, empty.toArray(a));
518  
519 <        a = new Integer[size/2];
519 >        a = new Integer[size / 2];
520          Arrays.fill(a, 42);
521          assertSame(a, empty.toArray(a));
522          assertNull(a[0]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines