commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morg...@apache.org
Subject cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestMap.java
Date Fri, 15 Feb 2002 20:48:18 GMT
morgand     02/02/15 12:48:18

  Modified:    collections/src/test/org/apache/commons/collections
                        TestMap.java
  Log:
  Undo.  Put is an optional operation for a Map.
  
  Revision  Changes    Path
  1.3       +4 -16     jakarta-commons/collections/src/test/org/apache/commons/collections/TestMap.java
  
  Index: TestMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestMap.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestMap.java	15 Feb 2002 20:40:14 -0000	1.2
  +++ TestMap.java	15 Feb 2002 20:48:18 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestMap.java,v
1.2 2002/02/15 20:40:14 morgand Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/02/15 20:40:14 $
  + * $Header: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestMap.java,v
1.3 2002/02/15 20:48:18 morgand Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/02/15 20:48:18 $
    *
    * ====================================================================
    *
  @@ -76,7 +76,7 @@
    * test case (method) your {@link Map} fails.
    *
    * @author Rodney Waldhoff
  - * @version $Id: TestMap.java,v 1.2 2002/02/15 20:40:14 morgand Exp $
  + * @version $Id: TestMap.java,v 1.3 2002/02/15 20:48:18 morgand Exp $
    */
   public abstract class TestMap extends TestObject {
       public TestMap(String testName) {
  @@ -90,18 +90,6 @@
   
       public Object makeObject() {
           return makeMap();
  -    }
  -
  -    public void testMapSupportsNullValues() {
  -        Map map = makeMap();
  -        map.put(new Integer(1),"foo");
  -        
  -        assertTrue("no null values in Map",map.containsValue(null) == false);
  -
  -        map.put(new Integer(2),null);
  -
  -        assertTrue("null value in Map",map.containsValue(null));
  -        assertTrue("key to a null value",map.containsKey(new Integer(2)));
       }
   
       /*
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message