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