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

Comparing jsr166/src/test/tck/ConcurrentSkipListMapTest.java (file contents):
Revision 1.28 by jsr166, Sat Nov 26 05:42:14 2011 UTC vs.
Revision 1.32 by jsr166, Thu May 30 03:28:55 2013 UTC

# Line 17 | Line 17 | public class ConcurrentSkipListMapTest e
17      }
18  
19      /**
20 <     * Create a map from Integers 1-5 to Strings "A"-"E".
20 >     * Returns a new map from Integers 1-5 to Strings "A"-"E".
21       */
22      private static ConcurrentSkipListMap map5() {
23          ConcurrentSkipListMap map = new ConcurrentSkipListMap();
# Line 42 | Line 42 | public class ConcurrentSkipListMapTest e
42      }
43  
44      /**
45 <     *
45 >     * copy constructor creates map equal to source map
46       */
47      public void testConstructFromSorted() {
48          ConcurrentSkipListMap map = map5();
# Line 795 | Line 795 | public class ConcurrentSkipListMapTest e
795          NavigableMap x = map5();
796          NavigableMap y = serialClone(x);
797  
798 <        assertTrue(x != y);
798 >        assertNotSame(x, y);
799          assertEquals(x.size(), y.size());
800          assertEquals(x.toString(), y.toString());
801          assertEquals(x, y);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines