1
2
3
4
5 package com.jguild.jrpm.test;
6
7 import junit.framework.Test;
8 import junit.framework.TestSuite;
9
10
11 /***
12 * All tests for jRPM
13 *
14 * @author kuss
15 */
16 public class AllTests {
17 /***
18 * Main method to call junit testrunner
19 *
20 * @param args Start arguments
21 */
22 public static void main(String[] args) {
23 junit.textui.TestRunner.run(suite());
24 }
25
26 /***
27 * Defines the test suite with all tests
28 *
29 * @return The test suite
30 */
31 public static Test suite() {
32 TestSuite suite = new TestSuite("Framework Tests");
33 suite.addTestSuite(HeaderFileParsingTest.class);
34 suite.addTestSuite(RPMFileParsingTest.class);
35 suite.addTestSuite(CPIOTestCase.class);
36
37
38 return suite;
39 }
40 }