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

Comparing jsr166/src/test/tck/ConcurrentSkipListSubMapTest.java (file contents):
Revision 1.19 by jsr166, Tue May 31 16:16:23 2011 UTC vs.
Revision 1.21 by jsr166, Tue Feb 21 01:54:04 2012 UTC

# Line 18 | Line 18 | public class ConcurrentSkipListSubMapTes
18      }
19  
20      /**
21 <     * Create a map from Integers 1-5 to Strings "A"-"E".
21 >     * Creates a map from Integers 1-5 to Strings "A"-"E".
22       */
23      private static ConcurrentNavigableMap map5() {
24          ConcurrentSkipListMap map = new ConcurrentSkipListMap();
# Line 36 | Line 36 | public class ConcurrentSkipListSubMapTes
36      }
37  
38      /**
39 <     * Create a map from Integers -5 to -1 to Strings "A"-"E".
39 >     * Creates a map from Integers -5 to -1 to Strings "A"-"E".
40       */
41      private static ConcurrentNavigableMap dmap5() {
42          ConcurrentSkipListMap map = new ConcurrentSkipListMap();
# Line 69 | Line 69 | public class ConcurrentSkipListSubMapTes
69      public void testClear() {
70          ConcurrentNavigableMap map = map5();
71          map.clear();
72 <        assertEquals(map.size(), 0);
72 >        assertEquals(0, map.size());
73      }
74  
75      /**
# Line 743 | Line 743 | public class ConcurrentSkipListSubMapTes
743      public void testDescendingClear() {
744          ConcurrentNavigableMap map = dmap5();
745          map.clear();
746 <        assertEquals(map.size(), 0);
746 >        assertEquals(0, map.size());
747      }
748  
749      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines