rlubke 2002/07/16 10:08:41
Modified: src/conf servlet-gtest.xml
Log:
Changed expected status code from 100 to 410 to coincide with test changes.
Revision Changes Path
1.45 +14 -14 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.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- servlet-gtest.xml 27 Jun 2002 16:11:03 -0000 1.44
+++ servlet-gtest.xml 16 Jul 2002 17:08:40 -0000 1.45
@@ -2132,7 +2132,7 @@
<watchdog request="GET /servlet-tests/SendErrorTest HTTP/1.0"
testName="SendErrorTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
assertion="Sends an error response to the client using the specified
status code,specified in the Java Servlet Pages Specification v2.3, Sec 14"
testStrategy="A test for HttpServletResponse.sendError(int sc) method."
/>
@@ -2140,7 +2140,7 @@
<watchdog request="GET /servlet-tests/SendErrorIgnoreHeaderTest HTTP/1.0"
testName="SendErrorIgnoreHeaderTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
unexpectedHeaders="HttpServletResponse:sendErrorIgnoreHeader"
assertion="Verify that headers added after sendError(int) are ignored
by the container. Servlet Specification 2.3 section SRV.5.2."
testStrategy="Issue a request to target servlet which will call
sendError() and then add a header to the response. The added header should not be
visible to the client."
@@ -2157,7 +2157,7 @@
<watchdog request="GET /servlet-tests/SendError_StringTest HTTP/1.0"
testName="SendError_StringTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100" returnCodeMsg="in SendError_StringTest servlet"
+ returnCode="410" returnCodeMsg="in SendError_StringTest servlet"
assertion="Sends an error response to the client using the specified
status code and descriptive message,specified in the Java Servlet Pages Specification
v2.3, Sec 14"
testStrategy="A test for HttpServletResponse.sendError(int sc,
java.lang.String msg) method."
/>
@@ -2167,7 +2167,7 @@
<watchdog request="GET /servlet-tests/SendError_StringIgnoreHeaderTest
HTTP/1.0"
testName="SendError_StringIgnoreHeaderTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
unexpectedHeaders="HttpServletResponse:sendErrorMsgIgnoreHeader"
assertion="Verify that headers added after sendError(int,String) are
ignored by the container. Servlet Specification 2.3 section SRV.5.2."
testStrategy="Issue a request to target servlet which will call
sendError() and then add a header to the response. The added header should not be
visible to the client."
@@ -2793,7 +2793,7 @@
<watchdog request="GET
/servlet-tests/hsresw/HttpServletResponseWrapperSendErrorTest HTTP/1.0"
testName="HttpServletResponseWrapperSendErrorTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
expectHeaders="GenericResponseWrapper:sendError"
assertion="Test for default behavior of this method is to call
sendError(int sc) on the wrapped response object, specified in the Java Servlet Pages
Specification v2.3, Sec 14 - javax.servlet.HttpServletResponseWrapper.sendError(int)
method"
testStrategy="Client calls a servlet who's response has been wrapped.
The wrapper object adds a specific header to the response object and calls the
responses sendError method."
@@ -2820,7 +2820,7 @@
<watchdog request="GET
/servlet-tests/hsresw/HttpServletResponseWrapperSendErrorMsgIgnoreHeaderTest HTTP/1.0"
testName="HttpServletResponseWrapperSendErrorMsgIgnoreHeaderTest"
debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
unexpectedHeaders="GenericResponseWrapper:sendErrorMsgIgnoreHeader"
assertion="Test that headers added after a call to
sendError(int,String), will be ignored by the container and will not be sent to the
client. See Servlet Specification 2.3 section SRV.5.2."
testStrategy="Client calls a servlet whose response has been wrapped.
The wrapper object will call sendError() and then add a header. The header should not
be visible to the client."
@@ -2829,7 +2829,7 @@
<watchdog request="GET
/servlet-tests/hsresw/HttpServletResponseWrapperSendErrorIgnoreHeaderTest HTTP/1.0"
testName="HttpServletResponseWrapperSendErrorIgnoreHeaderTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
unexpectedHeaders="GenericResponseWrapper:sendErrorIgnoreHeader"
assertion="Test that headers added after a call to sendError(int), will
be ignored by the container and will not be sent to the client. See Servlet
Specification 2.3 section SRV.5.2."
testStrategy="Client calls a servlet whose response has been wrapped.
The wrapper object will call sendError() and then add a header. The header should not
be visible to the client."
@@ -5578,7 +5578,7 @@
<watchdog request="GET /servlet-tests/SendErrorTest HTTP/1.0"
testName="SendErrorTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
assertion="Sends an error response to the client using the specified
status code,specified in the Java Servlet Pages Specification v2.3, Sec 14"
testStrategy="A test for HttpServletResponse.sendError(int sc) method."
/>
@@ -5588,7 +5588,7 @@
<watchdog request="GET /servlet-tests/SendErrorIgnoreHeaderTest HTTP/1.0"
testName="SendErrorIgnoreHeaderTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
unexpectedHeaders="HttpServletResponse:sendErrorIgnoreHeader"
assertion="Verify that headers added after sendError(int) are ignored
by the container. Servlet Specification 2.3 section SRV.5.2."
testStrategy="Issue a request to target servlet which will call
sendError() and then add a header to the response. The added header should not be
visible to the client."
@@ -5606,7 +5606,7 @@
<watchdog request="GET /servlet-tests/SendError_StringTest HTTP/1.0"
testName="SendError_StringTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100" returnCodeMsg="in SendError_StringTest servlet"
+ returnCode="410" returnCodeMsg="in SendError_StringTest servlet"
assertion="Sends an error response to the client using the specified
status code and descriptive message,specified in the Java Servlet Pages Specification
v2.3, Sec 14"
testStrategy="A test for HttpServletResponse.sendError(int sc,
java.lang.String msg) method."
/>
@@ -5618,7 +5618,7 @@
<watchdog request="GET /servlet-tests/SendError_StringIgnoreHeaderTest
HTTP/1.0"
testName="SendError_StringIgnoreHeaderTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
unexpectedHeaders="HttpServletResponse:sendErrorMsgIgnoreHeader"
assertion="Verify that headers added after sendError(int,String) are
ignored by the container. Servlet Specification 2.3 section SRV.5.2."
testStrategy="Issue a request to target servlet which will call
sendError() and then add a header to the response. The added header should not be
visible to the client."
@@ -6356,7 +6356,7 @@
<watchdog request="GET
/servlet-tests/hsresw/HttpServletResponseWrapperSendErrorTest HTTP/1.0"
testName="HttpServletResponseWrapperSendErrorTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
expectHeaders="GenericResponseWrapper:sendError"
assertion="Test for default behavior of this method is to call
sendError(int sc) on the wrapped response object, specified in the Java Servlet Pages
Specification v2.3, Sec 14 - javax.servlet.HttpServletResponseWrapper.sendError(int)
method"
testStrategy="Client calls a servlet who's response has been wrapped.
The wrapper object adds a specific header to the response object and calls the
responses sendError method."
@@ -6387,7 +6387,7 @@
<watchdog request="GET
/servlet-tests/hsresw/HttpServletResponseWrapperSendErrorMsgIgnoreHeaderTest HTTP/1.0"
testName="HttpServletResponseWrapperSendErrorMsgIgnoreHeaderTest"
debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
unexpectedHeaders="GenericResponseWrapper:sendErrorMsgIgnoreHeader"
assertion="Test that headers added after a call to
sendError(int,String), will be ignored by the container and will not be sent to the
client. See Servlet Specification 2.3 section SRV.5.2."
testStrategy="Client calls a servlet whose response has been wrapped.
The wrapper object will call sendError() and then add a header. The header should not
be visible to the client."
@@ -6398,7 +6398,7 @@
<watchdog request="GET
/servlet-tests/hsresw/HttpServletResponseWrapperSendErrorIgnoreHeaderTest HTTP/1.0"
testName="HttpServletResponseWrapperSendErrorIgnoreHeaderTest" debug="0"
host="${host}" port="${port}" exactMatch="true"
- returnCode="100"
+ returnCode="410"
unexpectedHeaders="GenericResponseWrapper:sendErrorIgnoreHeader"
assertion="Test that headers added after a call to sendError(int), will
be ignored by the container and will not be sent to the client. See Servlet
Specification 2.3 section SRV.5.2."
testStrategy="Client calls a servlet whose response has been wrapped.
The wrapper object will call sendError() and then add a header. The header should not
be visible to the client."
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>