1 16 package org.joda.time.format; 17 18 import junit.framework.Test; 19 import junit.framework.TestCase; 20 import junit.framework.TestSuite; 21 22 29 public class TestAll extends TestCase { 30 31 public TestAll(String testName) { 32 super(testName); 33 } 34 35 public static Test suite() { 36 TestSuite suite = new TestSuite(); 37 38 suite.addTest(TestDateTimeFormatter.suite()); 39 suite.addTest(TestDateTimeFormat.suite()); 40 suite.addTest(TestDateTimeFormatStyle.suite()); 41 suite.addTest(TestISODateTimeFormat.suite()); 42 suite.addTest(TestISODateTimeFormat_Fields.suite()); 43 suite.addTest(TestISODateTimeFormatParsing.suite()); 44 suite.addTest(TestDateTimeFormatterBuilder.suite()); 45 46 suite.addTest(TestPeriodFormatter.suite()); 47 suite.addTest(TestPeriodFormat.suite()); 48 suite.addTest(TestISOPeriodFormat.suite()); 49 suite.addTest(TestISOPeriodFormatParsing.suite()); 50 suite.addTest(TestPeriodFormatParsing.suite()); 51 suite.addTest(TestPeriodFormatterBuilder.suite()); 52 53 suite.addTest(TestTextFields.suite()); 54 55 return suite; 56 } 57 58 public static void main(String args[]) { 59 String [] testCaseName = { 60 TestAll.class.getName() 61 }; 62 junit.textui.TestRunner.main(testCaseName); 63 } 64 65 } 66 | Popular Tags |