Line | |
---|
1 | package weka; |
---|
2 | |
---|
3 | import junit.framework.Test; |
---|
4 | import junit.framework.TestCase; |
---|
5 | import junit.framework.TestSuite; |
---|
6 | |
---|
7 | /** |
---|
8 | * Test class for all tests in this directory. Run from the command line |
---|
9 | * with:<p> |
---|
10 | * java weka.AllTests |
---|
11 | * |
---|
12 | * @author <a href="mailto:len@reeltwo.com">Len Trigg</a> |
---|
13 | * @author FracPete (fracpete at waikato dot ac dot nz) |
---|
14 | * @version $Revision: 1.6 $ |
---|
15 | */ |
---|
16 | public class AllTests extends TestSuite { |
---|
17 | |
---|
18 | public static Test suite() { |
---|
19 | TestSuite suite = new TestSuite(); |
---|
20 | |
---|
21 | // Core components |
---|
22 | suite.addTest(weka.core.AllTests.suite()); |
---|
23 | |
---|
24 | // associators |
---|
25 | suite.addTest(weka.associations.AllTests.suite()); |
---|
26 | |
---|
27 | // attribute selection |
---|
28 | suite.addTest(weka.attributeSelection.AllTests.suite()); |
---|
29 | |
---|
30 | // classifiers |
---|
31 | suite.addTest(weka.classifiers.AllTests.suite()); |
---|
32 | |
---|
33 | // clusterers |
---|
34 | suite.addTest(weka.clusterers.AllTests.suite()); |
---|
35 | |
---|
36 | // data generators |
---|
37 | suite.addTest(weka.datagenerators.AllTests.suite()); |
---|
38 | |
---|
39 | // estimators |
---|
40 | //suite.addTest(weka.estimators.AllTests.suite()); |
---|
41 | |
---|
42 | // filters |
---|
43 | suite.addTest(weka.filters.AllTests.suite()); |
---|
44 | |
---|
45 | // High level applications |
---|
46 | //suite.addTest(weka.experiment.AllTests.suite()); |
---|
47 | //suite.addTest(weka.gui.AllTests.suite()); |
---|
48 | |
---|
49 | return suite; |
---|
50 | } |
---|
51 | |
---|
52 | public static void main(String []args) { |
---|
53 | junit.textui.TestRunner.run(suite()); |
---|
54 | } |
---|
55 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.