Renamed ignoredSimpleTests to ignoredTests in BulkTest

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131240 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2003-10-05 20:48:59 +00:00
parent 74d9449387
commit b1328e6ce5
18 changed files with 69 additions and 66 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/BulkTest.java,v 1.5 2003/10/02 22:14:29 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/BulkTest.java,v 1.6 2003/10/05 20:48:29 scolebourne Exp $
* ==================================================================== * ====================================================================
* *
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
@ -167,7 +167,7 @@ import junit.framework.TestSuite;
* A subclass can override a superclass's bulk test by * A subclass can override a superclass's bulk test by
* returning <code>null</code> from the bulk test method. If you only * returning <code>null</code> from the bulk test method. If you only
* want to override specific simple tests within a bulk test, use the * want to override specific simple tests within a bulk test, use the
* {@link #ignoredSimpleTests} method.<P> * {@link #ignoredTests} method.<P>
* *
* Note that if you want to use the bulk test methods, you <I>must</I> * Note that if you want to use the bulk test methods, you <I>must</I>
* define your <code>suite()</code> method to use {@link #makeSuite}. * define your <code>suite()</code> method to use {@link #makeSuite}.
@ -175,7 +175,7 @@ import junit.framework.TestSuite;
* interpret bulk test methods. * interpret bulk test methods.
* *
* @author Paul Jack * @author Paul Jack
* @version $Id: BulkTest.java,v 1.5 2003/10/02 22:14:29 scolebourne Exp $ * @version $Id: BulkTest.java,v 1.6 2003/10/05 20:48:29 scolebourne Exp $
*/ */
public class BulkTest extends TestCase implements Cloneable { public class BulkTest extends TestCase implements Cloneable {
@ -191,7 +191,7 @@ public class BulkTest extends TestCase implements Cloneable {
/** /**
* The full name of this bulk test instance. This is the full name * The full name of this bulk test instance. This is the full name
* that is compared to {@link #ignoredSimpleTests} to see if this * that is compared to {@link #ignoredTests} to see if this
* test should be ignored. It's also displayed in the text runner * test should be ignored. It's also displayed in the text runner
* to ease debugging. * to ease debugging.
*/ */
@ -225,39 +225,39 @@ public class BulkTest extends TestCase implements Cloneable {
/** /**
* Returns an array of simple test names to ignore.<P> * Returns an array of test names to ignore.<P>
* *
* If a simple test that's defined by this <code>BulkTest</code> or * If a test that's defined by this <code>BulkTest</code> or
* by one of its bulk test methods has a name that's in the returned * by one of its bulk test methods has a name that's in the returned
* array, then that simple test will not be executed.<P> * array, then that simple test will not be executed.<P>
* *
* A simple test's name is formed by taking the class name of the * A test's name is formed by taking the class name of the
* root <code>BulkTest</code>, eliminating the package name, then * root <code>BulkTest</code>, eliminating the package name, then
* appending the names of any bulk test methods that were invoked * appending the names of any bulk test methods that were invoked
* to get to the simple test, and then appending the simple test * to get to the simple test, and then appending the simple test
* method name. The method names are delimited by periods: * method name. The method names are delimited by periods:
* *
* <Pre> * <pre>
* TestHashMap.bulkTestEntrySet.testClear * TestHashMap.bulkTestEntrySet.testClear
* </Pre> * </pre>
* *
* is the name of one of the simple tests defined in the sample classes * is the name of one of the simple tests defined in the sample classes
* described above. If the sample <code>TestHashMap</code> class * described above. If the sample <code>TestHashMap</code> class
* included this method: * included this method:
* *
* <Pre> * <pre>
* public String[] ignoredSimpleTests() { * public String[] ignoredTests() {
* return new String[] { "TestHashMap.bulkTestEntrySet.testClear" }; * return new String[] { "TestHashMap.bulkTestEntrySet.testClear" };
* } * }
* </Pre> * </pre>
* *
* then the entry set's clear method wouldn't be tested, but the key * then the entry set's clear method wouldn't be tested, but the key
* set's clear method would. * set's clear method would.
* *
* @return an array of the names of simple tests to ignore, or null if * @return an array of the names of tests to ignore, or null if
* no tests should be ignored * no tests should be ignored
*/ */
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
return null; return null;
} }
@ -341,7 +341,7 @@ class BulkTestSuiteMaker {
BulkTest bulk = makeFirstTestCase(startingClass); BulkTest bulk = makeFirstTestCase(startingClass);
ignored = new ArrayList(); ignored = new ArrayList();
String[] s = bulk.ignoredSimpleTests(); String[] s = bulk.ignoredTests();
if (s != null) { if (s != null) {
ignored.addAll(Arrays.asList(s)); ignored.addAll(Arrays.asList(s));
} }
@ -391,6 +391,9 @@ class BulkTestSuiteMaker {
* @param m The bulk test method * @param m The bulk test method
*/ */
void addBulk(BulkTest bulk, Method m) { void addBulk(BulkTest bulk, Method m) {
String verboseName = prefix + "." + m.getName();
if (ignored.contains(verboseName)) return;
BulkTest bulk2; BulkTest bulk2;
try { try {
bulk2 = (BulkTest)m.invoke(bulk, null); bulk2 = (BulkTest)m.invoke(bulk, null);

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayByteList.java,v 1.4 2003/08/31 17:28:40 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayByteList.java,v 1.5 2003/10/05 20:48:59 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest; import org.apache.commons.collections.BulkTest;
/** /**
* @version $Revision: 1.4 $ $Date: 2003/08/31 17:28:40 $ * @version $Revision: 1.5 $ $Date: 2003/10/05 20:48:59 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestArrayByteList extends TestByteList { public class TestArrayByteList extends TestByteList {
@ -87,7 +87,7 @@ public class TestArrayByteList extends TestByteList {
return new ArrayByteList(); return new ArrayByteList();
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestArrayByteList.bulkTestSubList.testFullListSerialization", "TestArrayByteList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayCharList.java,v 1.3 2003/08/31 17:28:41 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayCharList.java,v 1.4 2003/10/05 20:48:59 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest; import org.apache.commons.collections.BulkTest;
/** /**
* @version $Revision: 1.3 $ $Date: 2003/08/31 17:28:41 $ * @version $Revision: 1.4 $ $Date: 2003/10/05 20:48:59 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestArrayCharList extends TestCharList { public class TestArrayCharList extends TestCharList {
@ -87,7 +87,7 @@ public class TestArrayCharList extends TestCharList {
return new ArrayCharList(); return new ArrayCharList();
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestArrayCharList.bulkTestSubList.testFullListSerialization", "TestArrayCharList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayDoubleList.java,v 1.3 2003/08/31 17:28:41 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayDoubleList.java,v 1.4 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest; import org.apache.commons.collections.BulkTest;
/** /**
* @version $Revision: 1.3 $ $Date: 2003/08/31 17:28:41 $ * @version $Revision: 1.4 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestArrayDoubleList extends TestDoubleList { public class TestArrayDoubleList extends TestDoubleList {
@ -87,7 +87,7 @@ public class TestArrayDoubleList extends TestDoubleList {
return new ArrayDoubleList(); return new ArrayDoubleList();
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestArrayDoubleList.bulkTestSubList.testFullListSerialization", "TestArrayDoubleList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayFloatList.java,v 1.3 2003/08/31 17:28:40 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayFloatList.java,v 1.4 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest; import org.apache.commons.collections.BulkTest;
/** /**
* @version $Revision: 1.3 $ $Date: 2003/08/31 17:28:40 $ * @version $Revision: 1.4 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestArrayFloatList extends TestFloatList { public class TestArrayFloatList extends TestFloatList {
@ -87,7 +87,7 @@ public class TestArrayFloatList extends TestFloatList {
return new ArrayFloatList(); return new ArrayFloatList();
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestArrayFloatList.bulkTestSubList.testFullListSerialization", "TestArrayFloatList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayIntList.java,v 1.13 2003/08/31 17:28:40 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayIntList.java,v 1.14 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest; import org.apache.commons.collections.BulkTest;
/** /**
* @version $Revision: 1.13 $ $Date: 2003/08/31 17:28:40 $ * @version $Revision: 1.14 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestArrayIntList extends TestIntList { public class TestArrayIntList extends TestIntList {
@ -87,7 +87,7 @@ public class TestArrayIntList extends TestIntList {
return new ArrayIntList(); return new ArrayIntList();
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestArrayIntList.bulkTestSubList.testFullListSerialization", "TestArrayIntList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayLongList.java,v 1.3 2003/08/31 17:28:40 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayLongList.java,v 1.4 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest; import org.apache.commons.collections.BulkTest;
/** /**
* @version $Revision: 1.3 $ $Date: 2003/08/31 17:28:40 $ * @version $Revision: 1.4 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestArrayLongList extends TestLongList { public class TestArrayLongList extends TestLongList {
@ -87,7 +87,7 @@ public class TestArrayLongList extends TestLongList {
return new ArrayLongList(); return new ArrayLongList();
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestArrayLongList.bulkTestSubList.testFullListSerialization", "TestArrayLongList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayShortList.java,v 1.3 2003/08/31 17:28:41 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayShortList.java,v 1.4 2003/10/05 20:48:59 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest; import org.apache.commons.collections.BulkTest;
/** /**
* @version $Revision: 1.3 $ $Date: 2003/08/31 17:28:41 $ * @version $Revision: 1.4 $ $Date: 2003/10/05 20:48:59 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestArrayShortList extends TestShortList { public class TestArrayShortList extends TestShortList {
@ -87,7 +87,7 @@ public class TestArrayShortList extends TestShortList {
return new ArrayShortList(); return new ArrayShortList();
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestArrayShortList.bulkTestSubList.testFullListSerialization", "TestArrayShortList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayUnsignedByteList.java,v 1.3 2003/08/31 17:28:40 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayUnsignedByteList.java,v 1.4 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest; import org.apache.commons.collections.BulkTest;
/** /**
* @version $Revision: 1.3 $ $Date: 2003/08/31 17:28:40 $ * @version $Revision: 1.4 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestArrayUnsignedByteList extends TestShortList { public class TestArrayUnsignedByteList extends TestShortList {
@ -87,7 +87,7 @@ public class TestArrayUnsignedByteList extends TestShortList {
return new ArrayUnsignedByteList(); return new ArrayUnsignedByteList();
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestArrayUnsignedByteList.bulkTestSubList.testFullListSerialization", "TestArrayUnsignedByteList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayUnsignedIntList.java,v 1.3 2003/08/31 17:28:40 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayUnsignedIntList.java,v 1.4 2003/10/05 20:48:59 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest; import org.apache.commons.collections.BulkTest;
/** /**
* @version $Revision: 1.3 $ $Date: 2003/08/31 17:28:40 $ * @version $Revision: 1.4 $ $Date: 2003/10/05 20:48:59 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestArrayUnsignedIntList extends TestLongList { public class TestArrayUnsignedIntList extends TestLongList {
@ -87,7 +87,7 @@ public class TestArrayUnsignedIntList extends TestLongList {
return new ArrayUnsignedIntList(); return new ArrayUnsignedIntList();
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestArrayUnsignedLongList.bulkTestSubList.testFullListSerialization", "TestArrayUnsignedLongList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayUnsignedShortList.java,v 1.13 2003/08/31 17:28:41 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/Attic/TestArrayUnsignedShortList.java,v 1.14 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -63,7 +63,7 @@ import junit.framework.TestSuite;
import org.apache.commons.collections.BulkTest; import org.apache.commons.collections.BulkTest;
/** /**
* @version $Revision: 1.13 $ $Date: 2003/08/31 17:28:41 $ * @version $Revision: 1.14 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestArrayUnsignedShortList extends TestIntList { public class TestArrayUnsignedShortList extends TestIntList {
@ -87,7 +87,7 @@ public class TestArrayUnsignedShortList extends TestIntList {
return new ArrayUnsignedShortList(); return new ArrayUnsignedShortList();
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestArrayUnsignedShortList.bulkTestSubList.testFullListSerialization", "TestArrayUnsignedShortList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListByteList.java,v 1.2 2003/08/31 17:28:38 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListByteList.java,v 1.3 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -69,7 +69,7 @@ import org.apache.commons.collections.primitives.ByteList;
import org.apache.commons.collections.primitives.TestByteList; import org.apache.commons.collections.primitives.TestByteList;
/** /**
* @version $Revision: 1.2 $ $Date: 2003/08/31 17:28:38 $ * @version $Revision: 1.3 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestListByteList extends TestByteList { public class TestListByteList extends TestByteList {
@ -96,7 +96,7 @@ public class TestListByteList extends TestByteList {
return new ListByteList(new ArrayList()); return new ListByteList(new ArrayList());
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestListByteList.bulkTestSubList.testFullListSerialization", "TestListByteList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListCharList.java,v 1.2 2003/08/31 17:28:38 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListCharList.java,v 1.3 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -69,7 +69,7 @@ import org.apache.commons.collections.primitives.CharList;
import org.apache.commons.collections.primitives.TestCharList; import org.apache.commons.collections.primitives.TestCharList;
/** /**
* @version $Revision: 1.2 $ $Date: 2003/08/31 17:28:38 $ * @version $Revision: 1.3 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestListCharList extends TestCharList { public class TestListCharList extends TestCharList {
@ -96,7 +96,7 @@ public class TestListCharList extends TestCharList {
return new ListCharList(new ArrayList()); return new ListCharList(new ArrayList());
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestListCharList.bulkTestSubList.testFullListSerialization", "TestListCharList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListDoubleList.java,v 1.2 2003/08/31 17:28:38 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListDoubleList.java,v 1.3 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -69,7 +69,7 @@ import org.apache.commons.collections.primitives.DoubleList;
import org.apache.commons.collections.primitives.TestDoubleList; import org.apache.commons.collections.primitives.TestDoubleList;
/** /**
* @version $Revision: 1.2 $ $Date: 2003/08/31 17:28:38 $ * @version $Revision: 1.3 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestListDoubleList extends TestDoubleList { public class TestListDoubleList extends TestDoubleList {
@ -96,7 +96,7 @@ public class TestListDoubleList extends TestDoubleList {
return new ListDoubleList(new ArrayList()); return new ListDoubleList(new ArrayList());
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestListDoubleList.bulkTestSubList.testFullListSerialization", "TestListDoubleList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListFloatList.java,v 1.2 2003/08/31 17:28:38 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListFloatList.java,v 1.3 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -69,7 +69,7 @@ import org.apache.commons.collections.primitives.FloatList;
import org.apache.commons.collections.primitives.TestFloatList; import org.apache.commons.collections.primitives.TestFloatList;
/** /**
* @version $Revision: 1.2 $ $Date: 2003/08/31 17:28:38 $ * @version $Revision: 1.3 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestListFloatList extends TestFloatList { public class TestListFloatList extends TestFloatList {
@ -96,7 +96,7 @@ public class TestListFloatList extends TestFloatList {
return new ListFloatList(new ArrayList()); return new ListFloatList(new ArrayList());
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestListFloatList.bulkTestSubList.testFullListSerialization", "TestListFloatList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListIntList.java,v 1.5 2003/08/31 17:28:38 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListIntList.java,v 1.6 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -69,7 +69,7 @@ import org.apache.commons.collections.primitives.IntList;
import org.apache.commons.collections.primitives.TestIntList; import org.apache.commons.collections.primitives.TestIntList;
/** /**
* @version $Revision: 1.5 $ $Date: 2003/08/31 17:28:38 $ * @version $Revision: 1.6 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestListIntList extends TestIntList { public class TestListIntList extends TestIntList {
@ -96,7 +96,7 @@ public class TestListIntList extends TestIntList {
return new ListIntList(new ArrayList()); return new ListIntList(new ArrayList());
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestListIntList.bulkTestSubList.testFullListSerialization", "TestListIntList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListLongList.java,v 1.2 2003/08/31 17:28:38 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListLongList.java,v 1.3 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -69,7 +69,7 @@ import org.apache.commons.collections.primitives.LongList;
import org.apache.commons.collections.primitives.TestLongList; import org.apache.commons.collections.primitives.TestLongList;
/** /**
* @version $Revision: 1.2 $ $Date: 2003/08/31 17:28:38 $ * @version $Revision: 1.3 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestListLongList extends TestLongList { public class TestListLongList extends TestLongList {
@ -96,7 +96,7 @@ public class TestListLongList extends TestLongList {
return new ListLongList(new ArrayList()); return new ListLongList(new ArrayList());
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestListLongList.bulkTestSubList.testFullListSerialization", "TestListLongList.bulkTestSubList.testFullListSerialization",

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListShortList.java,v 1.2 2003/08/31 17:28:38 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/primitives/adapters/Attic/TestListShortList.java,v 1.3 2003/10/05 20:48:58 scolebourne Exp $
* ==================================================================== * ====================================================================
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
@ -69,7 +69,7 @@ import org.apache.commons.collections.primitives.ShortList;
import org.apache.commons.collections.primitives.TestShortList; import org.apache.commons.collections.primitives.TestShortList;
/** /**
* @version $Revision: 1.2 $ $Date: 2003/08/31 17:28:38 $ * @version $Revision: 1.3 $ $Date: 2003/10/05 20:48:58 $
* @author Rodney Waldhoff * @author Rodney Waldhoff
*/ */
public class TestListShortList extends TestShortList { public class TestListShortList extends TestShortList {
@ -96,7 +96,7 @@ public class TestListShortList extends TestShortList {
return new ListShortList(new ArrayList()); return new ListShortList(new ArrayList());
} }
public String[] ignoredSimpleTests() { protected String[] ignoredTests() {
// sublists are not serializable // sublists are not serializable
return new String[] { return new String[] {
"TestListShortList.bulkTestSubList.testFullListSerialization", "TestListShortList.bulkTestSubList.testFullListSerialization",