1 package de.fu_berlin.ties.classify;
2
3 import junit.framework.TestCase;
4
5 import java.util.HashSet;
6 import java.util.Set;
7
8 import de.fu_berlin.ties.TiesConfiguration;
9 import de.fu_berlin.ties.classify.MetaClassifier;
10
11
12 /***
13 * Generated by JUnitDoclet, a tool provided by
14 * ObjectFab GmbH under LGPL.
15 * Please see www.junitdoclet.org, www.gnu.org
16 * and www.objectfab.de for informations about
17 * the tool, the licence and the authors.
18 */
19
20
21 public class MetaClassifierTest
22
23 extends TestCase
24
25 {
26
27 MetaClassifier metaclassifier = null;
28
29
30 public MetaClassifierTest(String name) {
31
32 super(name);
33
34 }
35
36 public de.fu_berlin.ties.classify.MetaClassifier createInstance() throws Exception {
37
38 final Set<String> classes = new HashSet<String>();
39 classes.add("A");
40 classes.add("B");
41 classes.add("C");
42 return new MetaClassifier(classes, null, null,
43 new String[] {"Multi", "Winnow"}, 2, new String[] {"Winnow"},
44 null, TiesConfiguration.CONF);
45
46 }
47
48 protected void setUp() throws Exception {
49
50 super.setUp();
51 metaclassifier = createInstance();
52
53 }
54
55 protected void tearDown() throws Exception {
56
57 metaclassifier = null;
58 super.tearDown();
59
60 }
61
62 public void testDestroy() throws Exception {
63
64
65 }
66
67 public void testReset() throws Exception {
68
69
70 }
71
72 public void testToElement() throws Exception {
73
74
75 }
76
77 public void testToString() throws Exception {
78
79
80 }
81
82
83
84 /***
85 * JUnitDoclet moves marker to this method, if there is not match
86 * for them in the regenerated code and if the marker is not empty.
87 * This way, no test gets lost when regenerating after renaming.
88 * Method testVault is supposed to be empty.
89 */
90 public void testVault() throws Exception {
91
92
93 }
94
95 public static void main(String[] args) {
96
97 junit.textui.TestRunner.run(MetaClassifierTest.class);
98
99 }
100 }