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