Updated the tests because r920110 was reverted in r920608.
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 9 Mar 2010 02:58:50 +0000 (02:58 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 9 Mar 2010 02:58:50 +0000 (02:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@920632 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/jasper/compiler/TestValidator.java
test/webapp-2.4/WEB-INF/tags11.tld
test/webapp-2.4/WEB-INF/tags12.tld
test/webapp-2.5/WEB-INF/tags11.tld
test/webapp-2.5/WEB-INF/tags12.tld
test/webapp-3.0/WEB-INF/tags11.tld
test/webapp-3.0/WEB-INF/tags12.tld

index dd1d08d..2040bd0 100644 (file)
@@ -91,9 +91,9 @@ public class TestValidator extends TomcatBaseTest {
 
         String result = res.toString();
 
-        assertTrue(result.indexOf("<p>${'00-hello world'}</p>") > 0);
+        assertTrue(result.indexOf("<p>00-hello world</p>") > 0);
         assertTrue(result.indexOf("<p>#{'01-hello world'}</p>") > 0);
-        assertTrue(result.indexOf("<p>${'02-hello world'}</p>") > 0);
+        assertTrue(result.indexOf("<p>02-hello world</p>") > 0);
         assertTrue(result.indexOf("<p>#{'03-hello world'}</p>") > 0);
         assertTrue(result.indexOf("<p>04-hello world</p>") > 0);
         assertTrue(result.indexOf("<p>#{'05-hello world'}</p>") > 0);
@@ -116,9 +116,9 @@ public class TestValidator extends TomcatBaseTest {
 
         String result = res.toString();
 
-        assertTrue(result.indexOf("<p>${'00-hello world'}</p>") > 0);
+        assertTrue(result.indexOf("<p>00-hello world</p>") > 0);
         assertTrue(result.indexOf("<p>#{'01-hello world'}</p>") > 0);
-        assertTrue(result.indexOf("<p>${'02-hello world'}</p>") > 0);
+        assertTrue(result.indexOf("<p>02-hello world</p>") > 0);
         assertTrue(result.indexOf("<p>#{'03-hello world'}</p>") > 0);
         assertTrue(result.indexOf("<p>04-hello world</p>") > 0);
         assertTrue(result.indexOf("<p>#{'05-hello world'}</p>") > 0);
@@ -141,9 +141,9 @@ public class TestValidator extends TomcatBaseTest {
 
         String result = res.toString();
 
-        assertTrue(result.indexOf("<p>${'00-hello world'}</p>") > 0);
+        assertTrue(result.indexOf("<p>00-hello world</p>") > 0);
         assertTrue(result.indexOf("<p>#{'01-hello world'}</p>") > 0);
-        assertTrue(result.indexOf("<p>${'02-hello world'}</p>") > 0);
+        assertTrue(result.indexOf("<p>02-hello world</p>") > 0);
         assertTrue(result.indexOf("<p>#{'03-hello world'}</p>") > 0);
         assertTrue(result.indexOf("<p>04-hello world</p>") > 0);
         assertTrue(result.indexOf("<p>#{'05-hello world'}</p>") > 0);
index b78be03..3c7ae98 100644 (file)
@@ -30,6 +30,7 @@
     <attribute>
       <name>echo</name>
       <required>yes</required>
+      <rtexprvalue>true</rtexprvalue>
     </attribute>
   </tag>
 
index 55908d9..533235b 100644 (file)
 
   <tag>
     <name>Echo</name>
-    <tagclass>org.apache.jasper.compiler.TestValidator$Echo</tagclass>
+    <tag-class>org.apache.jasper.compiler.TestValidator$Echo</tag-class>
     <body-content>empty</body-content>
     <attribute>
       <name>echo</name>
       <required>yes</required>
+      <rtexprvalue>true</rtexprvalue>
     </attribute>
   </tag>
 
index b78be03..3c7ae98 100644 (file)
@@ -30,6 +30,7 @@
     <attribute>
       <name>echo</name>
       <required>yes</required>
+      <rtexprvalue>true</rtexprvalue>
     </attribute>
   </tag>
 
index 55908d9..533235b 100644 (file)
 
   <tag>
     <name>Echo</name>
-    <tagclass>org.apache.jasper.compiler.TestValidator$Echo</tagclass>
+    <tag-class>org.apache.jasper.compiler.TestValidator$Echo</tag-class>
     <body-content>empty</body-content>
     <attribute>
       <name>echo</name>
       <required>yes</required>
+      <rtexprvalue>true</rtexprvalue>
     </attribute>
   </tag>
 
index b78be03..3c7ae98 100644 (file)
@@ -30,6 +30,7 @@
     <attribute>
       <name>echo</name>
       <required>yes</required>
+      <rtexprvalue>true</rtexprvalue>
     </attribute>
   </tag>
 
index 55908d9..533235b 100644 (file)
 
   <tag>
     <name>Echo</name>
-    <tagclass>org.apache.jasper.compiler.TestValidator$Echo</tagclass>
+    <tag-class>org.apache.jasper.compiler.TestValidator$Echo</tag-class>
     <body-content>empty</body-content>
     <attribute>
       <name>echo</name>
       <required>yes</required>
+      <rtexprvalue>true</rtexprvalue>
     </attribute>
   </tag>