1 19 20 package org.netbeans.modules.junit; 21 import junit.framework.*; 22 23 public class JunitSuite extends TestCase { 24 25 public JunitSuite(java.lang.String testName) { 26 super(testName); 27 } 28 29 public static void main(java.lang.String [] args) { 30 junit.textui.TestRunner.run(suite()); 31 } 32 33 public static Test suite() { 34 TestSuite suite = new TestSuite("JunitSuite"); 38 suite.addTest(org.netbeans.modules.junit.RunTestActionTest.suite()); 39 suite.addTest(org.netbeans.modules.junit.TestsActionTest.suite()); 40 suite.addTest(org.netbeans.modules.junit.JUnitSettingsBeanInfoTest.suite()); 41 suite.addTest(org.netbeans.modules.junit.JUnitProgressTest.suite()); 42 suite.addTest(org.netbeans.modules.junit.TestRunnerTest.suite()); 43 suite.addTest(org.netbeans.modules.junit.CreateTestActionTest.suite()); 44 suite.addTest(org.netbeans.modules.junit.JUnitCfgOfCreateTest.suite()); 45 suite.addTest(org.netbeans.modules.junit.TestCreatorTest.suite()); 46 suite.addTest(org.netbeans.modules.junit.JUnitSettingsTest.suite()); 47 suite.addTest(org.netbeans.modules.junit.OpenTestActionTest.suite()); 48 return suite; 51 52 } 53 54 } 55 | Popular Tags |