changed superclass from TestHashMap to TestMap, in anticipation

of making SequencedHashMap a subclass of AbstractMap


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130541 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Morgan James Delagrange 2002-02-20 22:17:18 +00:00
parent ce5559b6d4
commit e4a9a024e7
1 changed files with 2 additions and 3 deletions

View File

@ -55,7 +55,6 @@ package org.apache.commons.collections;
*/
import java.util.Iterator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@ -74,7 +73,7 @@ import junit.framework.TestSuite;
* @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a>
* @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
*/
public class TestSequencedHashMap extends TestHashMap
public class TestSequencedHashMap extends TestMap
{
/**
* The instance to experiment on.
@ -94,7 +93,7 @@ public class TestSequencedHashMap extends TestHashMap
junit.textui.TestRunner.main(testCaseName);
}
public void setUp() {
public void setUp() throws Exception {
super.setUp();
// use makeMap and cast the result to a SeqHashMap
// so that subclasses of SeqHashMap can share these tests