From 2fbb47acc71ecc4f3f4c8888bfe80257417369c7 Mon Sep 17 00:00:00 2001 From: kkolinko Date: Tue, 9 Mar 2010 02:58:50 +0000 Subject: [PATCH] Updated the tests because r920110 was reverted in r920608. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@920632 13f79535-47bb-0310-9956-ffa450edef68 --- test/org/apache/jasper/compiler/TestValidator.java | 12 ++++++------ test/webapp-2.4/WEB-INF/tags11.tld | 1 + test/webapp-2.4/WEB-INF/tags12.tld | 3 ++- test/webapp-2.5/WEB-INF/tags11.tld | 1 + test/webapp-2.5/WEB-INF/tags12.tld | 3 ++- test/webapp-3.0/WEB-INF/tags11.tld | 1 + test/webapp-3.0/WEB-INF/tags12.tld | 3 ++- 7 files changed, 15 insertions(+), 9 deletions(-) diff --git a/test/org/apache/jasper/compiler/TestValidator.java b/test/org/apache/jasper/compiler/TestValidator.java index dd1d08d14..2040bd0ff 100644 --- a/test/org/apache/jasper/compiler/TestValidator.java +++ b/test/org/apache/jasper/compiler/TestValidator.java @@ -91,9 +91,9 @@ public class TestValidator extends TomcatBaseTest { String result = res.toString(); - assertTrue(result.indexOf("

${'00-hello world'}

") > 0); + assertTrue(result.indexOf("

00-hello world

") > 0); assertTrue(result.indexOf("

#{'01-hello world'}

") > 0); - assertTrue(result.indexOf("

${'02-hello world'}

") > 0); + assertTrue(result.indexOf("

02-hello world

") > 0); assertTrue(result.indexOf("

#{'03-hello world'}

") > 0); assertTrue(result.indexOf("

04-hello world

") > 0); assertTrue(result.indexOf("

#{'05-hello world'}

") > 0); @@ -116,9 +116,9 @@ public class TestValidator extends TomcatBaseTest { String result = res.toString(); - assertTrue(result.indexOf("

${'00-hello world'}

") > 0); + assertTrue(result.indexOf("

00-hello world

") > 0); assertTrue(result.indexOf("

#{'01-hello world'}

") > 0); - assertTrue(result.indexOf("

${'02-hello world'}

") > 0); + assertTrue(result.indexOf("

02-hello world

") > 0); assertTrue(result.indexOf("

#{'03-hello world'}

") > 0); assertTrue(result.indexOf("

04-hello world

") > 0); assertTrue(result.indexOf("

#{'05-hello world'}

") > 0); @@ -141,9 +141,9 @@ public class TestValidator extends TomcatBaseTest { String result = res.toString(); - assertTrue(result.indexOf("

${'00-hello world'}

") > 0); + assertTrue(result.indexOf("

00-hello world

") > 0); assertTrue(result.indexOf("

#{'01-hello world'}

") > 0); - assertTrue(result.indexOf("

${'02-hello world'}

") > 0); + assertTrue(result.indexOf("

02-hello world

") > 0); assertTrue(result.indexOf("

#{'03-hello world'}

") > 0); assertTrue(result.indexOf("

04-hello world

") > 0); assertTrue(result.indexOf("

#{'05-hello world'}

") > 0); diff --git a/test/webapp-2.4/WEB-INF/tags11.tld b/test/webapp-2.4/WEB-INF/tags11.tld index b78be0327..3c7ae98af 100644 --- a/test/webapp-2.4/WEB-INF/tags11.tld +++ b/test/webapp-2.4/WEB-INF/tags11.tld @@ -30,6 +30,7 @@ echo yes + true diff --git a/test/webapp-2.4/WEB-INF/tags12.tld b/test/webapp-2.4/WEB-INF/tags12.tld index 55908d982..533235bd7 100644 --- a/test/webapp-2.4/WEB-INF/tags12.tld +++ b/test/webapp-2.4/WEB-INF/tags12.tld @@ -25,11 +25,12 @@ Echo - org.apache.jasper.compiler.TestValidator$Echo + org.apache.jasper.compiler.TestValidator$Echo empty echo yes + true diff --git a/test/webapp-2.5/WEB-INF/tags11.tld b/test/webapp-2.5/WEB-INF/tags11.tld index b78be0327..3c7ae98af 100644 --- a/test/webapp-2.5/WEB-INF/tags11.tld +++ b/test/webapp-2.5/WEB-INF/tags11.tld @@ -30,6 +30,7 @@ echo yes + true diff --git a/test/webapp-2.5/WEB-INF/tags12.tld b/test/webapp-2.5/WEB-INF/tags12.tld index 55908d982..533235bd7 100644 --- a/test/webapp-2.5/WEB-INF/tags12.tld +++ b/test/webapp-2.5/WEB-INF/tags12.tld @@ -25,11 +25,12 @@ Echo - org.apache.jasper.compiler.TestValidator$Echo + org.apache.jasper.compiler.TestValidator$Echo empty echo yes + true diff --git a/test/webapp-3.0/WEB-INF/tags11.tld b/test/webapp-3.0/WEB-INF/tags11.tld index b78be0327..3c7ae98af 100644 --- a/test/webapp-3.0/WEB-INF/tags11.tld +++ b/test/webapp-3.0/WEB-INF/tags11.tld @@ -30,6 +30,7 @@ echo yes + true diff --git a/test/webapp-3.0/WEB-INF/tags12.tld b/test/webapp-3.0/WEB-INF/tags12.tld index 55908d982..533235bd7 100644 --- a/test/webapp-3.0/WEB-INF/tags12.tld +++ b/test/webapp-3.0/WEB-INF/tags12.tld @@ -25,11 +25,12 @@ Echo - org.apache.jasper.compiler.TestValidator$Echo + org.apache.jasper.compiler.TestValidator$Echo empty echo yes + true -- 2.11.0