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

Comparing jsr166/src/test/tck/TreeMapTest.java (file contents):
Revision 1.24 by jsr166, Tue Feb 21 01:54:04 2012 UTC vs.
Revision 1.27 by jsr166, Thu May 30 03:28:55 2013 UTC

# Line 16 | Line 16 | public class TreeMapTest extends JSR166T
16      }
17  
18      /**
19 <     * Creates a map from Integers 1-5 to Strings "A"-"E".
19 >     * Returns a new map from Integers 1-5 to Strings "A"-"E".
20       */
21      private static TreeMap map5() {
22          TreeMap map = new TreeMap();
# Line 41 | Line 41 | public class TreeMapTest extends JSR166T
41      }
42  
43      /**
44 <     *
44 >     * copy constructor creates map equal to source map
45       */
46      public void testConstructFromSorted() {
47          TreeMap map = map5();
# Line 600 | Line 600 | public class TreeMapTest extends JSR166T
600          NavigableMap x = map5();
601          NavigableMap y = serialClone(x);
602  
603 <        assertTrue(x != y);
603 >        assertNotSame(x, y);
604          assertEquals(x.size(), y.size());
605          assertEquals(x.toString(), y.toString());
606          assertEquals(x, y);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines