1 43 44 package org.jfree.data.time.junit; 45 46 47 import junit.framework.Test; 48 import junit.framework.TestCase; 49 import junit.framework.TestSuite; 50 51 56 public class DataTimePackageTests extends TestCase { 57 58 63 public static Test suite() { 64 TestSuite suite = new TestSuite("org.jfree.data.time"); 65 suite.addTestSuite(DateRangeTests.class); 66 suite.addTestSuite(DayTests.class); 67 suite.addTestSuite(FixedMillisecondTests.class); 68 suite.addTestSuite(HourTests.class); 69 suite.addTestSuite(MinuteTests.class); 70 suite.addTestSuite(MillisecondTests.class); 71 suite.addTestSuite(MonthTests.class); 72 suite.addTestSuite(MovingAverageTests.class); 73 suite.addTestSuite(QuarterTests.class); 74 suite.addTestSuite(SecondTests.class); 75 suite.addTestSuite(SimpleTimePeriodTests.class); 76 suite.addTestSuite(TimePeriodAnchorTests.class); 77 suite.addTestSuite(TimePeriodValueTests.class); 78 suite.addTestSuite(TimePeriodValuesTests.class); 79 suite.addTestSuite(TimePeriodValuesCollectionTests.class); 80 suite.addTestSuite(TimeSeriesCollectionTests.class); 81 suite.addTestSuite(TimeSeriesTests.class); 82 suite.addTestSuite(TimeSeriesDataItemTests.class); 83 suite.addTestSuite(TimeTableXYDatasetTests.class); 84 suite.addTestSuite(WeekTests.class); 85 suite.addTestSuite(YearTests.class); 86 return suite; 87 } 88 89 94 public DataTimePackageTests(String name) { 95 super(name); 96 } 97 98 103 public static void main(String [] args) { 104 junit.textui.TestRunner.run(suite()); 105 } 106 107 } 108 | Popular Tags |