You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/01/04 01:21:58 UTC
cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections/iterators AbstractTestListIterator.java
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