This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 421962abcf Remove unnecessary tests.
421962abcf is described below
commit 421962abcf6dd878689513f992259ead80f4d4c6
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 d2d549043e..85c75bf8a3 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]