You are viewing a plain text version of this content. The canonical link for it is here.
Posted to watchdog-dev@jakarta.apache.org by rl...@apache.org on 2002/07/18 14:33:08 UTC
cvs commit: jakarta-watchdog-4.0/src/conf jsp-gtest.xml
rlubke 2002/07/18 05:33:08
Modified: src/conf jsp-gtest.xml
Log:
- Modified test criteria for checkResponseTest. Goldenfile is no longer
needed.
Revision Changes Path
1.21 +2 -2 jakarta-watchdog-4.0/src/conf/jsp-gtest.xml
Index: jsp-gtest.xml
===================================================================
RCS file: /home/cvs/jakarta-watchdog-4.0/src/conf/jsp-gtest.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- jsp-gtest.xml 6 May 2002 17:44:40 -0000 1.20
+++ jsp-gtest.xml 18 Jul 2002 12:33:08 -0000 1.21
@@ -398,7 +398,7 @@
<watchdog request="GET /jsp-tests/jsp/core_syntax/implicitobjects/checkResponse.jsp HTTP/1.0"
testName="checkResponseTest" debug="0"
host="${host}" port="${port}" exactMatch="false"
- goldenFile="${wgdir}/core_syntax/implicitobjects/checkResponse.html"
+ expectHeaders="TestHeader:Method call OK"
assertion="The response scripting variable is implictly made made available to the scripting environment and and is associated with an object of type javax.servlet.http.HttpServletResponse or javax.servlet.ServletResponse (protocol dependant). JavaServer Pages Specification v1.2, Sec. 2.8.3"
testStrategy="Validate that the object associated with the response scripting variable is of type javax.servlet.Response (parent class of HttpServletResponse) and that a method can be called against it."
/>
@@ -2017,7 +2017,7 @@
<gtest request="GET /jsp_coresyntx_implicitobjects/jsp/core_syntax/implicitobjects/checkResponse.jsp HTTP/1.0"
testName="checkResponseTest" debug="0"
host="${host}" port="${port}" exactMatch="false"
- goldenFile="/opt/workspaces/ctsbuild/src/tests/jsp/ee/jsp/core_syntax/implicitobjects/goldenfiles/checkResponse.html"
+ expectHeaders="TestHeader:Method call OK"
assertion="The response scripting variable is implictly made made available to the scripting environment and and is associated with an object of type javax.servlet.http.HttpServletResponse or javax.servlet.ServletResponse (protocol dependant). JavaServer Pages Specification v1.2, Sec. 2.8.3"
testStrategy="Validate that the object associated with the response scripting variable is of type javax.servlet.Response (parent class of HttpServletResponse) and that a method can be called against it."
/>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>