Rename TestBidiMap to AbstractTestBidiMap to promote to testframework jar
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1544a5daa0
commit
2092e39906
16
src/test/org/apache/commons/collections/TestBidiMap.java → src/test/org/apache/commons/collections/AbstractTestBidiMap.java
Executable file → Normal file
16
src/test/org/apache/commons/collections/TestBidiMap.java → src/test/org/apache/commons/collections/AbstractTestBidiMap.java
Executable file → Normal file
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestBidiMap.java,v 1.8 2003/10/10 21:09:27 scolebourne Exp $
|
||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/AbstractTestBidiMap.java,v 1.1 2003/10/10 21:11:39 scolebourne Exp $
|
||||
* ====================================================================
|
||||
*
|
||||
* The Apache Software License, Version 1.1
|
||||
|
@ -63,12 +63,12 @@ import java.util.Map;
|
|||
/**
|
||||
* JUnit tests.
|
||||
*
|
||||
* @version $Revision: 1.8 $ $Date: 2003/10/10 21:09:27 $
|
||||
* @version $Revision: 1.1 $ $Date: 2003/10/10 21:11:39 $
|
||||
*
|
||||
* @author Matthew Hawthorne
|
||||
* @author Stephen Colebourne
|
||||
*/
|
||||
public abstract class TestBidiMap extends AbstractTestMap {
|
||||
public abstract class AbstractTestBidiMap extends AbstractTestMap {
|
||||
|
||||
// Test data.
|
||||
private static final Object[][] entriesKV =
|
||||
|
@ -85,12 +85,12 @@ public abstract class TestBidiMap extends AbstractTestMap {
|
|||
};
|
||||
private final Object[][] entries;
|
||||
|
||||
public TestBidiMap(String testName) {
|
||||
public AbstractTestBidiMap(String testName) {
|
||||
super(testName);
|
||||
entries = entriesKV;
|
||||
}
|
||||
|
||||
public TestBidiMap() {
|
||||
public AbstractTestBidiMap() {
|
||||
super("Inverse");
|
||||
entries = entriesVK;
|
||||
}
|
||||
|
@ -334,10 +334,10 @@ public abstract class TestBidiMap extends AbstractTestMap {
|
|||
return new TestInverseBidiMap(this);
|
||||
}
|
||||
|
||||
class TestInverseBidiMap extends TestBidiMap {
|
||||
final TestBidiMap main;
|
||||
class TestInverseBidiMap extends AbstractTestBidiMap {
|
||||
final AbstractTestBidiMap main;
|
||||
|
||||
public TestInverseBidiMap(TestBidiMap main) {
|
||||
public TestInverseBidiMap(AbstractTestBidiMap main) {
|
||||
super();
|
||||
this.main = main;
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestDualHashBidiMap.java,v 1.1 2003/10/06 23:47:17 scolebourne Exp $
|
||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestDualHashBidiMap.java,v 1.2 2003/10/10 21:11:39 scolebourne Exp $
|
||||
* ====================================================================
|
||||
*
|
||||
* The Apache Software License, Version 1.1
|
||||
|
@ -63,12 +63,12 @@ import junit.textui.TestRunner;
|
|||
/**
|
||||
* JUnit tests.
|
||||
*
|
||||
* @version $Revision: 1.1 $ $Date: 2003/10/06 23:47:17 $
|
||||
* @version $Revision: 1.2 $ $Date: 2003/10/10 21:11:39 $
|
||||
*
|
||||
* @author Matthew Hawthorne
|
||||
* @author Stephen Colebourne
|
||||
*/
|
||||
public class TestDualHashBidiMap extends TestBidiMap {
|
||||
public class TestDualHashBidiMap extends AbstractTestBidiMap {
|
||||
|
||||
public static void main(String[] args) {
|
||||
TestRunner.run(suite());
|
||||
|
|
Loading…
Reference in New Issue