1   package de.fu_berlin.ties.classify.winnow;
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.classify.winnow.Winnow;
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 WinnowTest
21  // JUnitDoclet begin extends_implements
22  extends TestCase
23  // JUnitDoclet end extends_implements
24  {
25    // JUnitDoclet begin class
26    Winnow winnowclassifier = null;
27    public final static Set<String> ALL_CLASSES = new HashSet<String>();
28    static {
29        ALL_CLASSES.add("speaker");
30        ALL_CLASSES.add("location");
31        ALL_CLASSES.add("stime");
32        ALL_CLASSES.add("other");
33    }
34    // JUnitDoclet end class
35    
36    public WinnowTest(String name) {
37      // JUnitDoclet begin method WinnowTest
38      super(name);
39      // JUnitDoclet end method WinnowTest
40    }
41    
42    public de.fu_berlin.ties.classify.winnow.Winnow createInstance() throws Exception {
43      // JUnitDoclet begin method testcase.createInstance
44      return new de.fu_berlin.ties.classify.winnow.Winnow(ALL_CLASSES);
45      // JUnitDoclet end method testcase.createInstance
46    }
47    
48    protected void setUp() throws Exception {
49      // JUnitDoclet begin method testcase.setUp
50      super.setUp();
51      winnowclassifier = createInstance();
52      // JUnitDoclet end method testcase.setUp
53    }
54    
55    protected void tearDown() throws Exception {
56      // JUnitDoclet begin method testcase.tearDown
57      winnowclassifier = null;
58      super.tearDown();
59      // JUnitDoclet end method testcase.tearDown
60    }
61    
62    public void testDestroy() throws Exception {
63      // JUnitDoclet begin method destroy
64      // JUnitDoclet end method destroy
65    }
66    
67    public void testGetDemotion() throws Exception {
68      // JUnitDoclet begin method getDemotion
69      // JUnitDoclet end method getDemotion
70    }
71    
72    public void testGetPromotion() throws Exception {
73      // JUnitDoclet begin method getPromotion
74      // JUnitDoclet end method getPromotion
75    }
76    
77    public void testIsBalanced() throws Exception {
78      // JUnitDoclet begin method isBalanced
79      // JUnitDoclet end method isBalanced
80    }
81    
82    public void testGetThresholdThickness() throws Exception {
83      // JUnitDoclet begin method getThresholdThickness
84      // JUnitDoclet end method getThresholdThickness
85    }
86    
87    public void testReset() throws Exception {
88      // JUnitDoclet begin method reset
89      // JUnitDoclet end method reset
90    }
91    
92    public void testShowFeatureWeights() throws Exception {
93      // JUnitDoclet begin method showFeatureWeights
94      // JUnitDoclet end method showFeatureWeights
95    }
96    
97    public void testToElement() throws Exception {
98      // JUnitDoclet begin method toElement
99      // JUnitDoclet end method toElement
100   }
101   
102   public void testToString() throws Exception {
103     // JUnitDoclet begin method toString
104     // JUnitDoclet end method toString
105   }
106   
107   
108   
109   /***
110   * JUnitDoclet moves marker to this method, if there is not match
111   * for them in the regenerated code and if the marker is not empty.
112   * This way, no test gets lost when regenerating after renaming.
113   * Method testVault is supposed to be empty.
114   */
115   public void testVault() throws Exception {
116     // JUnitDoclet begin method testcase.testVault
117     // JUnitDoclet end method testcase.testVault
118   }
119   
120   public static void main(String[] args) {
121     // JUnitDoclet begin method testcase.main
122     junit.textui.TestRunner.run(WinnowTest.class);
123     // JUnitDoclet end method testcase.main
124   }
125 }