1   package de.fu_berlin.ties.context;
2   
3   import junit.framework.TestCase;
4   // JUnitDoclet begin import
5   import de.fu_berlin.ties.classify.feature.DefaultFeatureVector;
6   import de.fu_berlin.ties.combi.CombinationState;
7   import de.fu_berlin.ties.context.ContextDetails;
8   // JUnitDoclet end import
9   
10  /***
11  * Generated by JUnitDoclet, a tool provided by
12  * ObjectFab GmbH under LGPL.
13  * Please see www.junitdoclet.org, www.gnu.org
14  * and www.objectfab.de for informations about
15  * the tool, the licence and the authors.
16  */
17  
18  
19  public class ContextDetailsTest
20  // JUnitDoclet begin extends_implements
21  extends TestCase
22  // JUnitDoclet end extends_implements
23  {
24    // JUnitDoclet begin class
25    ContextDetails contextdetails = null;
26    // JUnitDoclet end class
27    
28    public ContextDetailsTest(String name) {
29      // JUnitDoclet begin method ContextDetailsTest
30      super(name);
31      // JUnitDoclet end method ContextDetailsTest
32    }
33    
34    public de.fu_berlin.ties.context.ContextDetails createInstance() throws Exception {
35      // JUnitDoclet begin method testcase.createInstance
36      return new ContextDetails("sample", 3, 247, true, new DefaultFeatureVector(),
37              CombinationState.OUTSIDE, true);
38      // JUnitDoclet end method testcase.createInstance
39    }
40    
41    protected void setUp() throws Exception {
42      // JUnitDoclet begin method testcase.setUp
43      super.setUp();
44      contextdetails = createInstance();
45      // JUnitDoclet end method testcase.setUp
46    }
47    
48    protected void tearDown() throws Exception {
49      // JUnitDoclet begin method testcase.tearDown
50      contextdetails = null;
51      super.tearDown();
52      // JUnitDoclet end method testcase.tearDown
53    }
54    
55    public void testGetContext() throws Exception {
56      // JUnitDoclet begin method getContext
57      // JUnitDoclet end method getContext
58    }
59    
60    public void testGetState() throws Exception {
61      // JUnitDoclet begin method getState
62      // JUnitDoclet end method getState
63    }
64    
65    public void testIsRelevant() throws Exception {
66      // JUnitDoclet begin method isRelevant
67      // JUnitDoclet end method isRelevant
68    }
69    
70    
71    
72    /***
73    * JUnitDoclet moves marker to this method, if there is not match
74    * for them in the regenerated code and if the marker is not empty.
75    * This way, no test gets lost when regenerating after renaming.
76    * Method testVault is supposed to be empty.
77    */
78    public void testVault() throws Exception {
79      // JUnitDoclet begin method testcase.testVault
80      // JUnitDoclet end method testcase.testVault
81    }
82    
83    public static void main(String[] args) {
84      // JUnitDoclet begin method testcase.main
85      junit.textui.TestRunner.run(ContextDetailsTest.class);
86      // JUnitDoclet end method testcase.main
87    }
88  }