Removed the obsolete test constructors

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1540705 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Bourg 2013-11-11 13:22:32 +00:00
parent 5d975f576c
commit 49452d6505
12 changed files with 0 additions and 67 deletions

View File

@ -40,13 +40,6 @@ public class ClosureUtilsTest extends TestCase {
private static final Object cString = "Hello";
/**
* Construct
*/
public ClosureUtilsTest(final String name) {
super(name);
}
static class MockClosure<T> implements Closure<T> {
int count = 0;

View File

@ -38,13 +38,6 @@ import org.junit.Test;
*/
public class FactoryUtilsTest extends junit.framework.TestCase {
/**
* Construct
*/
public FactoryUtilsTest(final String name) {
super(name);
}
/**
* Set up instance variables required by this test case.
*/

View File

@ -45,13 +45,6 @@ public class TransformerUtilsTest extends junit.framework.TestCase {
private static final Object cString = "Hello";
private static final Object cInteger = Integer.valueOf(6);
/**
* Construct
*/
public TransformerUtilsTest(final String name) {
super(name);
}
/**
* Set up instance variables required by this test case.
*/

View File

@ -35,9 +35,6 @@ import org.junit.Assert;
*/
@SuppressWarnings("boxing")
public class FilterListIteratorTest extends TestCase {
public FilterListIteratorTest(final String testName) {
super(testName);
}
private ArrayList<Integer> list = null;
private ArrayList<Integer> odds = null;

View File

@ -30,10 +30,6 @@ import junit.framework.TestCase;
*/
public class LoopingIteratorTest extends TestCase {
public LoopingIteratorTest(final String testName) {
super(testName);
}
/**
* Tests constructor exception.
*/

View File

@ -30,10 +30,6 @@ import junit.framework.TestCase;
*/
public class LoopingListIteratorTest extends TestCase {
public LoopingListIteratorTest(final String testName) {
super(testName);
}
/**
* Tests constructor exception.
*/

View File

@ -36,15 +36,6 @@ public abstract class AbstractMapEntryTest<K, V> extends TestCase {
protected final String key = "name";
protected final String value = "duke";
/**
* JUnit constructor.
*
* @param testName the test name
*/
public AbstractMapEntryTest(final String testName) {
super(testName);
}
//-----------------------------------------------------------------------
/**
* Make an instance of Map.Entry with the default (null) key and value.

View File

@ -32,16 +32,6 @@ public class DefaultKeyValueTest<K, V> extends TestCase {
private final String key = "name";
private final String value = "duke";
/**
* JUnit constructor.
*
* @param testName the test name
*/
public DefaultKeyValueTest(final String testName) {
super(testName);
}
//-----------------------------------------------------------------------
/**
* Make an instance of DefaultKeyValue with the default (null) key and value.

View File

@ -28,10 +28,6 @@ import org.apache.commons.collections4.KeyValue;
*/
public class DefaultMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
public DefaultMapEntryTest(final String testName) {
super(testName);
}
//-----------------------------------------------------------------------
/**
* Make an instance of Map.Entry with the default (null) key and value.

View File

@ -41,10 +41,6 @@ public class MultiKeyTest extends TestCase {
Integer FOUR = Integer.valueOf(4);
Integer FIVE = Integer.valueOf(5);
public MultiKeyTest(final String name) {
super(name);
}
@Override
public void setUp() throws Exception {
super.setUp();

View File

@ -27,10 +27,6 @@ import java.util.Map;
*/
public class TiedMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
public TiedMapEntryTest(final String testName) {
super(testName);
}
//-----------------------------------------------------------------------
/**
* Gets the instance to test

View File

@ -29,10 +29,6 @@ import org.apache.commons.collections4.Unmodifiable;
*/
public class UnmodifiableMapEntryTest<K, V> extends AbstractMapEntryTest<K, V> {
public UnmodifiableMapEntryTest(final String testName) {
super(testName);
}
//-----------------------------------------------------------------------
/**
* Make an instance of Map.Entry with the default (null) key and value.