1   package de.fu_berlin.ties.extract;
2   
3   import junit.framework.TestCase;
4   // JUnitDoclet begin import
5   import org.apache.commons.configuration.BaseConfiguration;
6   import org.apache.commons.configuration.Configuration;
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 TargetStructureTest
19  // JUnitDoclet begin extends_implements
20  extends TestCase
21  // JUnitDoclet end extends_implements
22  {
23    // JUnitDoclet begin class
24    TargetStructure targetstructure = null;
25    // JUnitDoclet end class
26    
27    public TargetStructureTest(String name) {
28      // JUnitDoclet begin method TargetStructureTest
29      super(name);
30      // JUnitDoclet end method TargetStructureTest
31    }
32    
33    public de.fu_berlin.ties.extract.TargetStructure createInstance() throws Exception {
34      // JUnitDoclet begin method testcase.createInstance
35      final Configuration conf = new BaseConfiguration();
36      conf.addProperty(TargetStructure.CONFIG_TARGET_CLASSES,
37          "person, location, stime, etime");
38      return new de.fu_berlin.ties.extract.TargetStructure(conf);
39      // JUnitDoclet end method testcase.createInstance
40    }
41    
42    protected void setUp() throws Exception {
43      // JUnitDoclet begin method testcase.setUp
44      super.setUp();
45      targetstructure = createInstance();
46      // JUnitDoclet end method testcase.setUp
47    }
48    
49    protected void tearDown() throws Exception {
50      // JUnitDoclet begin method testcase.tearDown
51      targetstructure = null;
52      super.tearDown();
53      // JUnitDoclet end method testcase.tearDown
54    }
55    
56    public void testClassForName() throws Exception {
57      // JUnitDoclet begin method classForName
58      // JUnitDoclet end method classForName
59    }
60    
61    public void testGetBaseClassNames() throws Exception {
62      // JUnitDoclet begin method getBaseClassNames
63      // JUnitDoclet end method getBaseClassNames
64    }
65    
66    public void testGetBaseTargetClasses() throws Exception {
67      // JUnitDoclet begin method getBaseTargetClasses
68      // JUnitDoclet end method getBaseTargetClasses
69    }
70    
71    public void testEquals() throws Exception {
72      // JUnitDoclet begin method equals
73      // JUnitDoclet end method equals
74    }
75    
76    public void testGetClassNames() throws Exception {
77      // JUnitDoclet begin method getClassNames
78      // JUnitDoclet end method getClassNames
79    }
80    
81    public void testGetTargetClasses() throws Exception {
82      // JUnitDoclet begin method getTargetClasses
83      // JUnitDoclet end method getTargetClasses
84    }
85    
86    public void testHashCode() throws Exception {
87      // JUnitDoclet begin method hashCode
88      // JUnitDoclet end method hashCode
89    }
90    
91    public void testToString() throws Exception {
92      // JUnitDoclet begin method toString
93      // JUnitDoclet end method toString
94    }
95    
96    public void testValidClassName() throws Exception {
97      // JUnitDoclet begin method validClassName
98      // JUnitDoclet end method validClassName
99    }
100   
101   
102   
103   /***
104   * JUnitDoclet moves marker to this method, if there is not match
105   * for them in the regenerated code and if the marker is not empty.
106   * This way, no test gets lost when regenerating after renaming.
107   * Method testVault is supposed to be empty.
108   */
109   public void testVault() throws Exception {
110     // JUnitDoclet begin method testcase.testVault
111     // JUnitDoclet end method testcase.testVault
112   }
113   
114   public static void main(String[] args) {
115     // JUnitDoclet begin method testcase.main
116     junit.textui.TestRunner.run(TargetStructureTest.class);
117     // JUnitDoclet end method testcase.main
118   }
119 }