commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r892118 [1/2] - in /commons/proper/lang/trunk/src/test/org/apache/commons/lang3: ./ builder/ exception/ math/ mutable/ reflect/ text/ time/
Date Fri, 18 Dec 2009 03:39:28 GMT
Author: sebb
Date: Fri Dec 18 03:39:13 2009
New Revision: 892118

URL: http://svn.apache.org/viewvc?rev=892118&view=rev
Log:
Remove unnecessary main() and suite() methods from tests
Also remove setUp() and tearDown() methods with no useful code.

Modified:
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ArrayUtilsRemoveTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ArrayUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/BitFieldTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/BooleanUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharEncodingTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharRangeTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharSetTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharSetUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ClassUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/EnumUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/LocaleUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ObjectUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/RandomStringUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/SerializationUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringEscapeUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsIsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsStartsEndsWithTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsSubstringTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsTrimEmptyTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/SystemUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ValidateTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/WordUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/CompareToBuilderTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/DefaultToStringStyleTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/EqualsBuilderTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/HashCodeBuilderAndEqualsBuilderTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/HashCodeBuilderTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/MultiLineToStringStyleTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/NoFieldNamesToStringStyleTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/SimpleToStringStyleTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/StandardToStringStyleTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/ToStringBuilderTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/ToStringStyleTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/exception/ExceptionUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/math/FractionTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/math/NumberUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableBooleanTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableByteTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableDoubleTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableFloatTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableIntTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableLongTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableObjectTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableShortTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/ConstructorUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/FieldUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/MethodUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/CompositeFormatTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrBuilderTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrLookupTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrMatcherTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrSubstitutorTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrTokenizerTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateFormatUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsFragmentTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsRoundingTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/FastDateFormatTest.java
    commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/StopWatchTest.java

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ArrayUtilsRemoveTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ArrayUtilsRemoveTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ArrayUtilsRemoveTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ArrayUtilsRemoveTest.java Fri Dec 18 03:39:13 2009
@@ -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/trunk/src/test/org/apache/commons/lang3/ArrayUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ArrayUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ArrayUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ArrayUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.ArrayUtils}.
@@ -47,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new ArrayUtils());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/BitFieldTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/BitFieldTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/BitFieldTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/BitFieldTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3;
 
-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/trunk/src/test/org/apache/commons/lang3/BooleanUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/BooleanUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/BooleanUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/BooleanUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.BooleanUtils}.
@@ -37,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new BooleanUtils());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharEncodingTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharEncodingTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharEncodingTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharEncodingTest.java Fri Dec 18 03:39:13 2009
@@ -17,10 +17,7 @@
 
 package org.apache.commons.lang3;
 
-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/trunk/src/test/org/apache/commons/lang3/CharRangeTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharRangeTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharRangeTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharRangeTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.CharRange}.
@@ -37,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testClass() {
         assertEquals(true, Modifier.isPublic(CharRange.class.getModifiers()));

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharSetTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharSetTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharSetTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharSetTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.CharSet}.
@@ -38,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testClass() {
         assertEquals(true, Modifier.isPublic(CharSet.class.getModifiers()));

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharSetUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharSetUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharSetUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharSetUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.CharSetUtils}.
@@ -38,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new CharSetUtils());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/CharUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.CharUtils}.
@@ -40,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new CharUtils());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ClassUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ClassUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ClassUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ClassUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -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,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     private static class Inner {
     }
     

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/EnumUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/EnumUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/EnumUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/EnumUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -21,18 +21,10 @@
 import java.util.List;
 import java.util.Map;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 public class EnumUtilsTest extends TestCase {
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(EnumUtilsTest.class);
-        suite.setName("EnumUtils Tests");
-        return suite;
-    }
-
     public void testConstructable() {
         // enforce public constructor
         new EnumUtils();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/LocaleUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/LocaleUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/LocaleUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/LocaleUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -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,24 +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;
-    }
-
     @Override
     public void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ObjectUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ObjectUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ObjectUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ObjectUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -21,10 +21,7 @@
 import java.util.Calendar;
 import java.util.Date;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang3.ObjectUtils}.
@@ -43,26 +40,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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new ObjectUtils());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/RandomStringUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/RandomStringUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/RandomStringUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/RandomStringUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -20,10 +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.lang3.RandomStringUtils}.
  *
@@ -40,26 +36,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.
-     */
-    @Override
-    public void setUp() {
-    }
-    
-    /**
-     * Tear down instance variables required by this test case.
-     */
-    @Override
-    public void tearDown() {
-    }
-    
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new RandomStringUtils());
@@ -346,9 +322,5 @@
         // just to be complete
         assertEquals(orig, copy);
     }
-
-    public static void main(String args[]) {
-        TestRunner.run(suite());
-    }
 }
 

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/SerializationUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/SerializationUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/SerializationUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/SerializationUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.SerializationUtils}.
@@ -53,16 +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;
-    }
-
     @Override
     protected void setUp() throws Exception {
         super.setUp();
@@ -74,11 +61,6 @@
         iMap.put("BAR", iInteger);
     }
 
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new SerializationUtils());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringEscapeUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringEscapeUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringEscapeUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringEscapeUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -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/trunk/src/test/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.StringUtils} - Substring methods
@@ -41,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     public void testEquals() {

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsIsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsIsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsIsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsIsTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang3.StringUtils} - Substring methods
@@ -34,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     public void testIsAlpha() {

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsStartsEndsWithTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsStartsEndsWithTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsStartsEndsWithTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsStartsEndsWithTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang3.StringUtils} - StartsWith/EndsWith methods
@@ -38,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     /**

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsSubstringTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsSubstringTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsSubstringTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsSubstringTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang3.StringUtils} - Substring methods
@@ -40,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
 

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -23,10 +23,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.lang3.StringUtils}.
@@ -96,26 +93,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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new StringUtils());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsTrimEmptyTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsTrimEmptyTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsTrimEmptyTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/StringUtilsTrimEmptyTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang3.StringUtils} - Trim/Empty methods
@@ -35,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testIsEmpty() {
         assertEquals(true, StringUtils.isEmpty(null));

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/SystemUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/SystemUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/SystemUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/SystemUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.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,16 +176,6 @@
         return OS_NAME.startsWith(osNamePrefix) && OS_VERSION.startsWith(osVersionPrefix);
     }
 
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new SystemUtils());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ValidateTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ValidateTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ValidateTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/ValidateTest.java Fri Dec 18 03:39:13 2009
@@ -27,10 +27,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.lang3.Validate}.
  *
@@ -44,26 +42,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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testIsTrue1() {
         Validate.isTrue(true);

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/WordUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/WordUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/WordUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/WordUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -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/trunk/src/test/org/apache/commons/lang3/builder/CompareToBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/CompareToBuilderTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/CompareToBuilderTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/CompareToBuilderTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.builder.CompareToBuilder}.
@@ -32,27 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
+    public CompareToBuilderTest(String name) {
+        super(name);
     }
 
     //-----------------------------------------------------------------------

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/DefaultToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/DefaultToStringStyleTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/DefaultToStringStyleTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/DefaultToStringStyleTest.java Fri Dec 18 03:39:13 2009
@@ -19,12 +19,9 @@
 import java.util.ArrayList;
 import java.util.HashMap;
 
-import org.apache.commons.lang3.builder.ToStringStyleTest.Person;
-
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
+
+import org.apache.commons.lang3.builder.ToStringStyleTest.Person;
 
 /**
  * Unit tests {@link org.apache.commons.lang3.builder.DefaultToStringStyleTest}.
@@ -41,16 +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;
-    }
-
     @Override
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/EqualsBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/EqualsBuilderTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/EqualsBuilderTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/EqualsBuilderTest.java Fri Dec 18 03:39:13 2009
@@ -18,10 +18,7 @@
 
 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.lang3.builder.EqualsBuilder}.
@@ -38,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     static class TestObject {

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/HashCodeBuilderAndEqualsBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/HashCodeBuilderAndEqualsBuilderTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/HashCodeBuilderAndEqualsBuilderTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/HashCodeBuilderAndEqualsBuilderTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3.builder;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Tests {@link org.apache.commons.lang3.builder.HashCodeBuilder} and
@@ -39,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     public void testInteger(boolean testTransients) {

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/HashCodeBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/HashCodeBuilderTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/HashCodeBuilderTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/HashCodeBuilderTest.java Fri Dec 18 03:39:13 2009
@@ -17,10 +17,7 @@
 
 package org.apache.commons.lang3.builder;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests {@link org.apache.commons.lang3.builder.HashCodeBuilder}.
@@ -58,26 +55,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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     // -----------------------------------------------------------------------
 
     public void testConstructorEx1() {

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/MultiLineToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/MultiLineToStringStyleTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/MultiLineToStringStyleTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/MultiLineToStringStyleTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.SystemUtils;
 import org.apache.commons.lang3.builder.ToStringStyleTest.Person;
@@ -42,16 +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;
-    }
-
     @Override
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/NoFieldNamesToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/NoFieldNamesToStringStyleTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/NoFieldNamesToStringStyleTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/NoFieldNamesToStringStyleTest.java Fri Dec 18 03:39:13 2009
@@ -19,12 +19,9 @@
 import java.util.ArrayList;
 import java.util.HashMap;
 
-import org.apache.commons.lang3.builder.ToStringStyleTest.Person;
-
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
+
+import org.apache.commons.lang3.builder.ToStringStyleTest.Person;
 
 /**
  * Unit tests {@link org.apache.commons.lang3.builder.NoFieldNamesToStringStyleTest}.
@@ -41,16 +38,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;
-    }
-
     @Override
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/SimpleToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/SimpleToStringStyleTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/SimpleToStringStyleTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/SimpleToStringStyleTest.java Fri Dec 18 03:39:13 2009
@@ -19,12 +19,9 @@
 import java.util.ArrayList;
 import java.util.HashMap;
 
-import org.apache.commons.lang3.builder.ToStringStyleTest.Person;
-
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
+
+import org.apache.commons.lang3.builder.ToStringStyleTest.Person;
 
 /**
  * Unit tests {@link org.apache.commons.lang3.builder.SimpleToStringStyleTest}.
@@ -40,16 +37,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;
-    }
-
     @Override
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/StandardToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/StandardToStringStyleTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/StandardToStringStyleTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/StandardToStringStyleTest.java Fri Dec 18 03:39:13 2009
@@ -19,12 +19,9 @@
 import java.util.ArrayList;
 import java.util.HashMap;
 
-import org.apache.commons.lang3.builder.ToStringStyleTest.Person;
-
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
+
+import org.apache.commons.lang3.builder.ToStringStyleTest.Person;
 
 /**
  * Unit tests {@link org.apache.commons.lang3.builder.ToStringStyle}.
@@ -56,16 +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;
-    }
-
     @Override
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/ToStringBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/ToStringBuilderTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/ToStringBuilderTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/ToStringBuilderTest.java Fri Dec 18 03:39:13 2009
@@ -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.lang3.builder.ToStringBuilder}.
@@ -42,26 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
 
     public void testConstructorEx1() {

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/ToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/ToStringStyleTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/ToStringStyleTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/builder/ToStringStyleTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3.builder;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Test case for ToStringStyle.
@@ -33,21 +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;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
     private static class ToStringStyleImpl extends ToStringStyle {
     }
 

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/exception/ExceptionUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/exception/ExceptionUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/exception/ExceptionUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/exception/ExceptionUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -28,9 +28,7 @@
 import java.util.List;
 
 import junit.framework.Assert;
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 import org.apache.commons.lang3.SystemUtils;
 
@@ -72,10 +70,6 @@
         super(name);
     }
 
-    public static Test suite() {
-        return new TestSuite(ExceptionUtilsTest.class);
-    }
-
     @Override
     public void setUp() {
         withoutCause = createExceptionWithoutCause();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/math/FractionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/math/FractionTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/math/FractionTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/math/FractionTest.java Fri Dec 18 03:39:13 2009
@@ -18,9 +18,7 @@
  */
 package org.apache.commons.lang3.math;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 /**
  * Test cases for the {@link Fraction} class
@@ -37,16 +35,6 @@
         super(name);
     }
 
-    public static Test suite() {
-        TestSuite suite = new TestSuite(FractionTest.class);
-        suite.setName("Fraction Tests");
-        return suite;
-    }
-    
-    @Override
-    public void setUp() {
-    }
-
     //--------------------------------------------------------------------------
     
     public void testConstants() {

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/math/NumberUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/math/NumberUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/math/NumberUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/math/NumberUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -21,10 +21,7 @@
 import java.math.BigDecimal;
 import java.math.BigInteger;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 import org.apache.commons.lang3.SystemUtils;
 
@@ -46,16 +43,6 @@
         super(name);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-    
-    public static Test suite() {
-        TestSuite suite = new TestSuite(NumberUtilsTest.class);
-        suite.setName("NumberUtils Tests");
-        return suite;
-    }
-
     //-----------------------------------------------------------------------
     public void testConstructor() {
         assertNotNull(new NumberUtils());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableBooleanTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableBooleanTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableBooleanTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableBooleanTest.java Fri Dec 18 03:39:13 2009
@@ -17,10 +17,7 @@
 
 package org.apache.commons.lang3.mutable;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * JUnit tests.
@@ -32,14 +29,6 @@
  */
 public class MutableBooleanTest extends TestCase {
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(MutableBooleanTest.class);
-    }
-
     public MutableBooleanTest(String testName) {
         super(testName);
     }

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableByteTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableByteTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableByteTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableByteTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3.mutable;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * JUnit tests.
@@ -33,14 +30,6 @@
         super(testName);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(MutableByteTest.class);
-    }
-
     // ----------------------------------------------------------------
     public void testConstructors() {
         assertEquals((byte) 0, new MutableByte().byteValue());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableDoubleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableDoubleTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableDoubleTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableDoubleTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3.mutable;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * JUnit tests.
@@ -33,14 +30,6 @@
         super(testName);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(MutableDoubleTest.class);
-    }
-
     // ----------------------------------------------------------------
     public void testConstructors() {
         assertEquals(0d, new MutableDouble().doubleValue(), 0.0001d);

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableFloatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableFloatTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableFloatTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableFloatTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3.mutable;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * JUnit tests.
@@ -33,14 +30,6 @@
         super(testName);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(MutableFloatTest.class);
-    }
-
     // ----------------------------------------------------------------
     public void testConstructors() {
         assertEquals(0f, new MutableFloat().floatValue(), 0.0001f);

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableIntTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableIntTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableIntTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableIntTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3.mutable;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * JUnit tests.
@@ -33,14 +30,6 @@
         super(testName);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(MutableIntTest.class);
-    }
-
     // ----------------------------------------------------------------
     public void testConstructors() {
         assertEquals(0, new MutableInt().intValue());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableLongTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableLongTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableLongTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableLongTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3.mutable;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * JUnit tests.
@@ -33,14 +30,6 @@
         super(testName);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(MutableLongTest.class);
-    }
-
     // ----------------------------------------------------------------
     public void testConstructors() {
         assertEquals(0, new MutableLong().longValue());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableObjectTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableObjectTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableObjectTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableObjectTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3.mutable;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * JUnit tests.
@@ -33,14 +30,6 @@
         super(testName);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(MutableObjectTest.class);
-    }
-
     // ----------------------------------------------------------------
     public void testConstructors() {
         assertEquals(null, new MutableObject<String>().getValue());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableShortTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableShortTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableShortTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/mutable/MutableShortTest.java Fri Dec 18 03:39:13 2009
@@ -16,10 +16,7 @@
  */
 package org.apache.commons.lang3.mutable;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * JUnit tests.
@@ -33,14 +30,6 @@
         super(testName);
     }
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(MutableShortTest.class);
-    }
-
     // ----------------------------------------------------------------
     public void testConstructors() {
         assertEquals((short) 0, new MutableShort().shortValue());

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/ConstructorUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/ConstructorUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/ConstructorUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/ConstructorUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -21,9 +21,7 @@
 import java.util.HashMap;
 import java.util.Map;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 import org.apache.commons.lang3.ArrayUtils;
 import org.apache.commons.lang3.math.NumberUtils;
@@ -80,16 +78,6 @@
         classCache = new HashMap<Class<?>, Class<?>[]>();
     }
 
-    /**
-     * Run the test cases as a suite.
-     * @return the Test
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ConstructorUtilsTest.class);
-        suite.setName("ConstructorUtils Tests");
-        return suite;
-    }
-
     @Override
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/FieldUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/FieldUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/FieldUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/FieldUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -18,6 +18,8 @@
 
 import java.lang.reflect.Field;
 
+import junit.framework.TestCase;
+
 import org.apache.commons.lang3.reflect.testbed.Ambig;
 import org.apache.commons.lang3.reflect.testbed.Foo;
 import org.apache.commons.lang3.reflect.testbed.PrivatelyShadowedChild;
@@ -26,10 +28,6 @@
 import org.apache.commons.lang3.reflect.testbed.StaticContainer;
 import org.apache.commons.lang3.reflect.testbed.StaticContainerChild;
 
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
 /**
  * Unit tests FieldUtils
  * @author mbenson
@@ -49,16 +47,6 @@
     private PrivatelyShadowedChild privatelyShadowedChild;
     private Class<?> parentClass = PublicChild.class.getSuperclass();
 
-    /**
-     * Run the test cases as a suite.
-     * @return the Test
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(FieldUtilsTest.class);
-        suite.setName("FieldUtils Tests");
-        return suite;
-    }
-
     @Override
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/MethodUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/MethodUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/MethodUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/reflect/MethodUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -21,9 +21,7 @@
 import java.util.HashMap;
 import java.util.Map;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 import org.apache.commons.lang3.ArrayUtils;
 import org.apache.commons.lang3.math.NumberUtils;
@@ -104,16 +102,6 @@
         classCache = new HashMap<Class<?>, Class<?>[]>();
     }
 
-    /**
-     * Run the test cases as a suite.
-     * @return the Test
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(MethodUtilsTest.class);
-        suite.setName("MethodUtils Tests");
-        return suite;
-    }
-
     @Override
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/CompositeFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/CompositeFormatTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/CompositeFormatTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/CompositeFormatTest.java Fri Dec 18 03:39:13 2009
@@ -23,10 +23,7 @@
 import java.text.SimpleDateFormat;
 import java.util.Locale;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests for {@link org.apache.commons.lang3.text.CompositeFormat}.
@@ -34,26 +31,6 @@
 public class CompositeFormatTest extends TestCase {
 
     /**
-     * Main method.
-     * 
-     * @param args  command line arguments, ignored
-     */
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    /**
-     * Return a new test suite containing this test case.
-     * 
-     * @return a new test suite containing this test case
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(CompositeFormatTest.class);
-        suite.setName("CompositeFormat Tests");
-        return suite;
-    }
-
-    /**
      * Create a new test case with the specified name.
      * 
      * @param name

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/ExtendedMessageFormatTest.java Fri Dec 18 03:39:13 2009
@@ -32,11 +32,9 @@
 import java.util.Locale;
 import java.util.Map;
 
-import org.apache.commons.lang3.SystemUtils;
-
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
+
+import org.apache.commons.lang3.SystemUtils;
 
 /**
  * Test case for {@link ExtendedMessageFormat}.
@@ -49,17 +47,6 @@
     private final Map<String, FormatFactory> registry = new HashMap<String, FormatFactory>();
 
     /**
-     * Return a new test suite containing this test case.
-     * 
-     * @return a new test suite containing this test case
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(ExtendedMessageFormatTest.class);
-        suite.setName("ExtendedMessageFormat Tests");
-        return suite;
-    }
-
-    /**
      * Create a new test case.
      *
      * @param name The name of the test
@@ -75,11 +62,6 @@
         registry.put("upper", new UpperCaseFormatFactory());
     }
 
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     /**
      * Test extended formats.
      */

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrBuilderAppendInsertTest.java Fri Dec 18 03:39:13 2009
@@ -22,10 +22,7 @@
 import java.util.Collections;
 import java.util.Iterator;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 import org.apache.commons.lang3.SystemUtils;
 
@@ -48,26 +45,6 @@
     };
 
     /**
-     * Main method.
-     * 
-     * @param args  command line arguments, ignored
-     */
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    /**
-     * Return a new test suite containing this test case.
-     * 
-     * @return a new test suite containing this test case
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StrBuilderAppendInsertTest.class);
-        suite.setName("StrBuilder Tests");
-        return suite;
-    }
-
-    /**
      * Create a new test case with the specified name.
      * 
      * @param name  the name

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrBuilderTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrBuilderTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrBuilderTest.java Fri Dec 18 03:39:13 2009
@@ -21,10 +21,7 @@
 import java.io.Writer;
 import java.util.Arrays;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 import org.apache.commons.lang3.ArrayUtils;
 
@@ -37,26 +34,6 @@
 public class StrBuilderTest extends TestCase {
 
     /**
-     * Main method.
-     * 
-     * @param args  command line arguments, ignored
-     */
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    /**
-     * Return a new test suite containing this test case.
-     * 
-     * @return a new test suite containing this test case
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StrBuilderTest.class);
-        suite.setName("StrBuilder Tests");
-        return suite;
-    }
-
-    /**
      * Create a new test case with the specified name.
      * 
      * @param name

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrLookupTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrLookupTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrLookupTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrLookupTest.java Fri Dec 18 03:39:13 2009
@@ -20,10 +20,7 @@
 import java.util.HashMap;
 import java.util.Map;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Test class for StrLookup.
@@ -32,36 +29,6 @@
  */
 public class StrLookupTest extends TestCase {
 
-    /**
-     * Main method.
-     * 
-     * @param args  command line arguments, ignored
-     */
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    /**
-     * Return a new test suite containing this test case.
-     * 
-     * @return a new test suite containing this test case
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StrLookupTest.class);
-        suite.setName("StrLookup Tests");
-        return suite;
-    }
-
-    @Override
-    protected void setUp() throws Exception {
-        super.setUp();
-    }
-
-    @Override
-    protected void tearDown() throws Exception {
-        super.tearDown();
-    }
-
     //-----------------------------------------------------------------------
     public void testNoneLookup() {
         assertEquals(null, StrLookup.noneLookup().lookup(null));

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrMatcherTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrMatcherTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrMatcherTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrMatcherTest.java Fri Dec 18 03:39:13 2009
@@ -17,10 +17,7 @@
 
 package org.apache.commons.lang3.text;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * Unit tests for {@link org.apache.commons.lang3.text.StrMatcher}.
@@ -34,26 +31,6 @@
     private static final char[] BUFFER2 = "abcdef".toCharArray();
 
     /**
-     * Main method.
-     * 
-     * @param args  command line arguments, ignored
-     */
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    /**
-     * Return a new test suite containing this test case.
-     * 
-     * @return a new test suite containing this test case
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StrMatcherTest.class);
-        suite.setName("StrMatcher Tests");
-        return suite;
-    }
-
-    /**
      * Create a new test case with the specified name.
      * 
      * @param name  the name

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrSubstitutorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrSubstitutorTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrSubstitutorTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrSubstitutorTest.java Fri Dec 18 03:39:13 2009
@@ -20,10 +20,7 @@
 import java.util.HashMap;
 import java.util.Map;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 import org.apache.commons.lang3.mutable.MutableObject;
 
@@ -37,26 +34,6 @@
 
     private Map<String, String> values;
 
-    /**
-     * Main method.
-     * 
-     * @param args  command line arguments, ignored
-     */
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    /**
-     * Return a new test suite containing this test case.
-     * 
-     * @return a new test suite containing this test case
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StrSubstitutorTest.class);
-        suite.setName("StrSubstitutor Tests");
-        return suite;
-    }
-
     @Override
     protected void setUp() throws Exception {
         super.setUp();

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrTokenizerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrTokenizerTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrTokenizerTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/text/StrTokenizerTest.java Fri Dec 18 03:39:13 2009
@@ -22,10 +22,7 @@
 import java.util.List;
 import java.util.NoSuchElementException;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 import org.apache.commons.lang3.ArrayUtils;
 import org.apache.commons.lang3.ObjectUtils;
@@ -41,16 +38,6 @@
 
     private static final String TSV_SIMPLE_FIXTURE = "A\tb\tc";
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(StrTokenizerTest.class);
-        suite.setName("TokenizerTest Tests");
-        return suite;
-    }
-
     /**
      * JUnit constructor.
      * 

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateFormatUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateFormatUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateFormatUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateFormatUtilsTest.java Fri Dec 18 03:39:13 2009
@@ -22,10 +22,7 @@
 import java.util.Locale;
 import java.util.TimeZone;
 
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
 
 /**
  * TestCase for DateFormatUtils.
@@ -38,16 +35,6 @@
  */
 public class DateFormatUtilsTest extends TestCase {
 
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        TestSuite suite = new TestSuite(DateFormatUtilsTest.class);
-        suite.setName("DateFormatUtils Tests");
-        return suite;
-    }
-
     public DateFormatUtilsTest(String s) {
         super(s);
     }



Mime
View raw message