From c5f084b1f5dfb3ff838712c523416a8bc17a5424 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 25 Oct 2024 19:34:24 +0300 Subject: [PATCH] import testng-7.8.0-5.el10 --- .gitignore | 1 + .testng.metadata | 1 + ...oid-accidental-javascript-in-javadoc.patch | 27 ++ ...Replace-bundled-jquery-with-CDN-link.patch | 38 ++ SOURCES/generate-tarball.sh | 23 ++ SOURCES/testng-7.8.0.pom | 88 +++++ SPECS/testng.spec | 338 ++++++++++++++++++ 7 files changed, 516 insertions(+) create mode 100644 .gitignore create mode 100644 .testng.metadata create mode 100644 SOURCES/0001-Avoid-accidental-javascript-in-javadoc.patch create mode 100644 SOURCES/0002-Replace-bundled-jquery-with-CDN-link.patch create mode 100755 SOURCES/generate-tarball.sh create mode 100644 SOURCES/testng-7.8.0.pom create mode 100644 SPECS/testng.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a369660 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/testng-7.8.0.tar.gz diff --git a/.testng.metadata b/.testng.metadata new file mode 100644 index 0000000..1cfbb7c --- /dev/null +++ b/.testng.metadata @@ -0,0 +1 @@ +c2d68e783185920c9e2dfc8738597002aec9f4c3 SOURCES/testng-7.8.0.tar.gz diff --git a/SOURCES/0001-Avoid-accidental-javascript-in-javadoc.patch b/SOURCES/0001-Avoid-accidental-javascript-in-javadoc.patch new file mode 100644 index 0000000..4e072e3 --- /dev/null +++ b/SOURCES/0001-Avoid-accidental-javascript-in-javadoc.patch @@ -0,0 +1,27 @@ +From bce3019741aeb785658b23095ae408a6c2d8ca35 Mon Sep 17 00:00:00 2001 +From: Michael Simacek +Date: Wed, 31 May 2017 13:44:36 +0200 +Subject: [PATCH 1/2] Avoid accidental javascript in javadoc + +--- + testng-core/src/main/java/org/testng/xml/TestNGContentHandler.java | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/testng-core/src/main/java/org/testng/xml/TestNGContentHandler.java b/testng-core/src/main/java/org/testng/xml/TestNGContentHandler.java +index b74572a..7c490e9 100644 +--- a/testng-core/src/main/java/org/testng/xml/TestNGContentHandler.java ++++ b/testng-core/src/main/java/org/testng/xml/TestNGContentHandler.java +@@ -250,7 +250,9 @@ public class TestNGContentHandler extends DefaultHandler { + } + } + +- /** Parse ++ + + +