From 68781a0d20aeae0ea8a53f66b115b745615209ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Fri, 12 Mar 2021 20:18:13 -0800 Subject: [PATCH] update testing frameworks for Java 15 support (#10984) * update jacoco to 0.8.6 * update easymock to 4.2 * update equalsverifier to 3.5.5 * update mockito to 3.8.0 * update powermock to 2.0.9 * update assertj-core to 3.19.0 * update testng to 7.3.0 - fix DTD url security for testng 7.x - fix backwards incompatibility in testng 7.x --- .../org/testng/DruidTestRunnerFactory.java | 3 +-- .../src/test/resources/testng.xml | 2 +- pom.xml | 21 ++++++++++++------- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/integration-tests/src/main/java/org/testng/DruidTestRunnerFactory.java b/integration-tests/src/main/java/org/testng/DruidTestRunnerFactory.java index daafff44c75..dee52bd390b 100644 --- a/integration-tests/src/main/java/org/testng/DruidTestRunnerFactory.java +++ b/integration-tests/src/main/java/org/testng/DruidTestRunnerFactory.java @@ -27,7 +27,6 @@ import org.testng.internal.annotations.IAnnotationFinder; import org.testng.xml.XmlTest; import java.util.Collection; -import java.util.Collections; import java.util.List; /** @@ -73,7 +72,7 @@ public class DruidTestRunnerFactory implements ITestRunnerFactory List classListeners ) { - super(configuration, suite, test, outputDirectory, finder, skipFailedInvocationCounts, methodListeners, classListeners, Systematiser.getComparator(), Collections.emptyMap()); + super(configuration, suite, test, outputDirectory, finder, skipFailedInvocationCounts, methodListeners, classListeners, Systematiser.getComparator(), new DataProviderHolder()); } @Override diff --git a/integration-tests/src/test/resources/testng.xml b/integration-tests/src/test/resources/testng.xml index b27549bc2d7..c7d88e1565d 100644 --- a/integration-tests/src/test/resources/testng.xml +++ b/integration-tests/src/test/resources/testng.xml @@ -17,7 +17,7 @@ ~ under the License. --> - + diff --git a/pom.xml b/pom.xml index cc2321d5878..69754c9552f 100644 --- a/pom.xml +++ b/pom.xml @@ -108,11 +108,11 @@ 1.7.12 2.8.5 - 3.2.4 - 2.0.2 + 3.8.0 + 2.0.9 1.11.884 2.8.0 - 0.8.5 + 0.8.6 @@ -1048,7 +1048,7 @@ org.easymock easymock - 4.0.2 + 4.2 test @@ -1113,7 +1113,7 @@ org.assertj assertj-core - 3.13.2 + 3.19.0 test @@ -1231,7 +1231,14 @@ org.testng testng - 6.14.3 + 7.3.0 + + + + com.google.inject + guice + + org.hamcrest @@ -1260,7 +1267,7 @@ nl.jqno.equalsverifier equalsverifier - 3.1.11 + 3.5.5 test