This is an automated email from the ASF dual-hosted git repository. rmaucher pushed a commit to branch 11.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit c26619cfa0ae76127635aa91d7e9d81732536f1d Author: remm <[email protected]> AuthorDate: Mon Oct 19 23:32:24 2026 +0200 EE compatibility --- test/org/apache/jasper/TestJspC.java | 8 ------- test/org/apache/jasper/compiler/TestValidator.java | 27 ---------------------- 2 files changed, 35 deletions(-) diff --git a/test/org/apache/jasper/TestJspC.java b/test/org/apache/jasper/TestJspC.java index 1524336d17..ccb0bce1ed 100644 --- a/test/org/apache/jasper/TestJspC.java +++ b/test/org/apache/jasper/TestJspC.java @@ -133,14 +133,6 @@ public class TestJspC { verify(webappOut); } - @Test - public void precompileWebapp_6_2() throws IOException { - File appDir = new File("test/webapp-6.2"); - File webappOut = new File(outputDir, appDir.getName()); - precompile(appDir, webappOut); - verify(webappOut); - } - @Test public void argsNoFullStop() throws Exception { jspc.setArgs(new String[] {"a.jsp", "b.jsp"}); diff --git a/test/org/apache/jasper/compiler/TestValidator.java b/test/org/apache/jasper/compiler/TestValidator.java index 9a3624194b..66bfac0ea2 100644 --- a/test/org/apache/jasper/compiler/TestValidator.java +++ b/test/org/apache/jasper/compiler/TestValidator.java @@ -339,33 +339,6 @@ public class TestValidator extends TomcatBaseTest { Assert.assertTrue(result.indexOf("<p>09-hello world</p>") > 0); } - @Test - public void testTldVersions62() throws Exception { - Tomcat tomcat = getTomcatInstance(); - - File appDir = new File("test/webapp-6.2"); - // app dir is relative to server home - tomcat.addWebapp(null, "/test", appDir.getAbsolutePath()); - - tomcat.start(); - - ByteChunk res = getUrl("http://localhost:" + getPort() + "/test/tld-versions.jsp"); - - String result = res.toString(); - - Assert.assertTrue(result.indexOf("<p>00-hello world</p>") > 0); - Assert.assertTrue(result.indexOf("<p>#{'01-hello world'}</p>") > 0); - Assert.assertTrue(result.indexOf("<p>02-hello world</p>") > 0); - Assert.assertTrue(result.indexOf("<p>#{'03-hello world'}</p>") > 0); - Assert.assertTrue(result.indexOf("<p>04-hello world</p>") > 0); - Assert.assertTrue(result.indexOf("<p>#{'05-hello world'}</p>") > 0); - Assert.assertTrue(result.indexOf("<p>06-hello world</p>") > 0); - Assert.assertTrue(result.indexOf("<p>07-hello world</p>") > 0); - Assert.assertTrue(result.indexOf("<p>08-hello world</p>") > 0); - Assert.assertTrue(result.indexOf("<p>09-hello world</p>") > 0); - Assert.assertTrue(result.indexOf("<p>10-hello world</p>") > 0); - } - public static class NullIdValidator extends TagLibraryValidator { @Override --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
