commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r905628 [1/2] - in /commons/proper/lang/branches/LANG_2_X: ./ src/test/java/org/apache/commons/lang/ src/test/java/org/apache/commons/lang/builder/ src/test/java/org/apache/commons/lang/enum/ src/test/java/org/apache/commons/lang/enums/ src...
Date Tue, 02 Feb 2010 13:30:06 GMT
Author: niallp
Date: Tue Feb  2 13:29:55 2010
New Revision: 905628

URL: http://svn.apache.org/viewvc?rev=905628&view=rev
Log:
Remove test suites

Removed:
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/AllLangTestSuite.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/LangTestSuite.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/BuilderTestSuite.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/EnumTestSuite.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumTestSuite.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/ExceptionTestSuite.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/math/MathTestSuite.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/mutable/MutableTestSuite.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/reflect/ReflectTestSuite.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/text/TextTestSuite.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/time/TimeTestSuite.java
Modified:
    commons/proper/lang/branches/LANG_2_X/pom.xml
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsAddTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsRemoveTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/BitFieldTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/BooleanUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharEncodingTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharRangeTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharSetTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharSetUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ClassUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/EntitiesPerformanceTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/EntitiesTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IllegalClassExceptionTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IncompleteArgumentExceptionTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IntHashMapTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/LocaleUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NotImplementedExceptionTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NullArgumentExceptionTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NumberRangeTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NumberUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ObjectUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/RandomStringUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/SerializationUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringEscapeUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsEqualsIndexOfTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsIsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsStartsEndsWithTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsSubstringTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsTrimEmptyTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/SystemUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/UnhandledExceptionTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ValidateTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/WordUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/CompareToBuilderTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/DefaultToStringStyleTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/EqualsBuilderTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/HashCodeBuilderAndEqualsBuilderTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/HashCodeBuilderTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/MultiLineToStringStyleTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/NoFieldNamesToStringStyleTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/SimpleToStringStyleTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/StandardToStringStyleTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringBuilderTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringStyleTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/EnumTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/EnumUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/ValuedEnumTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumEqualsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/ValuedEnumTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/ExceptionUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/NestableDelegateTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/NestableErrorTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/NestableExceptionTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/NestableRuntimeExceptionTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/math/DoubleRangeTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/math/FloatRangeTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/math/FractionTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/math/IntRangeTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/math/LongRangeTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/math/NumberRangeTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/math/NumberUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/math/RandomUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/math/RangeTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/mutable/MutableBooleanTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/mutable/MutableByteTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/mutable/MutableDoubleTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/mutable/MutableFloatTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/mutable/MutableIntTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/mutable/MutableLongTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/mutable/MutableObjectTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/mutable/MutableShortTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/reflect/ConstructorUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/reflect/FieldUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/reflect/MethodUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/text/CompositeFormatTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/text/ExtendedMessageFormatTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/text/StrBuilderTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/text/StrLookupTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/text/StrMatcherTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/text/StrSubstitutorTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/text/StrTokenizerTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/time/DateFormatUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/time/DateUtilsFragmentTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/time/DateUtilsRoundingTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/time/DateUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/time/DurationFormatUtilsTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/time/FastDateFormatTest.java
    commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/time/StopWatchTest.java

Modified: commons/proper/lang/branches/LANG_2_X/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/pom.xml?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/pom.xml (original)
+++ commons/proper/lang/branches/LANG_2_X/pom.xml Tue Feb  2 13:29:55 2010
@@ -409,8 +409,6 @@
           </includes>
           <excludes>
             <exclude>**/EntitiesPerformanceTest.java</exclude>
-            <exclude>**/*TestSuite.java</exclude>
-            <exclude>**/AllLangTestSuite.java</exclude>
           </excludes>
         </configuration>
       </plugin>

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsAddTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsAddTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsAddTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsAddTest.java Tue Feb  2 13:29:55 2010
@@ -19,10 +19,7 @@
 
 import java.util.Arrays;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Tests ArrayUtils add methods.
@@ -31,15 +28,6 @@
  * @version $Id$
  */
 public class ArrayUtilsAddTest extends TestCase {
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ArrayUtilsAddTest.class);
-        suite.setName("ArrayUtils add Tests");
-        return suite;
-    }
 
     public void testJira567(){
         Number[] n;

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsRemoveTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsRemoveTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsRemoveTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsRemoveTest.java Tue Feb  2 13:29:55 2010
@@ -19,10 +19,7 @@
 
 import java.util.Arrays;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Tests ArrayUtils remove and removeElement methods.
@@ -31,15 +28,6 @@
  * @version $Id$
  */
 public class ArrayUtilsRemoveTest extends TestCase {
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ArrayUtilsRemoveTest.class);
-        suite.setName("ArrayUtils remove Tests");
-        return suite;
-    }
 
     public void testRemoveObjectArray() {
         Object[] array;

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ArrayUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -22,10 +22,7 @@
 import java.util.Date;
 import java.util.Map;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.ArrayUtils}.
@@ -47,24 +44,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ArrayUtilsTest.class);
-        suite.setName("ArrayUtils Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new ArrayUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/BitFieldTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/BitFieldTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/BitFieldTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/BitFieldTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Class to test BitField functionality
@@ -31,16 +28,6 @@
  */
 public class BitFieldTest extends TestCase {
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(BitFieldTest.class);
-        suite.setName("BitField Tests");
-        return suite;
-    }
-
     private static final BitField bf_multi  = new BitField(0x3F80);
     private static final BitField bf_single = new BitField(0x4000);
     private static final BitField bf_zero = new BitField(0);

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/BooleanUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/BooleanUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/BooleanUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/BooleanUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -19,10 +19,7 @@
 import java.lang.reflect.Constructor;
 import java.lang.reflect.Modifier;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.BooleanUtils}.
@@ -37,24 +34,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(BooleanUtilsTest.class);
-        suite.setName("BooleanUtils Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new BooleanUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharEncodingTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharEncodingTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharEncodingTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharEncodingTest.java Tue Feb  2 13:29:55 2010
@@ -17,10 +17,7 @@
 
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Tests CharEncoding.
@@ -31,16 +28,6 @@
  */
 public class CharEncodingTest extends TestCase {
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(CharEncodingTest.class);
-        suite.setName("CharEncoding Tests");
-        return suite;
-    }
-
     private void assertSupportedEncoding(String name) {
         assertTrue("Encoding should be supported: " + name, CharEncoding.isSupported(name));
     }

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharRangeTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharRangeTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharRangeTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharRangeTest.java Tue Feb  2 13:29:55 2010
@@ -20,10 +20,7 @@
 
 import java.lang.reflect.Modifier;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.CharRange}.
@@ -37,24 +34,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(CharRangeTest.class);
-        suite.setName("CharRange Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testClass() {
         assertEquals(true, Modifier.isPublic(CharRange.class.getModifiers()));

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharSetTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharSetTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharSetTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharSetTest.java Tue Feb  2 13:29:55 2010
@@ -20,10 +20,7 @@
 
 import java.lang.reflect.Modifier;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.CharSet}.
@@ -38,24 +35,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(CharSetTest.class);
-        suite.setName("CharSet Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testClass() {
         assertEquals(true, Modifier.isPublic(CharSet.class.getModifiers()));

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharSetUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharSetUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharSetUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharSetUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -19,10 +19,7 @@
 import java.lang.reflect.Constructor;
 import java.lang.reflect.Modifier;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.CharSetUtils}.
@@ -38,24 +35,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(CharSetUtilsTest.class);
-        suite.setName("CharSetUtils Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new CharSetUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/CharUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -19,10 +19,7 @@
 import java.lang.reflect.Constructor;
 import java.lang.reflect.Modifier;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.CharUtils}.
@@ -40,24 +37,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(CharUtilsTest.class);
-        suite.setName("CharUtils Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new CharUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ClassUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ClassUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ClassUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ClassUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -26,10 +26,7 @@
 import java.util.Map;
 import java.util.Set;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 
 
@@ -47,24 +44,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ClassUtilsTest.class);
-        suite.setName("ClassUtils Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     private static class Inner {
     }
     

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/EntitiesPerformanceTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/EntitiesPerformanceTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/EntitiesPerformanceTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/EntitiesPerformanceTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 public class EntitiesPerformanceTest extends TestCase {
     private int COUNT = 10000;
@@ -38,15 +35,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(EntitiesPerformanceTest.class);
-        return suite;
-    }
-
     public void setUp() {
         if (stringWithUnicode == null) {
             StringBuffer buf = new StringBuffer(STRING_LENGTH);

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/EntitiesTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/EntitiesTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/EntitiesTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/EntitiesTest.java Tue Feb  2 13:29:55 2010
@@ -18,10 +18,7 @@
 
 import java.io.StringWriter;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests for {@link StringEscapeUtils}.
@@ -36,16 +33,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(EntitiesTest.class);
-        suite.setName("EntitiesTest Tests");
-        return suite;
-    }
-
     Entities entities;
 
     public void setUp()

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IllegalClassExceptionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IllegalClassExceptionTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IllegalClassExceptionTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IllegalClassExceptionTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * JUnit tests.
@@ -30,14 +27,6 @@
  */
 public class IllegalClassExceptionTest extends TestCase {
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(IllegalClassExceptionTest.class);
-    }
-
     public IllegalClassExceptionTest(String testName) {
         super(testName);
     }

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IncompleteArgumentExceptionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IncompleteArgumentExceptionTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IncompleteArgumentExceptionTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IncompleteArgumentExceptionTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * JUnit tests.
@@ -30,14 +27,6 @@
  */
 public class IncompleteArgumentExceptionTest extends TestCase {
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(IncompleteArgumentExceptionTest.class);
-    }
-
     public IncompleteArgumentExceptionTest(String testName) {
         super(testName);
     }

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IntHashMapTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IntHashMapTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IntHashMapTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/IntHashMapTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Tests for the IntHashMap class.
@@ -29,16 +26,6 @@
  */
 public class IntHashMapTest extends TestCase {
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(IntHashMapTest.class);
-        suite.setName("IntHashMapTest Tests");
-        return suite;
-    }
-
     public void testConstructor() {
         try {
             new IntHashMap(-1, 0.0f);

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/LocaleUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/LocaleUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/LocaleUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/LocaleUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -26,10 +26,7 @@
 import java.util.Locale;
 import java.util.Set;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests for {@link LocaleUtils}.
@@ -57,23 +54,6 @@
         super(name);
     }
 
-    /**
-     * Main.
-     * @param args
-     */
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    /**
-     * Run the test cases as a suite.
-     * @return the Test
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(LocaleUtilsTest.class);
-        suite.setName("LocaleUtils Tests");
-        return suite;
-    }
 
     public void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NotImplementedExceptionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NotImplementedExceptionTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NotImplementedExceptionTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NotImplementedExceptionTest.java Tue Feb  2 13:29:55 2010
@@ -22,10 +22,7 @@
 import java.io.StringWriter;
 import java.lang.reflect.Constructor;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 import org.apache.commons.lang.exception.NestableException;
 
@@ -37,15 +34,6 @@
  * @see NotImplementedException
  */
 public class NotImplementedExceptionTest extends TestCase {
-
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(NotImplementedExceptionTest.class);
-    }
-
     public NotImplementedExceptionTest(String testName) {
         super(testName);
     }

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NullArgumentExceptionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NullArgumentExceptionTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NullArgumentExceptionTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NullArgumentExceptionTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * JUnit tests.
@@ -31,14 +28,6 @@
  */
 public class NullArgumentExceptionTest extends TestCase {
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(NullArgumentExceptionTest.class);
-    }
-
     public NullArgumentExceptionTest(String testName) {
         super(testName);
     }

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NumberRangeTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NumberRangeTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NumberRangeTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NumberRangeTest.java Tue Feb  2 13:29:55 2010
@@ -16,9 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 /**
  * Test cases for the {@link NumberRange} class.
@@ -59,13 +57,6 @@
         fiveToNine = new NumberRange( five, nine );
     }
 
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(NumberRangeTest.class);
-        suite.setName("NumberRange Tests");
-        return suite;
-    }
-
     public void testMaxMin() {
         boolean expected = true;
         boolean result = tenToTwenty.getMaximum().equals(twenty);

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NumberUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NumberUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NumberUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/NumberUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -19,9 +19,7 @@
 import java.math.BigDecimal;
 import java.math.BigInteger;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 /**
  * Unit tests {@link org.apache.commons.lang.NumberUtils}.
@@ -39,12 +37,6 @@
         super(name);
     }
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(NumberUtilsTest.class);
-        suite.setName("NumberUtils Tests");
-        return suite;
-    }
-
     //---------------------------------------------------------------------
 
     /**

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ObjectUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ObjectUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ObjectUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ObjectUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -20,10 +20,7 @@
 import java.lang.reflect.Modifier;
 import java.util.Calendar;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.ObjectUtils}.
@@ -42,24 +39,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ObjectUtilsTest.class);
-        suite.setName("ObjectUtils Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new ObjectUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/RandomStringUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/RandomStringUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/RandomStringUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/RandomStringUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -20,9 +20,6 @@
 import java.lang.reflect.Modifier;
 import java.util.Random;
 
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.RandomStringUtils}.
@@ -40,24 +37,6 @@
         super(name);
     }
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(RandomStringUtilsTest.class);
-        suite.setName("RandomStringUtils Tests");
-        return suite;
-    }
-    
-    /**
-     * Set up instance variables required by this test case.
-     */
-    public void setUp() {
-    }
-    
-    /**
-     * Tear down instance variables required by this test case.
-     */
-    public void tearDown() {
-    }
-    
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new RandomStringUtils());
@@ -344,9 +323,5 @@
         // just to be complete
         assertEquals(orig, copy);
     }
-
-    public static void main(String args[]) {
-        TestRunner.run(suite());
-    }
 }
 

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/SerializationUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/SerializationUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/SerializationUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/SerializationUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -28,10 +28,7 @@
 import java.lang.reflect.Modifier;
 import java.util.HashMap;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.SerializationUtils}.
@@ -53,15 +50,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(SerializationUtilsTest.class);
-        suite.setName("SerializationUtils Tests");
-        return suite;
-    }
 
     protected void setUp() throws Exception {
         super.setUp();
@@ -73,10 +61,6 @@
         iMap.put("BAR", iInteger);
     }
 
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new SerializationUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringEscapeUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringEscapeUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringEscapeUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringEscapeUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -21,10 +21,7 @@
 import java.lang.reflect.Constructor;
 import java.lang.reflect.Modifier;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests for {@link StringEscapeUtils}.
@@ -39,16 +36,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StringEscapeUtilsTest.class);
-        suite.setName("StringEscapeUtilsTest Tests");
-        return suite;
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new StringEscapeUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsEqualsIndexOfTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsEqualsIndexOfTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsEqualsIndexOfTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsEqualsIndexOfTest.java Tue Feb  2 13:29:55 2010
@@ -18,10 +18,7 @@
 
 import java.util.Locale;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.StringUtils} - Substring methods
@@ -41,24 +38,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StringUtilsEqualsIndexOfTest.class);
-        suite.setName("StringUtilsEqualsIndexOf Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     public void testEquals() {

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsIsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsIsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsIsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsIsTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.StringUtils} - Substring methods
@@ -34,24 +31,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StringUtilsIsTest.class);
-        suite.setName("StringUtilsIsXxx Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     public void testIsAlpha() {

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsStartsEndsWithTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsStartsEndsWithTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsStartsEndsWithTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsStartsEndsWithTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.StringUtils} - StartsWith/EndsWith methods
@@ -38,24 +35,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StringUtilsStartsEndsWithTest.class);
-        suite.setName("StringUtilsStartsEndsWith Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     /**

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsSubstringTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsSubstringTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsSubstringTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsSubstringTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.StringUtils} - Substring methods
@@ -40,24 +37,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StringUtilsSubstringTest.class);
-        suite.setName("StringUtilsSubstring Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
 

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -24,10 +24,7 @@
 import java.util.Iterator;
 import java.util.Locale;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.StringUtils}.
@@ -97,24 +94,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StringUtilsTest.class);
-        suite.setName("StringUtilsTest Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new StringUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsTrimEmptyTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsTrimEmptyTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsTrimEmptyTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/StringUtilsTrimEmptyTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.StringUtils} - Trim/Empty methods
@@ -35,24 +32,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StringUtilsTrimEmptyTest.class);
-        suite.setName("StringUtilsTrimEmpty Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testIsEmpty() {
         assertEquals(true, StringUtils.isEmpty(null));

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/SystemUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/SystemUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/SystemUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/SystemUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -25,10 +25,7 @@
 import java.util.Locale;
 
 import junit.framework.Assert;
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.SystemUtils}.
@@ -41,15 +38,6 @@
  * @version $Id$
  */
 public class SystemUtilsTest extends TestCase {
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(SystemUtilsTest.class);
-        suite.setName("SystemUtils Tests");
-        return suite;
-    }
 
     //-----------------------------------------------------------------------
     // COPIED FROM SystemUtils
@@ -188,14 +176,6 @@
         return OS_NAME.startsWith(osNamePrefix) && OS_VERSION.startsWith(osVersionPrefix);
     }
 
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new SystemUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/UnhandledExceptionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/UnhandledExceptionTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/UnhandledExceptionTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/UnhandledExceptionTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 import org.apache.commons.lang.exception.Nestable;
 
@@ -32,14 +29,6 @@
  */
 public class UnhandledExceptionTest extends TestCase {
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(UnhandledExceptionTest.class);
-    }
-
     public UnhandledExceptionTest(String testName) {
         super(testName);
     }

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ValidateTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ValidateTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ValidateTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/ValidateTest.java Tue Feb  2 13:29:55 2010
@@ -26,10 +26,8 @@
 import java.util.List;
 import java.util.Map;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
+
 /**
  * Unit tests {@link org.apache.commons.lang.Validate}.
  *
@@ -43,24 +41,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ValidateTest.class);
-        suite.setName("Validate Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testIsTrue1() {
         Validate.isTrue(true);

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/WordUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/WordUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/WordUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/WordUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -19,9 +19,7 @@
 import java.lang.reflect.Constructor;
 import java.lang.reflect.Modifier;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 /**
  * Unit tests for WordUtils class.
@@ -36,12 +34,6 @@
         super(name);
     }
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(WordUtilsTest.class);
-        suite.setName("WordUtilsTests");
-        return suite;
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new WordUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/CompareToBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/CompareToBuilderTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/CompareToBuilderTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/CompareToBuilderTest.java Tue Feb  2 13:29:55 2010
@@ -18,10 +18,7 @@
 
 import java.math.BigInteger;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.builder.CompareToBuilder}.
@@ -32,25 +29,8 @@
  */
 public class CompareToBuilderTest extends TestCase {
 
-  public CompareToBuilderTest(String name) {
-    super(name);
-  }
-     public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(CompareToBuilderTest.class);
-        suite.setName("CompareToBuilder Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
+    public CompareToBuilderTest(String name) {
+        super(name);
     }
 
     //-----------------------------------------------------------------------

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/DefaultToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/DefaultToStringStyleTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/DefaultToStringStyleTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/DefaultToStringStyleTest.java Tue Feb  2 13:29:55 2010
@@ -21,10 +21,7 @@
 
 import org.apache.commons.lang.builder.ToStringStyleTest.Person;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.builder.DefaultToStringStyleTest}.
@@ -41,15 +38,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(DefaultToStringStyleTest.class);
-        suite.setName("DefaultToStringStyle Tests");
-        return suite;
-    }
 
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/EqualsBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/EqualsBuilderTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/EqualsBuilderTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/EqualsBuilderTest.java Tue Feb  2 13:29:55 2010
@@ -16,13 +16,9 @@
  */
 package org.apache.commons.lang.builder;
 
-import java.math.BigDecimal;
 import java.util.Arrays;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.builder.EqualsBuilder}.
@@ -39,24 +35,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(EqualsBuilderTest.class);
-        suite.setName("EqualsBuilder Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     static class TestObject {

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/HashCodeBuilderAndEqualsBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/HashCodeBuilderAndEqualsBuilderTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/HashCodeBuilderAndEqualsBuilderTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/HashCodeBuilderAndEqualsBuilderTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang.builder;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Tests {@link org.apache.commons.lang.builder.HashCodeBuilder} and
@@ -39,24 +36,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(HashCodeBuilderAndEqualsBuilderTest.class);
-        suite.setName("HashCodeBuilderAndEqualsBuilder Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     public void testInteger(boolean testTransients) {

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/HashCodeBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/HashCodeBuilderTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/HashCodeBuilderTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/HashCodeBuilderTest.java Tue Feb  2 13:29:55 2010
@@ -17,10 +17,7 @@
 
 package org.apache.commons.lang.builder;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.builder.HashCodeBuilder}.
@@ -56,24 +53,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(HashCodeBuilderTest.class);
-        suite.setName("HashCodeBuilder Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     // -----------------------------------------------------------------------
 
     public void testConstructorEx1() {

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/MultiLineToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/MultiLineToStringStyleTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/MultiLineToStringStyleTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/MultiLineToStringStyleTest.java Tue Feb  2 13:29:55 2010
@@ -19,10 +19,7 @@
 import java.util.ArrayList;
 import java.util.HashMap;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 import org.apache.commons.lang.SystemUtils;
 import org.apache.commons.lang.builder.ToStringStyleTest.Person;
@@ -42,15 +39,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(MultiLineToStringStyleTest.class);
-        suite.setName("MultiLineToStringStyle Tests");
-        return suite;
-    }
 
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/NoFieldNamesToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/NoFieldNamesToStringStyleTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/NoFieldNamesToStringStyleTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/NoFieldNamesToStringStyleTest.java Tue Feb  2 13:29:55 2010
@@ -20,11 +20,7 @@
 import java.util.HashMap;
 
 import org.apache.commons.lang.builder.ToStringStyleTest.Person;
-
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.builder.NoFieldNamesToStringStyleTest}.
@@ -41,15 +37,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(NoFieldNamesToStringStyleTest.class);
-        suite.setName("NoFieldNamesToStringStyle Tests");
-        return suite;
-    }
 
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/SimpleToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/SimpleToStringStyleTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/SimpleToStringStyleTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/SimpleToStringStyleTest.java Tue Feb  2 13:29:55 2010
@@ -20,11 +20,7 @@
 import java.util.HashMap;
 
 import org.apache.commons.lang.builder.ToStringStyleTest.Person;
-
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.builder.SimpleToStringStyleTest}.
@@ -40,15 +36,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(SimpleToStringStyleTest.class);
-        suite.setName("SimpleToStringStyle Tests");
-        return suite;
-    }
 
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/StandardToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/StandardToStringStyleTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/StandardToStringStyleTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/StandardToStringStyleTest.java Tue Feb  2 13:29:55 2010
@@ -21,10 +21,7 @@
 
 import org.apache.commons.lang.builder.ToStringStyleTest.Person;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang.builder.ToStringStyle}.
@@ -56,15 +53,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StandardToStringStyleTest.class);
-        suite.setName("StandardToStringStyle Tests");
-        return suite;
-    }
 
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringBuilderTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringBuilderTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringBuilderTest.java Tue Feb  2 13:29:55 2010
@@ -20,10 +20,7 @@
 import java.util.HashMap;
 import java.util.List;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests for {@link org.apache.commons.lang.builder.ToStringBuilder}.
@@ -42,24 +39,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ToStringBuilderTest.class);
-        suite.setName("ToStringBuilder Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     public void testConstructorEx1() {

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringStyleTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringStyleTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/builder/ToStringStyleTest.java Tue Feb  2 13:29:55 2010
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang.builder;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Test case for ToStringStyle.
@@ -33,20 +30,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ToStringStyleTest.class);
-        suite.setName("ToStringStyle Tests");
-        return suite;
-    }
-
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
     private static class ToStringStyleImpl extends ToStringStyle {
     }
 

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/EnumTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/EnumTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/EnumTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/EnumTest.java Tue Feb  2 13:29:55 2010
@@ -28,9 +28,7 @@
 import java.util.Map;
 
 import junit.framework.AssertionFailedError;
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 import org.apache.commons.lang.SerializationUtils;
 
@@ -53,12 +51,6 @@
     public void setUp() {
     }
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(EnumTest.class);
-        suite.setName("Enum Tests");
-        return suite;
-    }
-
     public void testName() {
         assertEquals("Red", ColorEnum.RED.getName());
         assertEquals("Green", ColorEnum.GREEN.getName());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/EnumUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/EnumUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/EnumUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/EnumUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -22,9 +22,7 @@
 import java.util.List;
 import java.util.Map;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 /**
  * Test cases for the {@link Enum} class.
@@ -42,12 +40,6 @@
     public void setUp() {
     }
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(EnumUtilsTest.class);
-        suite.setName("EnumUtils Tests");
-        return suite;
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new EnumUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/ValuedEnumTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/ValuedEnumTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/ValuedEnumTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enum/ValuedEnumTest.java Tue Feb  2 13:29:55 2010
@@ -20,9 +20,7 @@
 import java.util.List;
 import java.util.Map;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 import org.apache.commons.lang.SerializationUtils;
 
@@ -42,12 +40,6 @@
     public void setUp() {
     }
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ValuedEnumTest.class);
-        suite.setName("ValuedEnum Tests");
-        return suite;
-    }
-
     public void testName() {
         assertEquals("Red", ValuedColorEnum.RED.getName());
         assertEquals("Green", ValuedColorEnum.GREEN.getName());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumEqualsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumEqualsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumEqualsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumEqualsTest.java Tue Feb  2 13:29:55 2010
@@ -18,9 +18,7 @@
 
 import java.net.URLClassLoader;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 /**
  * Test cases for the {@link Enum} class equals method.
@@ -38,12 +36,6 @@
     public void setUp() {
     }
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(EnumEqualsTest.class);
-        suite.setName("Enum equals Tests");
-        return suite;
-    }
-
     //-----------------------------------------------------------------------
     static final class CarColorEnum extends Enum {
         public static final CarColorEnum BLACK = new CarColorEnum("black");

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumTest.java Tue Feb  2 13:29:55 2010
@@ -27,9 +27,7 @@
 import java.util.Map;
 
 import junit.framework.AssertionFailedError;
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 import org.apache.commons.lang.SerializationUtils;
 
@@ -52,12 +50,6 @@
     public void setUp() {
     }
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(EnumTest.class);
-        suite.setName("Enum Tests");
-        return suite;
-    }
-
     public void testName() {
         assertEquals("Red", ColorEnum.RED.getName());
         assertEquals("Green", ColorEnum.GREEN.getName());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/EnumUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -22,9 +22,7 @@
 import java.util.List;
 import java.util.Map;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 /**
  * Test cases for the {@link Enum} class.
@@ -42,12 +40,6 @@
     public void setUp() {
     }
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(EnumUtilsTest.class);
-        suite.setName("EnumUtils Tests");
-        return suite;
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new EnumUtils());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/ValuedEnumTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/ValuedEnumTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/ValuedEnumTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/enums/ValuedEnumTest.java Tue Feb  2 13:29:55 2010
@@ -21,9 +21,7 @@
 import java.util.List;
 import java.util.Map;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 import org.apache.commons.lang.SerializationUtils;
 
@@ -43,12 +41,6 @@
     public void setUp() {
     }
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ValuedEnumTest.class);
-        suite.setName("ValuedEnum Tests");
-        return suite;
-    }
-
     public void testName() {
         assertEquals("Red", ValuedColorEnum.RED.getName());
         assertEquals("Green", ValuedColorEnum.GREEN.getName());

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/ExceptionUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/ExceptionUtilsTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/ExceptionUtilsTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/ExceptionUtilsTest.java Tue Feb  2 13:29:55 2010
@@ -28,8 +28,6 @@
 import java.util.List;
 
 import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestSuite;
 
 import org.apache.commons.lang.SystemUtils;
 
@@ -71,9 +69,6 @@
         super(name);
     }
 
-    public static Test suite() {
-        return new TestSuite(ExceptionUtilsTest.class);
-    }
 
     public void setUp() {
         withoutCause = createExceptionWithoutCause();

Modified: commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/NestableDelegateTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/NestableDelegateTest.java?rev=905628&r1=905627&r2=905628&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/NestableDelegateTest.java (original)
+++ commons/proper/lang/branches/LANG_2_X/src/test/java/org/apache/commons/lang/exception/NestableDelegateTest.java Tue Feb  2 13:29:55 2010
@@ -22,10 +22,6 @@
 import java.io.PrintStream;
 import java.io.PrintWriter;
 
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
-
 /**
  * Tests the org.apache.commons.lang.exception.NestableDelegate class.
  *
@@ -58,11 +54,6 @@
         lineSeparator = System.getProperty("line.separator");
     }
     
-    public static Test suite()
-    {
-        return new TestSuite(NestableDelegateTest.class);
-    }
-    
     /**
      * Tear down instance variables required by this test case.
      */
@@ -574,11 +565,6 @@
         }
         return i;
     }
-    
-    public static void main(String args[])
-    {
-        TestRunner.run(suite());
-    }
 }
 
 /**



Mime
View raw message