Hi, Below is the source for the positiveContenttype.jsp *************************************************** <html> <title>positiveContenttype</title> <body> . . . <%@ page contentType="text/plain;charset=ISO-8859-1" %> </body> </html> ***************************************************
GTest is configured to check only the goldenfile, which really doesn't validate that the contentType was properly set. Attached is a patch to correct the jsp-gtest.xml file to check the response header from the server instead of the goldenfile. The goldenfile ( ${wgdir}/core_syntax/directives/page/content/positiveContenttype.html ) should be removed from the repository. Comments welcome. -rl
Index: jsp-gtest.xml =================================================================== RCS file: /home/cvspublic/jakarta-watchdog-4.0/src/conf/jsp-gtest.xml,v retrieving revision 1.9 diff -u -r1.9 jsp-gtest.xml --- jsp-gtest.xml 2001/08/09 17:35:13 1.9 +++ jsp-gtest.xml 2001/11/19 21:55:18 @@ -581,7 +581,7 @@ <gtest request="GET /jsp-tests/jsp/core_syntax/directives/page/content/positiveContenttype.jsp HTTP/1.0" debug="0" host="${host}" port="${port}" - goldenFile="${wgdir}/core_syntax/directives/page/content/positiveContenttype.html" + expectHeaders="Content-Type:text/plain;charset=ISO-8859-1" testName="positiveContenttype.jsp" assertion="Create a JSP page with the include attribute set for the jsp:request action with a relative URL. The included page should exist in the desired location, specified in the Java Server Pages Specification v1.2, Sec 3.2.4 " testStrategy="testing if including of files work"
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>