You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2011/12/16 14:12:24 UTC

svn commit: r1215118 - in /tomcat/trunk/test: org/apache/jasper/compiler/TestParser.java webapp-3.0/bug52335.jsp

Author: markt
Date: Fri Dec 16 13:12:23 2011
New Revision: 1215118

URL: http://svn.apache.org/viewvc?rev=1215118&view=rev
Log:
Extend the test case

Modified:
    tomcat/trunk/test/org/apache/jasper/compiler/TestParser.java
    tomcat/trunk/test/webapp-3.0/bug52335.jsp

Modified: tomcat/trunk/test/org/apache/jasper/compiler/TestParser.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/jasper/compiler/TestParser.java?rev=1215118&r1=1215117&r2=1215118&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/jasper/compiler/TestParser.java (original)
+++ tomcat/trunk/test/org/apache/jasper/compiler/TestParser.java Fri Dec 16 13:12:23 2011
@@ -308,6 +308,8 @@ public class TestParser extends TomcatBa
         // Beware of the differences between escaping in JSP attributes and
         // in Java Strings
         assertEcho(result, "00 - \\% \\\\% <%");
+        assertEcho(result, "01 - <b><%</b>");
+        assertEcho(result, "02 - <p>Foo</p><%");
     }
 
     /** Assertion for text printed by tags:echo */

Modified: tomcat/trunk/test/webapp-3.0/bug52335.jsp
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug52335.jsp?rev=1215118&r1=1215117&r2=1215118&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug52335.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug52335.jsp Fri Dec 16 13:12:23 2011
@@ -14,11 +14,13 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
-<%@ page isELIgnored="true" %>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 52335 test case</title></head>
   <body>
     <p>00 - \% \\% <\%</p>
+    <p>01 - <b><\%</b></p>
+    <p>02 - <tags:echo echo="Foo" /><\%</p>
   </body>
 </html>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org