1   package de.fu_berlin.ties.combi;
2   
3   import junit.framework.TestCase;
4   // JUnitDoclet begin import
5   import de.fu_berlin.ties.classify.Probability;
6   import de.fu_berlin.ties.combi.CombinationState;
7   // JUnitDoclet end import
8   
9   /***
10  * Generated by JUnitDoclet, a tool provided by
11  * ObjectFab GmbH under LGPL.
12  * Please see www.junitdoclet.org, www.gnu.org
13  * and www.objectfab.de for informations about
14  * the tool, the licence and the authors.
15  */
16  
17  
18  public class CombinationStateTest
19  // JUnitDoclet begin extends_implements
20  extends TestCase
21  // JUnitDoclet end extends_implements
22  {
23    // JUnitDoclet begin class
24    CombinationState combinationstate = null;
25    // JUnitDoclet end class
26    
27    public CombinationStateTest(String name) {
28      // JUnitDoclet begin method CombinationStateTest
29      super(name);
30      // JUnitDoclet end method CombinationStateTest
31    }
32    
33    public de.fu_berlin.ties.combi.CombinationState createInstance() throws Exception {
34      // JUnitDoclet begin method testcase.createInstance
35      return new CombinationState("speaker", true, false,
36              new Probability(0.95, 0.6));
37      // JUnitDoclet end method testcase.createInstance
38    }
39    
40    protected void setUp() throws Exception {
41      // JUnitDoclet begin method testcase.setUp
42      super.setUp();
43      combinationstate = createInstance();
44      // JUnitDoclet end method testcase.setUp
45    }
46    
47    protected void tearDown() throws Exception {
48      // JUnitDoclet begin method testcase.tearDown
49      combinationstate = null;
50      super.tearDown();
51      // JUnitDoclet end method testcase.tearDown
52    }
53    
54    public void testEquals() throws Exception {
55      // JUnitDoclet begin method equals
56      // JUnitDoclet end method equals
57    }
58    
59    public void testGetProbability() throws Exception {
60      // JUnitDoclet begin method getProbability
61      // JUnitDoclet end method getProbability
62    }
63    
64    public void testGetType() throws Exception {
65      // JUnitDoclet begin method getType
66      // JUnitDoclet end method getType
67    }
68    
69    public void testHashCode() throws Exception {
70      // JUnitDoclet begin method hashCode
71      // JUnitDoclet end method hashCode
72    }
73    
74    public void testIsBegin() throws Exception {
75      // JUnitDoclet begin method isBegin
76      // JUnitDoclet end method isBegin
77    }
78    
79    public void testIsDiscardPreceding() throws Exception {
80      // JUnitDoclet begin method isDiscardPreceding
81      // JUnitDoclet end method isDiscardPreceding
82    }
83    
84    public void testIsEnd() throws Exception {
85      // JUnitDoclet begin method isEnd
86      // JUnitDoclet end method isEnd
87    }
88    
89    public void testToString() throws Exception {
90      // JUnitDoclet begin method toString
91      // JUnitDoclet end method toString
92    }
93    
94    
95    
96    /***
97    * JUnitDoclet moves marker to this method, if there is not match
98    * for them in the regenerated code and if the marker is not empty.
99    * This way, no test gets lost when regenerating after renaming.
100   * Method testVault is supposed to be empty.
101   */
102   public void testVault() throws Exception {
103     // JUnitDoclet begin method testcase.testVault
104     // JUnitDoclet end method testcase.testVault
105   }
106   
107   public static void main(String[] args) {
108     // JUnitDoclet begin method testcase.main
109     junit.textui.TestRunner.run(CombinationStateTest.class);
110     // JUnitDoclet end method testcase.main
111   }
112 }