1 47 48 package org.jfree.junit; 49 50 import junit.framework.Test; 51 import junit.framework.TestCase; 52 import junit.framework.TestSuite; 53 54 import org.jfree.date.junit.DatePackageTests; 55 import org.jfree.io.junit.IOPackageTests; 56 import org.jfree.text.junit.TextPackageTests; 57 import org.jfree.ui.junit.UIPackageTests; 58 import org.jfree.util.junit.UtilPackageTests; 59 60 63 public class JCommonTestSuite extends TestCase { 64 65 70 public static Test suite() { 71 final TestSuite suite = new TestSuite("JCommon"); 72 suite.addTest(DatePackageTests.suite()); 73 suite.addTest(IOPackageTests.suite()); 74 suite.addTest(TextPackageTests.suite()); 75 suite.addTest(UIPackageTests.suite()); 76 suite.addTest(UtilPackageTests.suite()); 77 return suite; 78 } 79 80 85 public JCommonTestSuite(final String name) { 86 super(name); 87 } 88 89 94 public static void main(String [] args) { 95 junit.textui.TestRunner.run(suite()); 96 } 97 98 } 99 | Popular Tags |