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 2014/03/14 15:14:30 UTC

svn commit: r1577544 - /tomcat/trunk/test/org/apache/jasper/compiler/TestELParser.java

Author: markt
Date: Fri Mar 14 14:14:29 2014
New Revision: 1577544

URL: http://svn.apache.org/r1577544
Log:
Add a couple more tests based on a report on the users list
(There tests pass, the problem looks to be elsewhere)

Modified:
    tomcat/trunk/test/org/apache/jasper/compiler/TestELParser.java

Modified: tomcat/trunk/test/org/apache/jasper/compiler/TestELParser.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/jasper/compiler/TestELParser.java?rev=1577544&r1=1577543&r2=1577544&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/jasper/compiler/TestELParser.java (original)
+++ tomcat/trunk/test/org/apache/jasper/compiler/TestELParser.java Fri Mar 14 14:14:29 2014
@@ -151,6 +151,25 @@ public class TestELParser {
         doTestParser("${my:link(!empty registration ? registration : '/test/registration')}");
     }
 
+
+    @Test
+    public void testQuotes01() throws JasperException {
+        doTestParser("'");
+    }
+
+
+    @Test
+    public void testQuotes02() throws JasperException {
+        doTestParser("'${foo}'");
+    }
+
+
+    @Test
+    public void testQuotes03() throws JasperException {
+        doTestParser("'${'foo'}'");
+    }
+
+
     private void doTestParser(String input) throws JasperException {
         Nodes nodes = ELParser.parse(input, false);
 



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