diff --git a/src/test/org/apache/commons/collections/TestSequencedHashMap.java b/src/test/org/apache/commons/collections/TestSequencedHashMap.java index f9ae9ab4c..b48cbfa8a 100644 --- a/src/test/org/apache/commons/collections/TestSequencedHashMap.java +++ b/src/test/org/apache/commons/collections/TestSequencedHashMap.java @@ -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 Henning P. Schmiedehausen * @author James Strachan */ -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