diff --git a/src/test/org/apache/commons/collections/TestFastHashMap.java b/src/test/org/apache/commons/collections/TestFastHashMap.java index 8241ee6e0..8630e1e6e 100644 --- a/src/test/org/apache/commons/collections/TestFastHashMap.java +++ b/src/test/org/apache/commons/collections/TestFastHashMap.java @@ -1,7 +1,7 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestFastHashMap.java,v 1.3 2001/04/21 12:22:30 craigmcc Exp $ - * $Revision: 1.3 $ - * $Date: 2001/04/21 12:22:30 $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestFastHashMap.java,v 1.4 2002/02/26 00:31:32 morgand Exp $ + * $Revision: 1.4 $ + * $Date: 2002/02/26 00:31:32 $ * * ==================================================================== * @@ -69,7 +69,7 @@ import java.util.Map; /** * @author Jason van Zyl - * @version $Id: TestFastHashMap.java,v 1.3 2001/04/21 12:22:30 craigmcc Exp $ + * @version $Id: TestFastHashMap.java,v 1.4 2002/02/26 00:31:32 morgand Exp $ */ public class TestFastHashMap extends TestHashMap { @@ -89,7 +89,7 @@ public class TestFastHashMap extends TestHashMap junit.textui.TestRunner.main(testCaseName); } - public Map makeMap() { + public Map makeEmptyMap() { FastHashMap fhm = new FastHashMap(); fhm.setFast(false); return (fhm); @@ -97,7 +97,7 @@ public class TestFastHashMap extends TestHashMap public void setUp() { - map = (HashMap) makeMap(); + map = (HashMap) makeEmptyMap(); } } diff --git a/src/test/org/apache/commons/collections/TestFastTreeMap.java b/src/test/org/apache/commons/collections/TestFastTreeMap.java index 6d653f304..fc1629871 100644 --- a/src/test/org/apache/commons/collections/TestFastTreeMap.java +++ b/src/test/org/apache/commons/collections/TestFastTreeMap.java @@ -1,7 +1,7 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestFastTreeMap.java,v 1.4 2002/02/22 02:18:50 mas Exp $ - * $Revision: 1.4 $ - * $Date: 2002/02/22 02:18:50 $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestFastTreeMap.java,v 1.5 2002/02/26 00:31:32 morgand Exp $ + * $Revision: 1.5 $ + * $Date: 2002/02/26 00:31:32 $ * * ==================================================================== * @@ -69,7 +69,7 @@ import java.util.TreeMap; /** * @author Jason van Zyl - * @version $Id: TestFastTreeMap.java,v 1.4 2002/02/22 02:18:50 mas Exp $ + * @version $Id: TestFastTreeMap.java,v 1.5 2002/02/26 00:31:32 morgand Exp $ */ public class TestFastTreeMap extends TestTreeMap { @@ -89,7 +89,7 @@ public class TestFastTreeMap extends TestTreeMap junit.textui.TestRunner.main(testCaseName); } - public Map makeMap() { + public Map makeEmptyMap() { FastTreeMap ftm = new FastTreeMap(); ftm.setFast(false); return (ftm); @@ -104,7 +104,7 @@ public class TestFastTreeMap extends TestTreeMap public void setUp() { - map = (TreeMap) makeMap(); + map = (TreeMap) makeEmptyMap(); } } diff --git a/src/test/org/apache/commons/collections/TestHashMap.java b/src/test/org/apache/commons/collections/TestHashMap.java index a329f7694..30acdd284 100644 --- a/src/test/org/apache/commons/collections/TestHashMap.java +++ b/src/test/org/apache/commons/collections/TestHashMap.java @@ -1,7 +1,7 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestHashMap.java,v 1.5 2002/02/26 00:21:46 morgand Exp $ - * $Revision: 1.5 $ - * $Date: 2002/02/26 00:21:46 $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestHashMap.java,v 1.6 2002/02/26 00:31:32 morgand Exp $ + * $Revision: 1.6 $ + * $Date: 2002/02/26 00:31:32 $ * * ==================================================================== * @@ -69,7 +69,7 @@ import java.util.Map; /** * @author Jason van Zyl - * @version $Id: TestHashMap.java,v 1.5 2002/02/26 00:21:46 morgand Exp $ + * @version $Id: TestHashMap.java,v 1.6 2002/02/26 00:31:32 morgand Exp $ */ public abstract class TestHashMap extends TestMap { @@ -84,11 +84,6 @@ public abstract class TestHashMap extends TestMap junit.textui.TestRunner.main(testCaseName); } - public Map makeEmptyMap() { - HashMap hm = new HashMap(); - return (hm); - } - protected HashMap map = null; public void setUp() diff --git a/src/test/org/apache/commons/collections/TestSoftRefHashMap.java b/src/test/org/apache/commons/collections/TestSoftRefHashMap.java index bae4fa15e..818091fe0 100644 --- a/src/test/org/apache/commons/collections/TestSoftRefHashMap.java +++ b/src/test/org/apache/commons/collections/TestSoftRefHashMap.java @@ -1,7 +1,7 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestSoftRefHashMap.java,v 1.1 2001/05/06 11:10:36 jstrachan Exp $ - * $Revision: 1.1 $ - * $Date: 2001/05/06 11:10:36 $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestSoftRefHashMap.java,v 1.2 2002/02/26 00:31:32 morgand Exp $ + * $Revision: 1.2 $ + * $Date: 2002/02/26 00:31:32 $ * * ==================================================================== * @@ -69,7 +69,7 @@ import java.util.HashMap; /** * @author James Strachan - * @version $Id: TestSoftRefHashMap.java,v 1.1 2001/05/06 11:10:36 jstrachan Exp $ + * @version $Id: TestSoftRefHashMap.java,v 1.2 2002/02/26 00:31:32 morgand Exp $ */ public class TestSoftRefHashMap extends TestHashMap { @@ -86,13 +86,13 @@ public class TestSoftRefHashMap extends TestHashMap junit.textui.TestRunner.main(testCaseName); } - public Map makeMap() { + public Map makeEmptyMap() { SoftRefHashMap map = new SoftRefHashMap(); return map; } public void setUp() { - map = (HashMap) makeMap(); + map = (HashMap) makeEmptyMap(); } } diff --git a/src/test/org/apache/commons/collections/TestTreeMap.java b/src/test/org/apache/commons/collections/TestTreeMap.java index e6b7449f9..a646e7a11 100644 --- a/src/test/org/apache/commons/collections/TestTreeMap.java +++ b/src/test/org/apache/commons/collections/TestTreeMap.java @@ -1,7 +1,7 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestTreeMap.java,v 1.4 2002/02/26 00:21:46 morgand Exp $ - * $Revision: 1.4 $ - * $Date: 2002/02/26 00:21:46 $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestTreeMap.java,v 1.5 2002/02/26 00:31:32 morgand Exp $ + * $Revision: 1.5 $ + * $Date: 2002/02/26 00:31:32 $ * * ==================================================================== * @@ -69,7 +69,7 @@ import java.util.Map; /** * @author Jason van Zyl - * @version $Id: TestTreeMap.java,v 1.4 2002/02/26 00:21:46 morgand Exp $ + * @version $Id: TestTreeMap.java,v 1.5 2002/02/26 00:31:32 morgand Exp $ */ public abstract class TestTreeMap extends TestMap { @@ -84,11 +84,6 @@ public abstract class TestTreeMap extends TestMap junit.textui.TestRunner.main(testCaseName); } - public Map makeEmptyMap() { - TreeMap tm = new TreeMap(); - return (tm); - } - public boolean useNullKey() { return false; }