1 package net.firstpartners.nounit.test; 2 3 26 27 import junit.framework.*; 28 29 32 33 public class AllTests extends TestCase{ 34 35 39 public AllTests() { 40 super(""); 41 } 42 43 47 public AllTests(String name) { 48 super(name); 49 } 50 51 55 public static void main(String args[]) { 56 57 junit.textui.TestRunner.run(suite()); 58 59 } 60 61 65 public static Test suite() { 66 67 TestSuite suite= new TestSuite("All JUnit Tests"); 68 69 suite.addTest(net.firstpartners.nounit.utility.test.TestNoUnitException.suite()); 71 suite.addTest(net.firstpartners.nounit.utility.test.TestCollectionUtil.suite()); 72 suite.addTest(net.firstpartners.nounit.utility.test.TestDirectoryWalker.suite()); 73 suite.addTest(net.firstpartners.nounit.utility.test.TestXmlUtil.suite()); 74 75 76 suite.addTest(net.firstpartners.nounit.ui.command.test.TestCommandLineProcessor.suite()); 78 79 suite.addTest(net.firstpartners.nounit.snippet.test.TestSnippets.suite()); 81 suite.addTest(net.firstpartners.nounit.snippet.test.TestSnippetMethod.suite()); 82 suite.addTest(net.firstpartners.nounit.snippet.test.TestSnippetClass.suite()); 83 suite.addTest(net.firstpartners.nounit.snippet.test.TestSnippetPackage.suite()); 84 suite.addTest(net.firstpartners.nounit.snippet.test.TestSnippetProject.suite()); 85 suite.addTest(net.firstpartners.nounit.snippet.test.TestSnippetCalls.suite()); 86 87 suite.addTest(net.firstpartners.nounit.reader.bytecode.test.TestByteCodeMethodSnippetFactory.suite()); 89 suite.addTest(net.firstpartners.nounit.reader.bytecode.test.TestByteCodeClassSnippetFactory.suite()); 90 suite.addTest(net.firstpartners.nounit.reader.bytecode.test.TestByteCodePackageSnippetFactory.suite()); 91 suite.addTest(net.firstpartners.nounit.reader.bytecode.test.TestByteCodeProjectSnippetFactory.suite()); 92 suite.addTest(net.firstpartners.nounit.reader.bytecode.test.TestByteCodeCallsSnippetFactory.suite()); 93 94 suite.addTest(net.firstpartners.nounit.report.process.test.TestCallChainer.suite()); 96 97 return suite; 98 99 } 100 101 102 103 } 104 | Popular Tags |