cvs commit: jakarta-watchdog-4.0/src/conf servlet-gtest.xml
[email protected] 5 Aug 2002 02:36:12 -0000
| Newsgroups | gmane.comp.jakarta.watchdog.devel |
|---|---|
| Message-ID | <[email protected]> |
rlubke 2002/08/04 19:36:12
Modified: src/conf servlet-gtest.xml
Log:
- Updated test client for HttpServletRequestWrapperGetRequestURLTest
to not send cookies, but standard request-headers.
Revision Changes Path
1.46 +3 -3 jakarta-watchdog-4.0/src/conf/servlet-gtest.xml
Index: servlet-gtest.xml
===================================================================
RCS file: /home/cvs/jakarta-watchdog-4.0/src/conf/servlet-gtest.xml,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- servlet-gtest.xml 16 Jul 2002 17:08:40 -0000 1.45
+++ servlet-gtest.xml 5 Aug 2002 02:36:12 -0000 1.46
@@ -2537,7 +2537,7 @@
<watchdog request="GET /servlet-tests/hsreqw/HttpServletRequestWrapperGetRequestURLTest HTTP/1.0"
testName="HttpServletRequestWrapperGetRequestURLTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- requestHeaders="Cookie:prefix=http|Cookie:server=${host}|Cookie:port=${port}|Cookie:servletpath=_servlet-tests_hsreqw_HttpServletRequestWrapperGetRequestURLTest"
+ requestHeaders="prefix:http|server:${host}|port:${port}|servletpath:_servlet-tests_hsreqw_HttpServletRequestWrapperGetRequestURLTest"
goldenFile="${wgdir}/javax_servlet_http/HttpServletRequestWrapper/HttpServletRequestWrapperGetRequestURLTest.html"
assertion="Test for default behavior of this method to return getRequestURL() on the wrapped request object, specified in the Java Servlet Pages Specification v2.3, Sec 14"
testStrategy="Client calls a servlet who's request has been wrapped. The wrapper object writes a message to a static log file and calls the wrapped objects method. Servlet the tests the returned value and returns the result of the test plus the contents of the static log file."
@@ -6066,9 +6066,9 @@
<target name="HttpServletRequestWrapperGetRequestURLTest">
<watchdog request="GET /servlet-tests/hsreqw/HttpServletRequestWrapperGetRequestURLTest HTTP/1.0"
- testName="HttpServletRequestWrapperGetRequestURLTest" debug="0"
+ testName="HttpServletRequestWrapperGetRequestURLTest" debug="1"
host="${host}" port="${port}" exactMatch="true"
- requestHeaders="Cookie:prefix=http|Cookie:server=${host}|Cookie:port=${port}|Cookie:servletpath=_servlet-tests_hsreqw_HttpServletRequestWrapperGetRequestURLTest"
+ requestHeaders="prefix:http|server:${host}|port:${port}|servletpath:_servlet-tests_hsreqw_HttpServletRequestWrapperGetRequestURLTest"
goldenFile="${wgdir}/javax_servlet_http/HttpServletRequestWrapper/HttpServletRequestWrapperGetRequestURLTest.html"
assertion="Test for default behavior of this method to return getRequestURL() on the wrapped request object, specified in the Java Servlet Pages Specification v2.3, Sec 14"
testStrategy="Client calls a servlet who's request has been wrapped. The wrapper object writes a message to a static log file and calls the wrapped objects method. Servlet the tests the returned value and returns the result of the test plus the contents of the static log file."