-
Notifications
You must be signed in to change notification settings - Fork 78
/
HttpServletRequestWrapperTests.java
831 lines (767 loc) · 22.2 KB
/
HttpServletRequestWrapperTests.java
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
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
/*
* Copyright (c) 2007, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the
* Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
* version 2 with the GNU Classpath Exception, which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
*/
/*
* $Id$
*/
package servlet.tck.api.jakarta_servlet_http.httpservletrequestwrapper;
import servlet.tck.common.request.HttpRequestClient;
import servlet.tck.common.servlets.CommonServlets;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
public class HttpServletRequestWrapperTests extends HttpRequestClient {
@BeforeEach
public void setupServletName() throws Exception {
setServletName("TestServlet");
}
/**
* Deployment for the test
*/
@Deployment(testable = false)
public static WebArchive getTestArchive() throws Exception {
return ShrinkWrap.create(WebArchive.class, "servlet_jsh_HSReqWrapper_web.war").addAsLibraries(CommonServlets.getCommonServletsArchive()).addClasses(SetCharacterEncodingTest.class, SetCharacterEncodingTestWrapper.class, SetCharacterEncodingUnsupportedEncodingExceptionTest.class, SetCharacterEncodingUnsupportedEncodingExceptionTestWrapper.class, TCKHttpSessionIDListener.class, TestServlet.class).setWebXML(HttpServletRequestWrapperTests.class.getResource("servlet_jsh_HSReqWrapper_web.xml"));
}
/*
* @class.setup_props: webServerHost; webServerPort; ts_home;
*
*/
/* Run test */
// --------------------------- ServletRequestWrapper
// ---------------------------
/*
* @testName: getAttributeNamesTest
*
* @assertion_ids: Servlet:JAVADOC:385
*
* @test_Strategy: Servlet wraps the request. Servlet then sets some
* attributes and verifies they can be retrieved.
*/
/*
* @testName: getAttributeTest
*
* @assertion_ids: Servlet:JAVADOC:384
*
* @test_Strategy: Servlet wraps the request. Servlet then sets an attribute
* and retrieves it.
*/
/*
* @testName: getCharacterEncodingTest
*
* @assertion_ids: Servlet:JAVADOC:386
*
* @test_Strategy: Client sets an encoding. Servlet wraps the request. Servlet
* then tries to retrieve it.
*/
/*
* @testName: getContentLengthTest
*
* @assertion_ids: Servlet:JAVADOC:389
*
* @test_Strategy: Servlet wraps the request. Servlet then compares this
* length to the actual length of the content body read in using
* getInputStream
*/
/*
* @testName: getContentTypeTest
*
* @assertion_ids: Servlet:JAVADOC:390; Servlet:SPEC:34;
*
* @test_Strategy: Client sets the content type. Servlet wraps the request.
* Servlet reads it from wrapped request.
*
*/
/*
* @testName: getInputStreamTest
*
* @assertion_ids: Servlet:JAVADOC:391
*
* @test_Strategy: Servlet wraps the request. Servlet then tries to read the
* input stream.
*/
/*
* @testName: getLocaleTest
*
* @assertion_ids: Servlet:JAVADOC:407
*
* @test_Strategy: Client specifics a locale, Servlet wraps the request.
* Servlet then verifies it.
*/
/*
* @testName: getLocalesTest
*
* @assertion_ids: Servlet:JAVADOC:408
*
* @test_Strategy: Client specifics 2 locales.Servlet wraps the request.
* Servlet then verifies it.
*/
/*
* @testName: getParameterMapTest
*
* @assertion_ids: Servlet:JAVADOC:394
*
* @test_Strategy: Client sets several parameters.Servlet wraps the request.
* Servlet then attempts to access them.
*/
/*
* @testName: getParameterNamesTest
*
* @assertion_ids: Servlet:JAVADOC:395
*
* @test_Strategy: Client sets several parameters.Servlet wraps the request.
* Servlet then attempts to access them.
*/
/*
* @testName: getParameterTest
*
* @assertion_ids: Servlet:JAVADOC:393
*
* @test_Strategy: Client sets a parameter.Servlet wraps the request. Servlet
* then retrieves parameter.
*/
/*
* @testName: getParameterValuesTest
*
* @assertion_ids: Servlet:JAVADOC:396
*
* @test_Strategy: Client sets a parameter which has 2 values.Servlet wraps
* the request. Servlet then verifies both values.
*/
/*
* @testName: getProtocolTest
*
* @assertion_ids: Servlet:JAVADOC:397
*
* @test_Strategy: Servlet wraps the request. Servlet then verifies the
* protocol used by the client
*/
/*
* @testName: getReaderTest
*
* @assertion_ids: Servlet:JAVADOC:401
*
* @test_Strategy: Client sets some content.Servlet wraps the request. Servlet
* then reads the content
*/
/*
* @testName: getRemoteAddrTest
*
* @assertion_ids: Servlet:JAVADOC:403
*
* @test_Strategy: Servlet wraps the request. Servlet then reads and verifies
* where the request originated
*/
/*
* @testName: getRemoteHostTest
*
* @assertion_ids: Servlet:JAVADOC:404
*
* @test_Strategy: Servlet wraps the request. Servlet then reads and verifies
* where the request originated
*/
/*
* @testName: getRequestDispatcherTest
*
* @assertion_ids: Servlet:JAVADOC:410
*
* @test_Strategy: Servlet wraps the request. Servlet then tries to get a
* dispatcher
*/
/*
* @testName: getSchemeTest
*
* @assertion_ids: Servlet:JAVADOC:398
*
* @test_Strategy: Servlet wraps the request. Servlet then verifies the scheme
* of the url used in the request
*/
/*
* @testName: getServerNameTest
*
* @assertion_ids: Servlet:JAVADOC:399
*
* @test_Strategy: Servlet wraps the request. Servlet then verifies the
* destination of the request
*/
/*
* @testName: getServerPortTest
*
* @assertion_ids: Servlet:JAVADOC:400
*
* @test_Strategy: Servlet wraps the request. Servlet then verifies the
* destination port of the request
*/
/*
* @testName: isSecureTest
*
* @assertion_ids: Servlet:JAVADOC:409
*
* @test_Strategy: Servlet wraps the request. Servlet then verifies the
* isSecure method for the non-secure case.
*/
/*
* @testName: removeAttributeTest
*
* @assertion_ids: Servlet:JAVADOC:406
*
* @test_Strategy: Servlet wraps the request. Servlet then adds then removes
* an attribute, then verifies it was removed.
*/
/*
* @testName: setAttributeTest
*
* @assertion_ids: Servlet:JAVADOC:405
*
* @test_Strategy: Servlet wraps the request. Servlet then adds an attribute,
* then verifies it was added
*/
/*
* @testName: setCharacterEncodingUnsupportedEncodingExceptionTest
*
* @assertion_ids: Servlet:JAVADOC:388
*
* @test_Strategy: Servlet wraps the request. Servlet then tries to set an
* invalid encoding.
*/
/*
* @testName: setCharacterEncodingTest
*
* @assertion_ids: Servlet:JAVADOC:387
*
* @test_Strategy: Servlet wraps the request. Servlet then sets a new encoding
* and tries to retrieve it.
*/
/*
* @testName: setCharacterEncodingTest1
*
* @assertion_ids: Servlet:JAVADOC:387; Servlet:JAVADOC:386; Servlet:SPEC:28;
* Servlet:SPEC:213;
*
* @test_Strategy: Servlet wraps the HttpServletRequest. HttpServletRequest
* calls getReader(); then sets a new encoding and tries to retrieve it.
* verifies that the new encoding is ignored.
*/
// ---------------------- END ServletRequestWrapper
// ----------------------------
// ------------------------ HttpServletRequestWrapper
// --------------------------
/*
* @testName: httpRequestWrapperConstructorTest
*
* @assertion_ids: Servlet:JAVADOC:355
*
* @test_Strategy: Validate an IllegalArgumentException is thrown is a null
* request is passed to the Wrapper's constructor.
*/
@Test
public void httpRequestWrapperConstructorTest() throws Exception {
TEST_PROPS.get().setProperty(APITEST, "httpRequestWrapperConstructorTest");
invoke();
}
/*
* @testName: httpRequestWrapperConstructorIllegalArgumentExceptionTest
*
* @assertion_ids: Servlet:JAVADOC:626
*
* @test_Strategy: Validate an IllegalArgumentException is thrown is a null
* request is passed to the Wrapper's constructor.
*/
@Test
public void httpRequestWrapperConstructorIllegalArgumentExceptionTest() throws Exception {
TEST_PROPS.get().setProperty(APITEST, "httpRequestWrapperConstructorIllegalArgumentExceptionTest");
invoke();
}
/*
* @testName: getAuthTypeWithoutProtectionTest
*
* @assertion_ids: Servlet:JAVADOC:356
*
* @test_Strategy: Servlet wraps the request. Servlet verifies correct result
*/
/*
* @testName: getContextPathTest
*
* @assertion_ids: Servlet:JAVADOC:366
*
* @test_Strategy: Client sets header and servlet verifies the result
*/
/*
* @testName: getCookiesTest
*
* @assertion_ids: Servlet:JAVADOC:357
*
* @test_Strategy:Client sets a cookie and servlet tries to read it
*/
/*
* @testName: getDateHeaderTest
*
* @assertion_ids: Servlet:JAVADOC:358
*
* @test_Strategy: client sets a dateheader and servlet tries to read it.
*/
/*
* @testName: getHeaderNamesTest
*
* @assertion_ids: Servlet:JAVADOC:361
*
* @test_Strategy: Client sets some headers and servlet tries to read them
*/
/*
* @testName: getHeaderTest
*
* @assertion_ids: Servlet:JAVADOC:359
*
* @test_Strategy: Client sets a header and servlet tries to read it.
*/
/*
* @testName: getHeadersTest
*
* @assertion_ids: Servlet:JAVADOC:360
*
* @test_Strategy: Client sets some headers and servlet tries to read them
*/
/*
* @testName: getIntHeaderTest
*
* @assertion_ids: Servlet:JAVADOC:362
*
* @test_Strategy: Client sets a header and servlet reads it
*/
/*
* @testName: getMethodTest
*
* @assertion_ids: Servlet:JAVADOC:363
*
* @test_Strategy: Client makes 3 calls using GET/POST/HEAD
*/
/*
* @testName: getPathInfoTest
*
* @assertion_ids: Servlet:JAVADOC:364; Servlet:SPEC:25;
*
* @test_Strategy: Servlet wraps the request. Servlet verifies path info
*/
/*
* @testName: getPathTranslatedTest
*
* @assertion_ids: Servlet:JAVADOC:365
*
* @test_Strategy: client sets extra path info and servlet verifies it
*/
/*
* @testName: getQueryStringTest
*
* @assertion_ids: Servlet:JAVADOC:367
*
* @test_Strategy: Client sets query string and servlet verifies it
*/
/*
* @testName: getRemoteUserTest
*
* @assertion_ids: Servlet:JAVADOC:368
*
* @test_Strategy: Servlet wraps the request. Servlet verifies the result of a
* non-authed user
*/
/*
* @testName: getRequestURITest
*
* @assertion_ids: Servlet:JAVADOC:372
*
* @test_Strategy: Servlet wraps the request. Servlet verifies URI data
*/
/*
* @testName: getRequestURLTest
*
* @assertion_ids: Servlet:JAVADOC:373
*
* @test_Strategy: Servlet wraps the request. Servlet verifies URL info
*/
/*
* @testName: getRequestedSessionIdNullTest
*
* @assertion_ids: Servlet:JAVADOC:371
*
* @test_Strategy: Servlet wraps the request. Servlet verifies null result
*/
/*
* @testName: getServletPathTest
*
* @assertion_ids: Servlet:JAVADOC:374; Servlet:SPEC:24;
*
* @test_Strategy: Servlet wraps the request. Servlet verifies path info
*/
/*
* @testName: getSessionTrueTest
*
* @assertion_ids: Servlet:JAVADOC:375
*
* @test_Strategy: Servlet wraps the request. Servlet verifies
* getSession(boolean) call
*/
/*
* @testName: getSessionTest
*
* @assertion_ids: Servlet:JAVADOC:376
*
* @test_Strategy: Servlet wraps the request. Servlet verifies getSession()
* call
*/
/*
* @testName: isRequestedSessionIdFromCookieTest
*
* @assertion_ids: Servlet:JAVADOC:378
*
* @test_Strategy: Access Servlet through URL; Servlet wraps the request;
* Servlet verifies API isRequestedSessionIdFromCookie return false; Negative
* test
*/
/*
* @testName: isRequestedSessionIdFromCookieTest1
*
* @assertion_ids: Servlet:JAVADOC:378
*
* @test_Strategy: Access Servlet through URL; Servlet wraps the request;
* Servlet starts a HttpSession; Client saves SessionID from Server and use it
* to access Servlet again; Servlet verifies API
* isRequestedSessionIdFromCookie return true; Positive test
*/
/*
* @testName: isRequestedSessionIdFromURLTest
*
* @assertion_ids: Servlet:JAVADOC:379
*
* @test_Strategy: Servlet wraps the request. Servlet verifies correct result
*/
/*
* @testName: isRequestedSessionIdValidTest
*
* @assertion_ids: Servlet:JAVADOC:377; Servlet:SPEC:211;
*
* @test_Strategy: Client sends request without session ID; Servlet wraps the
* request; Verifies isRequestedSessionIdValid() returns false;
*/
/*
* @testName: getRequestedSessionIdTest1
*
* @assertion_ids: Servlet:JAVADOC:371;
*
* @test_Strategy: Client sends request with a session ID; Verifies
* getRequestedSessionId() returns the same;
*/
/*
* @testName: getRequestedSessionIdTest2
*
* @assertion_ids: Servlet:JAVADOC:371;
*
* @test_Strategy: Client sends request to a servlet with a sesion ID; Servlet
* start a sesison; Verifies getRequestedSessionId() returns the same;
*/
/*
* @testName: getLocalPortTest
*
* @assertion_ids: Servlet:JAVADOC:631;
*
* @test_Strategy: Send an HttpServletRequestWrapper to server; Test Servlet
* API getLocalPort();
*/
/*
* @testName: getLocalNameTest
*
* @assertion_ids: Servlet:JAVADOC:634;
*
* @test_Strategy: Send an HttpServletRequestWrapper to server; Test Servlet
* API getLocalName();
*/
/*
* @testName: changeSessionIDTest
*
* @assertion_ids: Servlet:JAVADOC:932.1;
*
* @test_Strategy: Send an HttpServletRequest to server; Verify that
* request.changeSessionId() throws IllegalStateException when it is called
* without a session;
*/
/*
* @testName: changeSessionIDTest1
*
* @assertion_ids: Servlet:JAVADOC:304; Servlet:JAVADOC:375;
* Servlet:JAVADOC:467; Servlet:JAVADOC:476; Servlet:JAVADOC:484;
* Servlet:JAVADOC:932; Servlet:JAVADOC:935;
*
* @test_Strategy: Send an HttpServletRequest to server; Verify that
* request.changeSessionId() works.
*/
/*
* @testName: httpRequestWrapperGetRequestTest
*
* @assertion_ids: Servlet:JAVADOC:381
*
* @test_Strategy: Servlet gets wrapped response object
*/
@Test
public void httpRequestWrapperGetRequestTest() throws Exception {
TEST_PROPS.get().setProperty(APITEST, "httpRequestWrapperGetRequestTest");
invoke();
}
/*
* @testName: httpRequestWrapperSetRequestTest
*
* @assertion_ids: Servlet:JAVADOC:382
*
* @test_Strategy: Servlet sets wrapped response object
*/
@Test
public void httpRequestWrapperSetRequestTest() throws Exception {
TEST_PROPS.get().setProperty(APITEST, "httpRequestWrapperSetRequestTest");
invoke();
}
/*
* @testName: httpRequestWrapperSetRequestIllegalArgumentExceptionTest
*
* @assertion_ids: Servlet:JAVADOC:383
*
* @test_Strategy: Servlet sets wrapped response object
*/
@Test
public void httpRequestWrapperSetRequestIllegalArgumentExceptionTest() throws Exception {
TEST_PROPS.get().setProperty(APITEST, "httpRequestWrapperSetRequestIllegalArgumentExceptionTest");
invoke();
}
// ---------------------- END HttpServletRequestWrapper
// ------------------------
@Test()
public void changeSessionIDTest() throws Exception {
super.changeSessionIDTest();
}
@Test()
public void changeSessionIDTest1() throws Exception {
super.changeSessionIDTest1();
}
@Test()
public void getAttributeNamesTest() throws Exception {
super.getAttributeNamesTest();
}
@Test()
public void getAttributeTest() throws Exception {
super.getAttributeTest();
}
@Test()
public void getAuthTypeWithoutProtectionTest() throws Exception {
super.getAuthTypeWithoutProtectionTest();
}
@Test()
public void getCharacterEncodingTest() throws Exception {
super.getCharacterEncodingTest();
}
@Test()
public void getContentLengthTest() throws Exception {
super.getContentLengthTest();
}
@Test()
public void getContentTypeTest() throws Exception {
super.getContentTypeTest();
}
@Test()
public void getContextPathTest() throws Exception {
super.getContextPathTest();
}
@Test()
public void getCookiesTest() throws Exception {
super.getCookiesTest();
}
@Test()
public void getDateHeaderTest() throws Exception {
super.getDateHeaderTest();
}
@Test()
public void getHeaderNamesTest() throws Exception {
super.getHeaderNamesTest();
}
@Test()
public void getHeaderTest() throws Exception {
super.getHeaderTest();
}
@Test()
public void getHeadersTest() throws Exception {
super.getHeadersTest();
}
@Test()
public void getInputStreamTest() throws Exception {
super.getInputStreamTest();
}
@Test()
public void getIntHeaderTest() throws Exception {
super.getIntHeaderTest();
}
@Test()
public void getLocalNameTest() throws Exception {
super.getLocalNameTest();
}
@Test()
public void getLocalPortTest() throws Exception {
super.getLocalPortTest();
}
@Test()
public void getLocaleTest() throws Exception {
super.getLocaleTest();
}
@Test()
public void getLocalesTest() throws Exception {
super.getLocalesTest();
}
@Test()
public void getMethodTest() throws Exception {
super.getMethodTest();
}
@Test()
public void getParameterMapTest() throws Exception {
super.getParameterMapTest();
}
@Test()
public void getParameterNamesTest() throws Exception {
super.getParameterNamesTest();
}
@Test()
public void getParameterTest() throws Exception {
super.getParameterTest();
}
@Test()
public void getParameterValuesTest() throws Exception {
super.getParameterValuesTest();
}
@Test()
public void getPathInfoTest() throws Exception {
super.getPathInfoTest();
}
@Test()
public void getPathTranslatedTest() throws Exception {
super.getPathTranslatedTest();
}
@Test()
public void getProtocolTest() throws Exception {
super.getProtocolTest();
}
@Test()
public void getQueryStringTest() throws Exception {
super.getQueryStringTest();
}
@Test()
public void getReaderTest() throws Exception {
super.getReaderTest();
}
@Test()
public void getRemoteAddrTest() throws Exception {
super.getRemoteAddrTest();
}
@Test()
public void getRemoteHostTest() throws Exception {
super.getRemoteHostTest();
}
@Test()
public void getRemoteUserTest() throws Exception {
super.getRemoteUserTest();
}
@Test()
public void getRequestDispatcherTest() throws Exception {
super.getRequestDispatcherTest();
}
@Test()
public void getRequestURITest() throws Exception {
super.getRequestURITest();
}
@Test()
public void getRequestURLTest() throws Exception {
super.getRequestURLTest();
}
@Test()
public void getRequestedSessionIdNullTest() throws Exception {
super.getRequestedSessionIdNullTest();
}
@Test()
public void getRequestedSessionIdTest1() throws Exception {
super.getRequestedSessionIdTest1();
}
@Test()
public void getRequestedSessionIdTest2() throws Exception {
super.getRequestedSessionIdTest2();
}
@Test()
public void getSchemeTest() throws Exception {
super.getSchemeTest();
}
@Test()
public void getServerNameTest() throws Exception {
super.getServerNameTest();
}
@Test()
public void getServerPortTest() throws Exception {
super.getServerPortTest();
}
@Test()
public void getServletPathTest() throws Exception {
super.getServletPathTest();
}
@Test()
public void getSessionTest() throws Exception {
super.getSessionTest();
}
@Test()
public void getSessionTrueTest() throws Exception {
super.getSessionTrueTest();
}
@Test()
public void isRequestedSessionIdFromCookieTest() throws Exception {
super.isRequestedSessionIdFromCookieTest();
}
@Test()
public void isRequestedSessionIdFromCookieTest1() throws Exception {
super.isRequestedSessionIdFromCookieTest1();
}
@Test()
public void isRequestedSessionIdFromURLTest() throws Exception {
super.isRequestedSessionIdFromURLTest();
}
@Test()
public void isRequestedSessionIdValidTest() throws Exception {
super.isRequestedSessionIdValidTest();
}
@Test()
public void isSecureTest() throws Exception {
super.isSecureTest();
}
@Test()
public void removeAttributeTest() throws Exception {
super.removeAttributeTest();
}
@Test()
public void setAttributeTest() throws Exception {
super.setAttributeTest();
}
@Test()
public void setCharacterEncodingTest() throws Exception {
super.setCharacterEncodingTest();
}
@Test()
public void setCharacterEncodingTest1() throws Exception {
super.setCharacterEncodingTest1();
}
@Test()
public void setCharacterEncodingUnsupportedEncodingExceptionTest() throws Exception {
super.setCharacterEncodingUnsupportedEncodingExceptionTest();
}
}