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 testGetBackgroundClass() throws Exception {
61      // JUnitDoclet begin method getBackgroundClass
62      // JUnitDoclet end method getBackgroundClass
63    }
64    
65    public void testToString() throws Exception {
66      // JUnitDoclet begin method toString
67      // JUnitDoclet end method toString
68    }
69    
70    public void testReset() throws Exception {
71      // JUnitDoclet begin method reset
72      // JUnitDoclet end method reset
73    }
74    
75    
76    
77    /***
78    * JUnitDoclet moves marker to this method, if there is not match
79    * for them in the regenerated code and if the marker is not empty.
80    * This way, no test gets lost when regenerating after renaming.
81    * Method testVault is supposed to be empty.
82    */
83    public void testVault() throws Exception {
84      // JUnitDoclet begin method testcase.testVault
85      // JUnitDoclet end method testcase.testVault
86    }
87    
88    public static void main(String[] args) {
89      // JUnitDoclet begin method testcase.main
90      junit.textui.TestRunner.run(MultiBinaryClassifierTest.class);
91      // JUnitDoclet end method testcase.main
92    }
93  }