blob: 49387ab9ae1ad2f21ce0ef32a41aac281b50dc01 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
|
package org.eclipse.jst.j2ee.webapplication.test;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.eclipse.jst.j2ee.internal.webapplication.WebapplicationPackage;
import org.eclipse.jst.j2ee.webapplication.AuthConstraint;
import org.eclipse.jst.j2ee.webapplication.ContextParam;
import org.eclipse.jst.j2ee.webapplication.ErrorCodeErrorPage;
import org.eclipse.jst.j2ee.webapplication.ErrorPage;
import org.eclipse.jst.j2ee.webapplication.ExceptionTypeErrorPage;
import org.eclipse.jst.j2ee.webapplication.Filter;
import org.eclipse.jst.j2ee.webapplication.FilterMapping;
import org.eclipse.jst.j2ee.webapplication.FormLoginConfig;
import org.eclipse.jst.j2ee.webapplication.HTTPMethodType;
import org.eclipse.jst.j2ee.webapplication.InitParam;
import org.eclipse.jst.j2ee.webapplication.JSPType;
import org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping;
import org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList;
import org.eclipse.jst.j2ee.webapplication.LoginConfig;
import org.eclipse.jst.j2ee.webapplication.MimeMapping;
import org.eclipse.jst.j2ee.webapplication.RoleNameType;
import org.eclipse.jst.j2ee.webapplication.SecurityConstraint;
import org.eclipse.jst.j2ee.webapplication.Servlet;
import org.eclipse.jst.j2ee.webapplication.ServletMapping;
import org.eclipse.jst.j2ee.webapplication.ServletType;
import org.eclipse.jst.j2ee.webapplication.SessionConfig;
import org.eclipse.jst.j2ee.webapplication.TagLibRef;
import org.eclipse.jst.j2ee.webapplication.URLPatternType;
import org.eclipse.jst.j2ee.webapplication.UserDataConstraint;
import org.eclipse.jst.j2ee.webapplication.WebApp;
import org.eclipse.jst.j2ee.webapplication.WebResourceCollection;
import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
import org.eclipse.jst.j2ee.webapplication.WelcomeFile;
import org.eclipse.jst.j2ee.webapplication.WelcomeFileList;
public class WebapplicationFactoryTest extends TestCase {
public static Test suite() {
return new TestSuite(WebapplicationFactoryTest.class);
}
private WebapplicationFactory getInstance() {
return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
}
public void test_createWebApp() {
WebapplicationFactory objWebapplicationFactory = getInstance();
WebApp retValue = null;
retValue = objWebapplicationFactory.createWebApp();
assertNotNull(retValue);
}
public void test_createContextParam() {
WebapplicationFactory objWebapplicationFactory = getInstance();
ContextParam retValue = null;
retValue = objWebapplicationFactory.createContextParam();
assertNotNull(retValue);
}
public void test_createErrorPage() {
WebapplicationFactory objWebapplicationFactory = getInstance();
ErrorPage retValue = null;
retValue = objWebapplicationFactory.createErrorPage();
assertNotNull(retValue);
}
public void test_createTagLibRef() {
WebapplicationFactory objWebapplicationFactory = getInstance();
TagLibRef retValue = null;
retValue = objWebapplicationFactory.createTagLibRef();
assertNotNull(retValue);
}
public void test_createExceptionTypeErrorPage() {
WebapplicationFactory objWebapplicationFactory = getInstance();
ExceptionTypeErrorPage retValue = null;
retValue = objWebapplicationFactory.createExceptionTypeErrorPage();
assertNotNull(retValue);
}
public void test_createErrorCodeErrorPage() {
WebapplicationFactory objWebapplicationFactory = getInstance();
ErrorCodeErrorPage retValue = null;
retValue = objWebapplicationFactory.createErrorCodeErrorPage();
assertNotNull(retValue);
}
public void test_createWelcomeFileList() {
WebapplicationFactory objWebapplicationFactory = getInstance();
WelcomeFileList retValue = null;
retValue = objWebapplicationFactory.createWelcomeFileList();
assertNotNull(retValue);
}
public void test_createWelcomeFile() {
WebapplicationFactory objWebapplicationFactory = getInstance();
WelcomeFile retValue = null;
retValue = objWebapplicationFactory.createWelcomeFile();
assertNotNull(retValue);
}
public void test_createSecurityConstraint() {
WebapplicationFactory objWebapplicationFactory = getInstance();
SecurityConstraint retValue = null;
retValue = objWebapplicationFactory.createSecurityConstraint();
assertNotNull(retValue);
}
public void test_createWebResourceCollection() {
WebapplicationFactory objWebapplicationFactory = getInstance();
WebResourceCollection retValue = null;
retValue = objWebapplicationFactory.createWebResourceCollection();
assertNotNull(retValue);
}
public void test_createURLPatternType() {
WebapplicationFactory objWebapplicationFactory = getInstance();
URLPatternType retValue = null;
retValue = objWebapplicationFactory.createURLPatternType();
assertNotNull(retValue);
}
public void test_createAuthConstraint() {
WebapplicationFactory objWebapplicationFactory = getInstance();
AuthConstraint retValue = null;
retValue = objWebapplicationFactory.createAuthConstraint();
assertNotNull(retValue);
}
public void test_createUserDataConstraint() {
WebapplicationFactory objWebapplicationFactory = getInstance();
UserDataConstraint retValue = null;
retValue = objWebapplicationFactory.createUserDataConstraint();
assertNotNull(retValue);
}
public void test_createLoginConfig() {
WebapplicationFactory objWebapplicationFactory = getInstance();
LoginConfig retValue = null;
retValue = objWebapplicationFactory.createLoginConfig();
assertNotNull(retValue);
}
public void test_createFormLoginConfig() {
WebapplicationFactory objWebapplicationFactory = getInstance();
FormLoginConfig retValue = null;
retValue = objWebapplicationFactory.createFormLoginConfig();
assertNotNull(retValue);
}
public void test_createMimeMapping() {
WebapplicationFactory objWebapplicationFactory = getInstance();
MimeMapping retValue = null;
retValue = objWebapplicationFactory.createMimeMapping();
assertNotNull(retValue);
}
public void test_createSessionConfig() {
WebapplicationFactory objWebapplicationFactory = getInstance();
SessionConfig retValue = null;
retValue = objWebapplicationFactory.createSessionConfig();
assertNotNull(retValue);
}
public void test_createServletMapping() {
WebapplicationFactory objWebapplicationFactory = getInstance();
ServletMapping retValue = null;
retValue = objWebapplicationFactory.createServletMapping();
assertNotNull(retValue);
}
public void test_createServlet() {
WebapplicationFactory objWebapplicationFactory = getInstance();
Servlet retValue = null;
retValue = objWebapplicationFactory.createServlet();
assertNotNull(retValue);
}
public void test_createServletType() {
WebapplicationFactory objWebapplicationFactory = getInstance();
ServletType retValue = null;
retValue = objWebapplicationFactory.createServletType();
assertNotNull(retValue);
}
public void test_createJSPType() {
WebapplicationFactory objWebapplicationFactory = getInstance();
JSPType retValue = null;
retValue = objWebapplicationFactory.createJSPType();
assertNotNull(retValue);
}
public void test_createInitParam() {
WebapplicationFactory objWebapplicationFactory = getInstance();
InitParam retValue = null;
retValue = objWebapplicationFactory.createInitParam();
assertNotNull(retValue);
}
public void test_createFilter() {
WebapplicationFactory objWebapplicationFactory = getInstance();
Filter retValue = null;
retValue = objWebapplicationFactory.createFilter();
assertNotNull(retValue);
}
public void test_createFilterMapping() {
WebapplicationFactory objWebapplicationFactory = getInstance();
FilterMapping retValue = null;
retValue = objWebapplicationFactory.createFilterMapping();
assertNotNull(retValue);
}
public void test_createLocalEncodingMappingList() {
WebapplicationFactory objWebapplicationFactory = getInstance();
LocalEncodingMappingList retValue = null;
retValue = objWebapplicationFactory
.createLocalEncodingMappingList();
assertNotNull(retValue);
}
public void test_createLocalEncodingMapping() {
WebapplicationFactory objWebapplicationFactory = getInstance();
LocalEncodingMapping retValue = null;
retValue = objWebapplicationFactory.createLocalEncodingMapping();
assertNotNull(retValue);
}
public void test_createHTTPMethodType() {
WebapplicationFactory objWebapplicationFactory = getInstance();
HTTPMethodType retValue = null;
retValue = objWebapplicationFactory.createHTTPMethodType();
assertNotNull(retValue);
}
public void test_createRoleNameType() {
WebapplicationFactory objWebapplicationFactory = getInstance();
RoleNameType retValue = null;
retValue = objWebapplicationFactory.createRoleNameType();
assertNotNull(retValue);
}
public void test_getWebapplicationPackage() {
WebapplicationFactory objWebapplicationFactory = getInstance();
WebapplicationPackage retValue = null;
retValue = objWebapplicationFactory.getWebapplicationPackage();
assertNotNull(retValue);
}
}
|