This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit cf4dc9623283d41ec44aff870807fd41c37c2715 Author: Mark Thomas <[email protected]> AuthorDate: Mon Nov 3 12:32:29 2025 +0000 Remove unnecessary tests. Tomcat no longer (as of ~May 2021) escapes ' since POEditor now does that automatically. --- .../tomcat/buildutil/translate/TestUtils.java | 26 ---------------------- 1 file changed, 26 deletions(-) diff --git a/test/org/apache/tomcat/buildutil/translate/TestUtils.java b/test/org/apache/tomcat/buildutil/translate/TestUtils.java index 250f8aedf5..3f08b0a675 100644 --- a/test/org/apache/tomcat/buildutil/translate/TestUtils.java +++ b/test/org/apache/tomcat/buildutil/translate/TestUtils.java @@ -21,32 +21,6 @@ import org.junit.Test; public class TestUtils { - @Test - public void testQuoteReplacement01() { - Assert.assertEquals("[{0}] a''a", Utils.formatValueImport("[{0}] a'a")); - } - - @Test - public void testQuoteReplacement02() { - Assert.assertEquals("[{0}] a''", Utils.formatValueImport("[{0}] a'")); - } - - - @Test - public void testQuoteReplacement03() { - Assert.assertEquals("''a [{0}]", Utils.formatValueImport("'a [{0}]")); - } - - @Test - public void testQuoteReplacement05() { - Assert.assertEquals("[{0}] ''a'' bbb", Utils.formatValueImport("[{0}] 'a' bbb")); - } - - @Test - public void testQuoteReplacement06() { - Assert.assertEquals("[{0}] ''aa'' bbb", Utils.formatValueImport("[{0}] 'aa' bbb")); - } - @Test public void testFormatValue01() { // Import from Tomcat --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
