Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 15893 invoked from network); 18 Dec 2009 03:40:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Dec 2009 03:40:03 -0000 Received: (qmail 19831 invoked by uid 500); 18 Dec 2009 03:40:02 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 19645 invoked by uid 500); 18 Dec 2009 03:40:02 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 19627 invoked by uid 99); 18 Dec 2009 03:40:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 03:40:01 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 03:39:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4DFFF2388A74; Fri, 18 Dec 2009 03:39:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r892118 [2/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 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091218033934.4DFFF2388A74@eris.apache.org> Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsFragmentTest.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsFragmentTest.java?rev=892118&r1=892117&r2=892118&view=diff ============================================================================== --- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsFragmentTest.java (original) +++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsFragmentTest.java Fri Dec 18 03:39:13 2009 @@ -19,18 +19,10 @@ import java.util.Calendar; import java.util.Date; -import junit.framework.Test; import junit.framework.TestCase; -import junit.framework.TestSuite; public class DateUtilsFragmentTest extends TestCase { - public static Test suite() { - TestSuite suite = new TestSuite(DateUtilsFragmentTest.class); - suite.setName("DateUtils Fragment Tests"); - return suite; - } - private static final int months = 7; // second final prime before 12 private static final int days = 23; // second final prime before 31 (and valid) private static final int hours = 19; // second final prime before 24 Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsRoundingTest.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsRoundingTest.java?rev=892118&r1=892117&r2=892118&view=diff ============================================================================== --- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsRoundingTest.java (original) +++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsRoundingTest.java Fri Dec 18 03:39:13 2009 @@ -23,8 +23,6 @@ import java.util.Locale; import junit.framework.TestCase; -import junit.framework.Test; -import junit.framework.TestSuite; /** * These Unit-tests will check all possible extremes when using some rounding-methods of DateUtils. @@ -43,12 +41,6 @@ // TODO: Add DateUtils.ceil()-tests if method is available public class DateUtilsRoundingTest extends TestCase { - public static Test suite() { - TestSuite suite = new TestSuite(DateUtilsRoundingTest.class); - suite.setName("DateUtils Rounding Tests"); - return suite; - } - DateFormat dateTimeParser; Date januaryOneDate; Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsTest.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff ============================================================================== --- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsTest.java (original) +++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DateUtilsTest.java Fri Dec 18 03:39:13 2009 @@ -30,10 +30,7 @@ import java.util.TimeZone; import junit.framework.AssertionFailedError; -import junit.framework.Test; import junit.framework.TestCase; -import junit.framework.TestSuite; -import junit.textui.TestRunner; import org.apache.commons.lang3.SystemUtils; @@ -87,16 +84,6 @@ super(name); } - public static void main(String[] args) { - TestRunner.run(suite()); - } - - public static Test suite() { - TestSuite suite = new TestSuite(DateUtilsTest.class); - suite.setName("DateUtils Tests"); - return suite; - } - @Override protected void setUp() throws Exception { super.setUp(); @@ -151,11 +138,6 @@ TimeZone.setDefault(defaultZone); } - @Override - protected void tearDown() throws Exception { - super.tearDown(); - } - //----------------------------------------------------------------------- public void testConstructor() { assertNotNull(new DateUtils()); Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DurationFormatUtilsTest.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DurationFormatUtilsTest.java?rev=892118&r1=892117&r2=892118&view=diff ============================================================================== --- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DurationFormatUtilsTest.java (original) +++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/DurationFormatUtilsTest.java Fri Dec 18 03:39:13 2009 @@ -22,10 +22,7 @@ import java.util.Calendar; import java.util.TimeZone; -import junit.framework.Test; import junit.framework.TestCase; -import junit.framework.TestSuite; -import junit.textui.TestRunner; /** * TestCase for DurationFormatUtils. @@ -38,16 +35,6 @@ */ public class DurationFormatUtilsTest extends TestCase { - public static void main(String[] args) { - TestRunner.run(suite()); - } - - public static Test suite() { - TestSuite suite = new TestSuite(DurationFormatUtilsTest.class); - suite.setName("DurationFormatUtils Tests"); - return suite; - } - public DurationFormatUtilsTest(String s) { super(s); } Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/FastDateFormatTest.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/FastDateFormatTest.java?rev=892118&r1=892117&r2=892118&view=diff ============================================================================== --- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/FastDateFormatTest.java (original) +++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/FastDateFormatTest.java Fri Dec 18 03:39:13 2009 @@ -23,10 +23,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; import org.apache.commons.lang3.SerializationUtils; @@ -45,27 +42,6 @@ super(name); } - public static void main(String[] args) { - TestRunner.run(suite()); - } - - public static Test suite() { - TestSuite suite = new TestSuite(FastDateFormatTest.class); - suite.setName("FastDateFormat Tests"); - - return suite; - } - - @Override - protected void setUp() throws Exception { - super.setUp(); - } - - @Override - protected void tearDown() throws Exception { - super.tearDown(); - } - public void test_getInstance() { FastDateFormat format1 = FastDateFormat.getInstance(); FastDateFormat format2 = FastDateFormat.getInstance(); Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/StopWatchTest.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/StopWatchTest.java?rev=892118&r1=892117&r2=892118&view=diff ============================================================================== --- commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/StopWatchTest.java (original) +++ commons/proper/lang/trunk/src/test/org/apache/commons/lang3/time/StopWatchTest.java Fri Dec 18 03:39:13 2009 @@ -17,10 +17,7 @@ package org.apache.commons.lang3.time; import junit.framework.Assert; -import junit.framework.Test; import junit.framework.TestCase; -import junit.framework.TestSuite; -import junit.textui.TestRunner; /** * TestCase for StopWatch. @@ -30,16 +27,6 @@ */ public class StopWatchTest extends TestCase { - public static void main(String[] args) { - TestRunner.run(suite()); - } - - public static Test suite() { - TestSuite suite = new TestSuite(StopWatchTest.class); - suite.setName("StopWatch Tests"); - return suite; - } - public StopWatchTest(String s) { super(s); }