Rename abstract Test* classes to AbstractTest*

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023746 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-10-18 11:45:44 +00:00
parent 9dfb8286f3
commit 17be7dfd95
12 changed files with 23 additions and 23 deletions

View File

@ -27,9 +27,9 @@ import org.apache.commons.collections.list.AbstractTestList;
* *
* @author Jason van Zyl * @author Jason van Zyl
*/ */
public abstract class TestArrayList<E> extends AbstractTestList<E> { public abstract class AbstractTestArrayList<E> extends AbstractTestList<E> {
public TestArrayList(String testName) { public AbstractTestArrayList(String testName) {
super(testName); super(testName);
} }

View File

@ -38,9 +38,9 @@ import org.apache.commons.collections.list.AbstractTestList;
* *
* @author Rich Dougherty * @author Rich Dougherty
*/ */
public abstract class TestLinkedList<T> extends AbstractTestList<T> { public abstract class AbstractTestLinkedList<T> extends AbstractTestList<T> {
public TestLinkedList(String testName) { public AbstractTestLinkedList(String testName) {
super(testName); super(testName);
} }

View File

@ -27,9 +27,9 @@ import org.apache.commons.collections.map.AbstractTestMap;
* *
* @author Jason van Zyl * @author Jason van Zyl
*/ */
public abstract class TestTreeMap<K, V> extends AbstractTestMap<K, V> { public abstract class AbstractTestTreeMap<K, V> extends AbstractTestMap<K, V> {
public TestTreeMap(String testName) { public AbstractTestTreeMap(String testName) {
super(testName); super(testName);
} }

View File

@ -27,9 +27,9 @@ import java.util.List;
* *
* @author Stephen Colebourne * @author Stephen Colebourne
*/ */
public abstract class TestTypedCollection<T> extends BulkTest { public abstract class AbstractTestTypedCollection<T> extends BulkTest {
public TestTypedCollection(String name) { public AbstractTestTypedCollection(String name) {
super(name); super(name);
} }

View File

@ -27,7 +27,7 @@ import junit.framework.Test;
* *
* @author Craig McClanahan * @author Craig McClanahan
*/ */
public class TestArrayStack<E> extends TestArrayList<E> { public class TestArrayStack<E> extends AbstractTestArrayList<E> {
public TestArrayStack(String testName) { public TestArrayStack(String testName) {
super(testName); super(testName);

View File

@ -30,14 +30,14 @@ import junit.framework.TestSuite;
* *
* @author Michael A. Smith * @author Michael A. Smith
*/ */
public abstract class TestNullComparator extends AbstractTestComparator<Integer> { public abstract class AbstractTestNullComparator extends AbstractTestComparator<Integer> {
public TestNullComparator(String testName) { public AbstractTestNullComparator(String testName) {
super(testName); super(testName);
} }
public static Test suite() { public static Test suite() {
TestSuite suite = new TestSuite(TestNullComparator.class.getName()); TestSuite suite = new TestSuite(AbstractTestNullComparator.class.getName());
suite.addTest(new TestSuite(TestNullComparator1.class)); suite.addTest(new TestSuite(TestNullComparator1.class));
suite.addTest(new TestSuite(TestNullComparator2.class)); suite.addTest(new TestSuite(TestNullComparator2.class));
return suite; return suite;
@ -46,7 +46,7 @@ public abstract class TestNullComparator extends AbstractTestComparator<Integer>
/** /**
* Test the NullComparator with nulls high, using comparable comparator * Test the NullComparator with nulls high, using comparable comparator
**/ **/
public static class TestNullComparator1 extends TestNullComparator { public static class TestNullComparator1 extends AbstractTestNullComparator {
public TestNullComparator1(String testName) { public TestNullComparator1(String testName) {
super(testName); super(testName);
@ -78,7 +78,7 @@ public abstract class TestNullComparator extends AbstractTestComparator<Integer>
/** /**
* Test the NullComparator with nulls low using the comparable comparator * Test the NullComparator with nulls low using the comparable comparator
**/ **/
public static class TestNullComparator2 extends TestNullComparator { public static class TestNullComparator2 extends AbstractTestNullComparator {
public TestNullComparator2(String testName) { public TestNullComparator2(String testName) {
super(testName); super(testName);

View File

@ -32,14 +32,14 @@ import java.util.Collections;
* *
* @author Edwin Tellman * @author Edwin Tellman
*/ */
public abstract class TestAnyAllOnePredicate<T> extends TestCompositePredicate<T> { public abstract class AbstractTestAnyAllOnePredicate<T> extends AbstractTestCompositePredicate<T> {
/** /**
* Creates a new <code>TestCompositePredicate</code>. * Creates a new <code>TestCompositePredicate</code>.
* *
* @param testValue the value which the mock predicates should expect to see (may be null). * @param testValue the value which the mock predicates should expect to see (may be null).
*/ */
protected TestAnyAllOnePredicate(final T testValue) { protected AbstractTestAnyAllOnePredicate(final T testValue) {
super(testValue); super(testValue);
} }

View File

@ -34,14 +34,14 @@ import java.util.List;
* *
* @author Edwin Tellman * @author Edwin Tellman
*/ */
public abstract class TestCompositePredicate<T> extends MockPredicateTestBase<T> { public abstract class AbstractTestCompositePredicate<T> extends MockPredicateTestBase<T> {
/** /**
* Creates a new <code>TestCompositePredicate</code>. * Creates a new <code>TestCompositePredicate</code>.
* *
* @param testValue the value which the mock predicates should expect to see (may be null). * @param testValue the value which the mock predicates should expect to see (may be null).
*/ */
protected TestCompositePredicate(final T testValue) { protected AbstractTestCompositePredicate(final T testValue) {
super(testValue); super(testValue);
} }

View File

@ -18,7 +18,7 @@ import java.util.Collections;
* *
* @author Edwin Tellman * @author Edwin Tellman
*/ */
public class TestAllPredicate extends TestAnyAllOnePredicate<Integer> { public class TestAllPredicate extends AbstractTestAnyAllOnePredicate<Integer> {
/** /**
* Creates a new <code>TestAllPredicate</code>. * Creates a new <code>TestAllPredicate</code>.

View File

@ -27,9 +27,9 @@ import java.util.Arrays;
* @author David Hay * @author David Hay
* @author Phil Steitz * @author Phil Steitz
*/ */
public abstract class TestAbstractLinkedList<E> extends AbstractTestList<E> { public abstract class AbstractTestLinkedList<E> extends AbstractTestList<E> {
public TestAbstractLinkedList(String testName) { public AbstractTestLinkedList(String testName) {
super(testName); super(testName);
} }

View File

@ -36,7 +36,7 @@ import org.apache.commons.collections.BulkTest;
* @author Rodney Waldhoff * @author Rodney Waldhoff
* @author Simon Kitching * @author Simon Kitching
*/ */
public class TestCursorableLinkedList<E> extends TestAbstractLinkedList<E> { public class TestCursorableLinkedList<E> extends AbstractTestLinkedList<E> {
public TestCursorableLinkedList(String testName) { public TestCursorableLinkedList(String testName) {
super(testName); super(testName);
} }

View File

@ -31,7 +31,7 @@ import org.apache.commons.collections.BulkTest;
* @author Jeff Varszegi * @author Jeff Varszegi
* @author Phil Steitz * @author Phil Steitz
*/ */
public class TestNodeCachingLinkedList<E> extends TestAbstractLinkedList<E> { public class TestNodeCachingLinkedList<E> extends AbstractTestLinkedList<E> {
public TestNodeCachingLinkedList(String testName) { public TestNodeCachingLinkedList(String testName) {
super(testName); super(testName);