made test classes that verify JDK contracts abstract, so that we will

not have to verify their serialization


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130586 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Morgan James Delagrange 2002-02-26 00:21:46 +00:00
parent e01b230f25
commit fa381f7937
2 changed files with 10 additions and 36 deletions

View File

@ -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.4 2002/02/22 22:01:48 morgand Exp $
* $Revision: 1.4 $
* $Date: 2002/02/22 22:01:48 $
* $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 $
*
* ====================================================================
*
@ -69,20 +69,15 @@ import java.util.Map;
/**
* @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
* @version $Id: TestHashMap.java,v 1.4 2002/02/22 22:01:48 morgand Exp $
* @version $Id: TestHashMap.java,v 1.5 2002/02/26 00:21:46 morgand Exp $
*/
public class TestHashMap extends TestMap
public abstract class TestHashMap extends TestMap
{
public TestHashMap(String testName)
{
super(testName);
}
public static Test suite()
{
return new TestSuite(TestHashMap.class);
}
public static void main(String args[])
{
String[] testCaseName = { TestHashMap.class.getName() };
@ -115,20 +110,4 @@ public class TestHashMap extends TestMap
assertEquals("Next Item is 'First Item'", map.get("second"), "Second Item");
}
/**
* We don't need to test compatibility for JVM collections. Override in
* subclasses.
*/
public void testEmptyMapCompatibility() {
}
/**
* We don't need to test compatibility for JVM collections. Override in
* subclasses.
*/
public void testFullMapCompatibility() {
}
}

View File

@ -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.3 2002/02/22 02:18:50 mas Exp $
* $Revision: 1.3 $
* $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/TestTreeMap.java,v 1.4 2002/02/26 00:21:46 morgand Exp $
* $Revision: 1.4 $
* $Date: 2002/02/26 00:21:46 $
*
* ====================================================================
*
@ -69,20 +69,15 @@ import java.util.Map;
/**
* @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
* @version $Id: TestTreeMap.java,v 1.3 2002/02/22 02:18:50 mas Exp $
* @version $Id: TestTreeMap.java,v 1.4 2002/02/26 00:21:46 morgand Exp $
*/
public class TestTreeMap extends TestMap
public abstract class TestTreeMap extends TestMap
{
public TestTreeMap(String testName)
{
super(testName);
}
public static Test suite()
{
return new TestSuite(TestTreeMap.class);
}
public static void main(String args[])
{
String[] testCaseName = { TestTreeMap.class.getName() };