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 MultiBinaryClassifierTest
21  // JUnitDoclet begin extends_implements
22  extends TestCase
23  // JUnitDoclet end extends_implements
24  {
25    // JUnitDoclet begin class
26    MultiBinaryClassifier multibinaryclassifier = null;
27    // JUnitDoclet end class
28    
29    public MultiBinaryClassifierTest(String name) {
30      // JUnitDoclet begin method MultiBinaryClassifierTest
31      super(name);
32      // JUnitDoclet end method MultiBinaryClassifierTest
33    }
34    
35    public de.fu_berlin.ties.classify.MultiBinaryClassifier 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 MultiBinaryClassifier(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      multibinaryclassifier = createInstance();
50      // JUnitDoclet end method testcase.setUp
51    }
52    
53    protected void tearDown() throws Exception {
54      // JUnitDoclet begin method testcase.tearDown
55      multibinaryclassifier = 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 testGetBackgroundClass() throws Exception {
66      // JUnitDoclet begin method getBackgroundClass
67      // JUnitDoclet end method getBackgroundClass
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    public void testReset() throws Exception {
81      // JUnitDoclet begin method reset
82      // JUnitDoclet end method reset
83    }
84    
85    
86    
87    /***
88    * JUnitDoclet moves marker to this method, if there is not match
89    * for them in the regenerated code and if the marker is not empty.
90    * This way, no test gets lost when regenerating after renaming.
91    * Method testVault is supposed to be empty.
92    */
93    public void testVault() throws Exception {
94      // JUnitDoclet begin method testcase.testVault
95      // JUnitDoclet end method testcase.testVault
96    }
97    
98    public static void main(String[] args) {
99      // JUnitDoclet begin method testcase.main
100     junit.textui.TestRunner.run(MultiBinaryClassifierTest.class);
101     // JUnitDoclet end method testcase.main
102   }
103 }