1 16 package org.apache.commons.lang.time; 17 18 import junit.framework.Test; 19 import junit.framework.TestCase; 20 import junit.framework.TestSuite; 21 import junit.textui.TestRunner; 22 23 29 public class TimeTestSuite extends TestCase { 30 31 34 public TimeTestSuite(String name) { 35 super(name); 36 } 37 38 41 public static void main(String [] args) { 42 TestRunner.run(suite()); 43 } 44 45 48 public static Test suite() { 49 TestSuite suite = new TestSuite(); 50 suite.setName("Commons-Lang-Time Tests"); 51 suite.addTest(DateUtilsTest.suite()); 52 suite.addTest(DateFormatUtilsTest.suite()); 53 suite.addTest(DurationFormatUtilsTest.suite()); 54 suite.addTest(StopWatchTest.suite()); 55 suite.addTest(FastDateFormatTest.suite()); 56 return suite; 57 } 58 } 59 | Popular Tags |