You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2014/03/15 17:51:56 UTC
svn commit: r1577899 - in /tomcat/tc7.0.x/trunk: ./
test/org/apache/jasper/compiler/TestELParser.java
Author: kkolinko
Date: Sat Mar 15 16:51:55 2014
New Revision: 1577899
URL: http://svn.apache.org/r1577899
Log:
Merged r1577544 from tomcat/trunk:
Add a couple more tests based on a report on the users list
(There tests pass, the problem looks to be elsewhere)
Modified:
tomcat/tc7.0.x/trunk/ (props changed)
tomcat/tc7.0.x/trunk/test/org/apache/jasper/compiler/TestELParser.java
Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
Merged /tomcat/trunk:r1577544
Modified: tomcat/tc7.0.x/trunk/test/org/apache/jasper/compiler/TestELParser.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/jasper/compiler/TestELParser.java?rev=1577899&r1=1577898&r2=1577899&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/org/apache/jasper/compiler/TestELParser.java (original)
+++ tomcat/tc7.0.x/trunk/test/org/apache/jasper/compiler/TestELParser.java Sat Mar 15 16:51:55 2014
@@ -152,6 +152,24 @@ public class TestELParser {
}
+ @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