You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2008/03/17 22:52:23 UTC
svn commit: r638079 -
/commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java
Author: sebb
Date: Mon Mar 17 14:52:21 2008
New Revision: 638079
URL: http://svn.apache.org/viewvc?rev=638079&view=rev
Log:
Need to use an OrderedMap in order to guarantee ordering for this test ;-)
Modified:
commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java
Modified: commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java?rev=638079&r1=638078&r2=638079&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java (original)
+++ commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestListOrderedMap.java Mon Mar 17 14:52:21 2008
@@ -312,7 +312,7 @@
assertEquals("testInsert2v", lom.getValue(2));
// Create New Test Map and Add using putAll(int, Object, Object)
- Map values = new HashMap();
+ Map values = new ListOrderedMap();
values.put("NewInsert0", "NewInsert0v");
values.put("NewInsert1", "NewInsert1v");
lom.putAll(1, values);