1 package de.fu_berlin.ties;
2
3 import junit.framework.TestCase;
4
5 import de.fu_berlin.ties.TiesConfiguration;
6
7
8 /***
9 * Generated by JUnitDoclet, a tool provided by
10 * ObjectFab GmbH under LGPL.
11 * Please see www.junitdoclet.org, www.gnu.org
12 * and www.objectfab.de for informations about
13 * the tool, the licence and the authors.
14 */
15
16
17 public class TiesConfigurationTest
18
19 extends TestCase
20
21 {
22
23 TiesConfiguration tiesconfiguration = null;
24
25
26 public TiesConfigurationTest(String name) {
27
28 super(name);
29
30 }
31
32 public de.fu_berlin.ties.TiesConfiguration createInstance() throws Exception {
33
34 return new de.fu_berlin.ties.TiesConfiguration();
35
36 }
37
38 protected void setUp() throws Exception {
39
40 super.setUp();
41 tiesconfiguration = createInstance();
42
43 }
44
45 protected void tearDown() throws Exception {
46
47 tiesconfiguration = null;
48 super.tearDown();
49
50 }
51
52 public void testAdaptKey() throws Exception {
53
54
55 }
56
57 public void testArrayIsEmpty() throws Exception {
58
59
60 }
61
62 public void testListIsEmpty() throws Exception {
63
64
65 }
66
67 public void testPropertyIsEmpty() throws Exception {
68
69
70 }
71
72 public void testJoinKey() throws Exception {
73
74
75 }
76
77 public void testAddConfiguration() throws Exception {
78
79
80 }
81
82 public void testAddDescriptorConfig() throws Exception {
83
84
85 }
86
87 public void testConfigureFromArgs() throws Exception {
88
89
90 }
91
92 public void testGetDescriptor() throws Exception {
93
94
95 }
96
97 public void testGetStringArray() throws Exception {
98
99
100 }
101
102 public void testFlatten() throws Exception {
103
104
105 }
106
107 public void testLoad() throws Exception {
108
109
110
111 assertEquals("tagger-chunker-english",
112 TiesConfiguration.CONF.getString("treetagger.command.en"));
113 assertEquals("''",
114 TiesConfiguration.CONF.getString("treetagger.after-eos.en"));
115
116
117
118 assertFalse(TiesConfiguration.CONF.containsKey("bla.blub"));
119 assertNull(TiesConfiguration.CONF.getString("bla.blub"));
120
121
122
123 }
124
125 public void testLocalizeKey() throws Exception {
126
127
128 }
129
130 public void testModifyProperty() throws Exception {
131
132
133 }
134
135 public void testSave() throws Exception {
136
137
138 }
139
140 public void testSortedKeys() throws Exception {
141
142
143 }
144
145 public void testSubset() throws Exception {
146
147
148 }
149
150
151
152 /***
153 * JUnitDoclet moves marker to this method, if there is not match
154 * for them in the regenerated code and if the marker is not empty.
155 * This way, no test gets lost when regenerating after renaming.
156 * Method testVault is supposed to be empty.
157 */
158 public void testVault() throws Exception {
159
160
161 }
162
163 public static void main(String[] args) {
164
165 junit.textui.TestRunner.run(TiesConfigurationTest.class);
166
167 }
168 }