diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-08-03 10:11:42 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-08-03 10:11:55 +0200 |
commit | 73efed650da577848f5a9b33ff9703148986725a (patch) | |
tree | a099a462a5f08b0d74e6520321627a02ae052100 /dev-java/owasp-java-encoder | |
parent | dev-java/owasp-java-encoder: add 1.3.0 (diff) | |
download | gentoo-73efed650da577848f5a9b33ff9703148986725a.tar.gz gentoo-73efed650da577848f5a9b33ff9703148986725a.tar.bz2 gentoo-73efed650da577848f5a9b33ff9703148986725a.zip |
dev-java/owasp-java-encoder: updated explanation for skipped tests
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/owasp-java-encoder')
-rw-r--r-- | dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild b/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild index 1695e28464d2..84640fdb1e59 100644 --- a/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild +++ b/dev-java/owasp-java-encoder/owasp-java-encoder-1.3.0.ebuild @@ -21,8 +21,12 @@ KEYWORDS="~amd64" DEPEND=">=virtual/jdk-1.8:*" RDEPEND=">=virtual/jre-1.8:*" -# skipping 10 tests because kinda unpredictable as it expects that it cannot -# surpass a predefined value, which in some case obviously doesn't work. +# skipping 10 tests because they seem to be unreliable depending on hardware used +# as some of them fail on some setups because the benchmark results don't align +# with the hardcoded value 200 for the expected results. here are some examples: +# Benchmarked Encode.forJavaScript: 442,382250 ns/op (+253,85% on baseline) +# Benchmarked Encode.forCssString: 446,929231 ns/op (+257,49% on baseline) +# Benchmarked Encode.forJava: 409,038065 ns/op (+227,18% on baseline) JAVA_RM_FILES=( src/test/java/org/owasp/encoder/BenchmarkTest.java ) JAVA_SRC_DIR="src/main/java" JAVA_TEST_GENTOO_CLASSPATH="junit-4" |