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

Comparing jsr166/src/test/tck/ConcurrentHashMapTest.java (file contents):
Revision 1.3 by dl, Sun Sep 14 20:42:40 2003 UTC vs.
Revision 1.4 by dl, Sat Sep 20 00:31:57 2003 UTC

# Line 69 | Line 69 | public class ConcurrentHashMapTest exten
69      }
70  
71      /**
72 <     *  tes to verify enumeration returns an enumeration containing the correct elements
72 >     *   enumeration returns an enumeration containing the correct
73 >     *   elements
74       */
75      public void testEnumeration(){
76          ConcurrentHashMap map = map5();
# Line 83 | Line 84 | public class ConcurrentHashMapTest exten
84      }
85  
86      /**
87 +     *   Clone creates an equal map
88 +     */
89 +    public void testClone(){
90 +        ConcurrentHashMap map = map5();
91 +        ConcurrentHashMap m2 = (ConcurrentHashMap)(map.clone());
92 +        assertEquals(map, m2);
93 +    }
94 +
95 +    /**
96       *   get returns the correct element at the given index
97       */
98      public void testGet(){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines