diff --git a/.gitignore b/.gitignore index d27f16b..17ee1c1 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /6.11.tar.gz /6.12.tar.gz /6.14.3.tar.gz +/testng-6.14.3.tar.gz diff --git a/0001-Avoid-accidental-javascript-in-javadoc.patch b/0001-Avoid-accidental-javascript-in-javadoc.patch index 8016b86..9df54e3 100644 --- a/0001-Avoid-accidental-javascript-in-javadoc.patch +++ b/0001-Avoid-accidental-javascript-in-javadoc.patch @@ -1,17 +1,17 @@ -From 214bd64764a48c5c3ad68829e0e35377f45ce221 Mon Sep 17 00:00:00 2001 +From bce3019741aeb785658b23095ae408a6c2d8ca35 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Wed, 31 May 2017 13:44:36 +0200 -Subject: [PATCH] Avoid accidental javascript in javadoc +Subject: [PATCH 1/2] Avoid accidental javascript in javadoc --- src/main/java/org/testng/xml/TestNGContentHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/testng/xml/TestNGContentHandler.java b/src/main/java/org/testng/xml/TestNGContentHandler.java -index e36c413..da9a069 100755 +index 450678f..11543e3 100644 --- a/src/main/java/org/testng/xml/TestNGContentHandler.java +++ b/src/main/java/org/testng/xml/TestNGContentHandler.java -@@ -240,7 +240,7 @@ public class TestNGContentHandler extends DefaultHandler { +@@ -245,7 +245,7 @@ public class TestNGContentHandler extends DefaultHandler { } /** @@ -21,5 +21,5 @@ index e36c413..da9a069 100755 private void xmlScript(boolean start, Attributes attributes) { if (start) { -- -2.9.4 +2.17.1 diff --git a/0002-Replace-bundled-jquery-with-CDN-link.patch b/0002-Replace-bundled-jquery-with-CDN-link.patch new file mode 100644 index 0000000..e3c956e --- /dev/null +++ b/0002-Replace-bundled-jquery-with-CDN-link.patch @@ -0,0 +1,39 @@ +From 9155677e2d5acdd2379c38041189da52c7f04946 Mon Sep 17 00:00:00 2001 +From: Michael Simacek +Date: Wed, 18 Jul 2018 15:57:49 +0200 +Subject: [PATCH 2/2] Replace bundled jquery with CDN link + +--- + src/main/java/org/testng/reporters/jq/Main.java | 2 +- + src/main/resources/org/testng/header | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/main/java/org/testng/reporters/jq/Main.java b/src/main/java/org/testng/reporters/jq/Main.java +index cb83ff9..b691674 100644 +--- a/src/main/java/org/testng/reporters/jq/Main.java ++++ b/src/main/java/org/testng/reporters/jq/Main.java +@@ -19,7 +19,7 @@ import java.util.List; + public class Main implements IReporter { + private static final String TESTNG_RESOURCE_PREFIX = "/org/testng/"; + private static final String[] RESOURCES = new String[] { +- "jquery-1.7.1.min.js", "testng-reports.css", "testng-reports.js", ++ "testng-reports.css", "testng-reports.js", + "passed.png", "failed.png", "skipped.png", "navigator-bullet.png", + "bullet_point.png", "collapseall.gif" + }; +diff --git a/src/main/resources/org/testng/header b/src/main/resources/org/testng/header +index 47f897b..a302d47 100644 +--- a/src/main/resources/org/testng/header ++++ b/src/main/resources/org/testng/header +@@ -6,7 +6,7 @@ + TestNG reports + + +- ++ + + +