commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections/iterators AbstractTestListIterator.java
Date Sun, 04 Jan 2004 00:21:58 GMT
scolebourne    2004/01/03 16:21:58

  Modified:    collections/src/test/org/apache/commons/collections/iterators
                        AbstractTestListIterator.java
  Log:
  Weaken tests as needed by [primitives]
  
  Revision  Changes    Path
  1.6       +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/AbstractTestListIterator.java
  
  Index: AbstractTestListIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/iterators/AbstractTestListIterator.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AbstractTestListIterator.java	24 Dec 2003 01:12:55 -0000	1.5
  +++ AbstractTestListIterator.java	4 Jan 2004 00:21:58 -0000	1.6
  @@ -4,7 +4,7 @@
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
  + * Copyright (c) 2001-2004 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -235,7 +235,7 @@
           // add at start should be OK, added should be previous
           it = makeFullListIterator();
           it.add(addValue);
  -        assertSame(addValue, it.previous());
  +        assertEquals(addValue, it.previous());
   
           // add at start should be OK, added should not be next
           it = makeFullListIterator();
  @@ -248,7 +248,7 @@
               it.next();
               it.add(addValue);
               // check add OK
  -            assertSame(addValue, it.previous());
  +            assertEquals(addValue, it.previous());
               it.next();
           }        
       }
  
  
  

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


Mime
View raw message