01: package com.clarkware.junitperf;
02:
03: import junit.framework.Test;
04: import junit.framework.TestSuite;
05:
06: /**
07: * The <code>AllTests</code> is a <code>TestCase</code>
08: * for all JUnitPerf tests.
09: *
10: * @author <a href="mailto:mike@clarkware.com">Mike Clark</a>
11: * @author <a href="http://www.clarkware.com">Clarkware Consulting, Inc.</a>
12: */
13:
14: public class AllTests {
15:
16: public static Test suite() {
17: TestSuite suite = new TestSuite();
18: suite.addTest(LoadTestTest.suite());
19: suite.addTest(TimedTestTest.suite());
20: suite.addTest(TestFactoryTest.suite());
21: return suite;
22: }
23:
24: public static void main(String[] args) {
25: junit.textui.TestRunner.run(suite());
26: }
27: }
|