1 package de.fu_berlin.ties.extract;
2
3 import junit.framework.TestCase;
4
5 import org.apache.commons.configuration.BaseConfiguration;
6 import org.apache.commons.configuration.Configuration;
7
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
20 extends TestCase
21
22 {
23
24 TargetStructure targetstructure = null;
25
26
27 public TargetStructureTest(String name) {
28
29 super(name);
30
31 }
32
33 public de.fu_berlin.ties.extract.TargetStructure createInstance() throws Exception {
34
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
40 }
41
42 protected void setUp() throws Exception {
43
44 super.setUp();
45 targetstructure = createInstance();
46
47 }
48
49 protected void tearDown() throws Exception {
50
51 targetstructure = null;
52 super.tearDown();
53
54 }
55
56 public void testClassForName() throws Exception {
57
58
59 }
60
61 public void testGetBaseClassNames() throws Exception {
62
63
64 }
65
66 public void testGetBaseTargetClasses() throws Exception {
67
68
69 }
70
71 public void testEquals() throws Exception {
72
73
74 }
75
76 public void testGetClassNames() throws Exception {
77
78
79 }
80
81 public void testGetTargetClasses() throws Exception {
82
83
84 }
85
86 public void testHashCode() throws Exception {
87
88
89 }
90
91 public void testToString() throws Exception {
92
93
94 }
95
96 public void testValidClassName() throws Exception {
97
98
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
111
112 }
113
114 public static void main(String[] args) {
115
116 junit.textui.TestRunner.run(TargetStructureTest.class);
117
118 }
119 }