1   package de.fu_berlin.ties.context;
2   
3   import junit.framework.TestCase;
4   // JUnitDoclet begin import
5   import de.fu_berlin.ties.context.SimpleRepresentation;
6   import de.fu_berlin.ties.text.TokenizerFactory;
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 SimpleRepresentationTest
19  // JUnitDoclet begin extends_implements
20  extends TestCase
21  // JUnitDoclet end extends_implements
22  {
23    // JUnitDoclet begin class
24    SimpleRepresentation simplerepresentation = null;
25    // JUnitDoclet end class
26    
27    public SimpleRepresentationTest(String name) {
28      // JUnitDoclet begin method SimpleRepresentationTest
29      super(name);
30      // JUnitDoclet end method SimpleRepresentationTest
31    }
32    
33    public de.fu_berlin.ties.context.SimpleRepresentation createInstance() throws Exception {
34      // JUnitDoclet begin method testcase.createInstance
35      return new de.fu_berlin.ties.context.SimpleRepresentation(4, 4, 100, null,
36              TokenizerFactory.createAlnumTokenizer(""));
37      // JUnitDoclet end method testcase.createInstance
38    }
39    
40    protected void setUp() throws Exception {
41      // JUnitDoclet begin method testcase.setUp
42      super.setUp();
43      simplerepresentation = createInstance();
44      // JUnitDoclet end method testcase.setUp
45    }
46    
47    protected void tearDown() throws Exception {
48      // JUnitDoclet begin method testcase.tearDown
49      simplerepresentation = null;
50      super.tearDown();
51      // JUnitDoclet end method testcase.tearDown
52    }
53    
54    public void testToString() throws Exception {
55      // JUnitDoclet begin method toString
56      // JUnitDoclet end method toString
57    }
58    
59    
60    
61    /***
62    * JUnitDoclet moves marker to this method, if there is not match
63    * for them in the regenerated code and if the marker is not empty.
64    * This way, no test gets lost when regenerating after renaming.
65    * Method testVault is supposed to be empty.
66    */
67    public void testVault() throws Exception {
68      // JUnitDoclet begin method testcase.testVault
69      // JUnitDoclet end method testcase.testVault
70    }
71    
72    public static void main(String[] args) {
73      // JUnitDoclet begin method testcase.main
74      junit.textui.TestRunner.run(SimpleRepresentationTest.class);
75      // JUnitDoclet end method testcase.main
76    }
77  }