Renamed unit tests for keyvalue package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374064 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
578a598fa7
commit
056d81fe40
|
@ -28,12 +28,10 @@ import junit.framework.TestCase;
|
|||
* {@link #testConstructors()} to test the constructors of the Map.Entry
|
||||
* type being tested.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Neil O'Toole
|
||||
* @since 3.0
|
||||
* @version $Id$
|
||||
*/
|
||||
public abstract class AbstractTestMapEntry<K, V> extends TestCase {
|
||||
public abstract class AbstractMapEntryTest<K, V> extends TestCase {
|
||||
|
||||
protected final String key = "name";
|
||||
protected final String value = "duke";
|
||||
|
@ -43,7 +41,7 @@ public abstract class AbstractTestMapEntry<K, V> extends TestCase {
|
|||
*
|
||||
* @param testName the test name
|
||||
*/
|
||||
public AbstractTestMapEntry(String testName) {
|
||||
public AbstractMapEntryTest(String testName) {
|
||||
super(testName);
|
||||
}
|
||||
|
|
@ -24,12 +24,10 @@ import junit.framework.TestCase;
|
|||
/**
|
||||
* Test the DefaultKeyValue class.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Neil O'Toole
|
||||
* @since 3.0
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestDefaultKeyValue<K, V> extends TestCase {
|
||||
public class DefaultKeyValueTest<K, V> extends TestCase {
|
||||
|
||||
private final String key = "name";
|
||||
private final String value = "duke";
|
||||
|
@ -39,7 +37,7 @@ public class TestDefaultKeyValue<K, V> extends TestCase {
|
|||
*
|
||||
* @param testName the test name
|
||||
*/
|
||||
public TestDefaultKeyValue(String testName) {
|
||||
public DefaultKeyValueTest(String testName) {
|
||||
super(testName);
|
||||
|
||||
}
|
|
@ -23,14 +23,12 @@ import org.apache.commons.collections.KeyValue;
|
|||
/**
|
||||
* Test the DefaultMapEntry class.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Neil O'Toole
|
||||
* @since 3.0
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestDefaultMapEntry<K, V> extends AbstractTestMapEntry<K, V> {
|
||||
public class DefaultMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
|
||||
|
||||
public TestDefaultMapEntry(String testName) {
|
||||
public DefaultMapEntryTest(String testName) {
|
||||
super(testName);
|
||||
}
|
||||
|
|
@ -32,11 +32,9 @@ import junit.framework.TestCase;
|
|||
/**
|
||||
* Unit tests for {@link org.apache.commons.collections.keyvalue.MultiKey}.
|
||||
*
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestMultiKey extends TestCase {
|
||||
public class MultiKeyTest extends TestCase {
|
||||
|
||||
Integer ONE = new Integer(1);
|
||||
Integer TWO = new Integer(2);
|
||||
|
@ -44,7 +42,7 @@ public class TestMultiKey extends TestCase {
|
|||
Integer FOUR = new Integer(4);
|
||||
Integer FIVE = new Integer(5);
|
||||
|
||||
public TestMultiKey(String name) {
|
||||
public MultiKeyTest(String name) {
|
||||
super(name);
|
||||
}
|
||||
|
|
@ -22,14 +22,12 @@ import java.util.Map;
|
|||
/**
|
||||
* Test the TiedMapEntry class.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Stephen Colebourne
|
||||
* @since 3.0
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestTiedMapEntry<K, V> extends AbstractTestMapEntry<K, V> {
|
||||
public class TiedMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
|
||||
|
||||
public TestTiedMapEntry(String testName) {
|
||||
public TiedMapEntryTest(String testName) {
|
||||
super(testName);
|
||||
}
|
||||
|
|
@ -24,14 +24,12 @@ import org.apache.commons.collections.Unmodifiable;
|
|||
/**
|
||||
* Test the UnmodifiableMapEntry class.
|
||||
*
|
||||
* @since Commons Collections 3.0
|
||||
* @version $Revision$
|
||||
*
|
||||
* @author Neil O'Toole
|
||||
* @since 3.0
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestUnmodifiableMapEntry<K, V> extends AbstractTestMapEntry<K, V> {
|
||||
public class UnmodifiableMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
|
||||
|
||||
public TestUnmodifiableMapEntry(String testName) {
|
||||
public UnmodifiableMapEntryTest(String testName) {
|
||||
super(testName);
|
||||
}
|
||||
|
Loading…
Reference in New Issue