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 cr...@apache.org on 2001/01/12 01:47:20 UTC
cvs commit: jakarta-watchdog-4.0/src/conf jsp-gtest.xml
craigmcc 01/01/11 16:47:20
Modified: src/clients/org/apache/jcheck/jsp/client/engine/PageContext
positiveInclude.html
src/conf jsp-gtest.xml
Log:
Re-enable JSP test "/jsp-tests/jsp/engine/PageContext/positiveInclude.jsp"
after correcting the golden file. The old golden file was assuming that
no flush of the response took place before the include() was processed --
but this is explicitly required by the JSP 1.2 spec (see the Javadocs for
method PageContext.include()).
Revision Changes Path
1.2 +6 -13 jakarta-watchdog-4.0/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveInclude.html
Index: positiveInclude.html
===================================================================
RCS file: /home/cvs/jakarta-watchdog-4.0/src/clients/org/apache/jcheck/jsp/client/engine/PageContext/positiveInclude.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- positiveInclude.html 2000/10/09 22:54:38 1.1
+++ positiveInclude.html 2001/01/12 00:47:19 1.2
@@ -1,26 +1,19 @@
<html>
-<title>forward</title>
-<body>
-SUCCESS
-
-</body>
-</html><html>
<title>positiveInclude</title>
<body>
<!-- this is to test if include() method works -->
<!-- using pageContext object to include -->
-
-
+<html>
+<title>include</title>
+<body>
+SUCCESS
</body>
</html>
-
-
-
-
-
+</body>
+</html>
1.7 +1 -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.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- jsp-gtest.xml 2001/01/11 21:37:00 1.6
+++ jsp-gtest.xml 2001/01/12 00:47:20 1.7
@@ -799,7 +799,7 @@
assertion="Test for the checkGetOut method in a scriptlet., specified in the Java Server Pages Specification v1.2, Sec 8.1.1"
testStrategy="testing PageContext checkGetOut() features "
/>
-<!-- ### commented ..has to be debugged
+
<gtest request="GET /jsp-tests/jsp/engine/PageContext/positiveInclude.jsp HTTP/1.0"
debug="0" host="${host}" port="${port}"
goldenFile="${wgdir}/engine/PageContext/positiveInclude.html"
@@ -807,7 +807,6 @@
assertion="Test for the positiveInclude method in a scriptlet., specified in the Java Server Pages Specification v1.2, Sec 8.1.1"
testStrategy="testing PageContext positiveInclude() features "
/>
--->
<gtest request="GET /jsp-tests/jsp/engine/PageContext/positiveRemoveAttribute.jsp HTTP/1.0"
debug="0" host="${host}" port="${port}"