rlubke 01/12/18 11:51:00
Modified: src/conf servlet-gtest.xml
Log:
Added gtest targets for Filter tests.
Revision Changes Path
1.23 +16 -0 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.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- servlet-gtest.xml 2001/12/18 13:43:07 1.22
+++ servlet-gtest.xml 2001/12/18 19:51:00 1.23
@@ -630,6 +630,22 @@
testStrategy="The target servlet will generage a
java.lang.NumberFormatException. The static HTML error page should be returned to the
client."
/>
+<!-- javax_servlet_Filter tests -->
+
+ <gtest request="GET /servlet-tests/DoFilterTest HTTP/1.0"
+ debug="0" host="${host}" port="${port}"
+ goldenFile="${wgdir}/javax_servlet/Filter/DoFilterTest.html"
+ assertion="The doFilter method of the Filter is called by the container
each time a request/response pair is passed through the stack due to a client request
for the Servlet in the stack. Java Servlet Specification v2.3, Sec. 14"
+ testStrategy="Client attempts to access a servlet and the filter configured
for that servlet should be invoked."
+ />
+
+ <gtest request="GET /servlet-tests/InitFilterConfigTest HTTP/1.0"
+ debug="0" host="${host}" port="${port}"
+ goldenFile="${wgdir}/javax_servlet/Filter/InitFilterConfigTest.html"
+ assertion="The container calls this method when the Filter is instantiated
and passes in a FilterConfig object. Java Servlet Specification v2.3, Sec. 14"
+ testStrategy="Client attempts to access a servlet and the filter configured
for that servlet."
+ />
+
<!-- javax_servlet_http_Cookie tests -->
<gtest request="GET /servlet-tests/Cookie_ConstructorTest HTTP/1.0"
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>