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.2 by dl, Tue Mar 22 01:30:22 2005 UTC vs.
Revision 1.3 by dl, Sun May 22 10:56:03 2005 UTC

# Line 705 | Line 705 | public class ConcurrentSkipListMapTest e
705      }
706  
707      /**
708 +     * remove(x, null) returns false
709 +     */
710 +    public void testRemove3() {
711 +        try {
712 +            ConcurrentSkipListMap c = new ConcurrentSkipListMap();
713 +            c.put("sadsdf", "asdads");
714 +            assertFalse(c.remove("sadsdf", null));
715 +        } catch(NullPointerException e){
716 +            fail();
717 +        }
718 +    }
719 +
720 +    /**
721       * A deserialized map equals original
722       */
723      public void testSerialization() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines