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.TieClassifier;
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 TieClassifierTest
22
23 extends TestCase
24
25 {
26
27 TieClassifier tieclassifier = null;
28
29
30 public TieClassifierTest(String name) {
31
32 super(name);
33
34 }
35
36 public de.fu_berlin.ties.classify.TieClassifier 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 TieClassifier(classes, null, null,
43 new String[] {"Multi", "Winnow"}, 2, 0.99, TiesConfiguration.CONF);
44
45 }
46
47 protected void setUp() throws Exception {
48
49 super.setUp();
50 tieclassifier = createInstance();
51
52 }
53
54 protected void tearDown() throws Exception {
55
56 tieclassifier = null;
57 super.tearDown();
58
59 }
60
61 public void testDestroy() throws Exception {
62
63
64 }
65
66 public void testReset() throws Exception {
67
68
69 }
70
71 public void testToElement() throws Exception {
72
73
74 }
75
76 public void testToString() throws Exception {
77
78
79 }
80
81
82
83 /***
84 * JUnitDoclet moves marker to this method, if there is not match
85 * for them in the regenerated code and if the marker is not empty.
86 * This way, no test gets lost when regenerating after renaming.
87 * Method testVault is supposed to be empty.
88 */
89 public void testVault() throws Exception {
90
91
92 }
93
94 public static void main(String[] args) {
95
96 junit.textui.TestRunner.run(TieClassifierTest.class);
97
98 }
99 }