summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2024-10-07 19:43:43 +0200
committerConrad Kostecki <conikost@gentoo.org>2024-10-10 22:20:59 +0200
commit4d3675613a952a1855944e1a40cf17bc675d9669 (patch)
tree200be66f647b18981d619ff1c48c673c3a5973a2 /dev-java/owasp-java-encoder
parentdev-embedded/xa: remove unused patch (diff)
downloadgentoo-4d3675613a952a1855944e1a40cf17bc675d9669.tar.gz
gentoo-4d3675613a952a1855944e1a40cf17bc675d9669.tar.bz2
gentoo-4d3675613a952a1855944e1a40cf17bc675d9669.zip
dev-java/owasp-java-encoder: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-java/owasp-java-encoder')
-rw-r--r--dev-java/owasp-java-encoder/files/owasp-java-encoder-1.2.3-BenchmarkTest.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/dev-java/owasp-java-encoder/files/owasp-java-encoder-1.2.3-BenchmarkTest.patch b/dev-java/owasp-java-encoder/files/owasp-java-encoder-1.2.3-BenchmarkTest.patch
deleted file mode 100644
index de988462ede7..000000000000
--- a/dev-java/owasp-java-encoder/files/owasp-java-encoder-1.2.3-BenchmarkTest.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-There were 2 failures:
-1) Encode.forHtmlUnquotedAttribute(org.owasp.encoder.BenchmarkTest$1$3)
-junit.framework.AssertionFailedError
- at junit.framework.Assert.fail(Assert.java:55)
- at junit.framework.Assert.assertTrue(Assert.java:22)
- at junit.framework.Assert.assertTrue(Assert.java:31)
- at junit.framework.TestCase.assertTrue(TestCase.java:200)
- at org.owasp.encoder.BenchmarkTest$1$3.runTest(BenchmarkTest.java:115)
-2) Encode.forUriComponent(org.owasp.encoder.BenchmarkTest$1$3)
-junit.framework.AssertionFailedError
- at junit.framework.Assert.fail(Assert.java:55)
- at junit.framework.Assert.assertTrue(Assert.java:22)
- at junit.framework.Assert.assertTrue(Assert.java:31)
- at junit.framework.TestCase.assertTrue(TestCase.java:200)
- at org.owasp.encoder.BenchmarkTest$1$3.runTest(BenchmarkTest.java:115)
-
-FAILURES!!!
-Tests run: 962, Failures: 2
---- a/src/test/java/org/owasp/encoder/BenchmarkTest.java
-+++ b/src/test/java/org/owasp/encoder/BenchmarkTest.java
-@@ -209,12 +209,6 @@ public class BenchmarkTest extends TestCase {
- return Encode.forXml(input);
- }
- },
-- new Bench("Encode.forHtmlUnquotedAttribute") {
-- @Override
-- public String encode(String input) {
-- return Encode.forHtmlUnquotedAttribute(input);
-- }
-- },
- new Bench("Encode.forJavaScript") {
- @Override
- public String encode(String input) {
-@@ -227,12 +221,6 @@ public class BenchmarkTest extends TestCase {
- return Encode.forCssString(input);
- }
- },
-- new Bench("Encode.forUriComponent") {
-- @Override
-- public String encode(String input) {
-- return Encode.forUriComponent(input);
-- }
-- },
- new Bench("Encode.forCDATA") {
- @Override
- public String encode(String input) {