2018-03-16 12:49:00 +00:00
|
|
|
From 75266d98099412ded9b0b8574e1fb115ad61c1b4 Mon Sep 17 00:00:00 2001
|
2017-07-10 08:40:09 +00:00
|
|
|
From: Mikolaj Izdebski <mizdebsk@redhat.com>
|
|
|
|
Date: Mon, 10 Jul 2017 10:37:50 +0200
|
2018-03-16 12:49:00 +00:00
|
|
|
Subject: [PATCH 3/4] Port to TestNG 6.11
|
2017-07-10 08:40:09 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
surefire-providers/surefire-testng/pom.xml | 3 +--
|
|
|
|
.../apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java | 2 +-
|
|
|
|
2 files changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/surefire-providers/surefire-testng/pom.xml b/surefire-providers/surefire-testng/pom.xml
|
2018-03-16 12:49:00 +00:00
|
|
|
index db91b39..960f4e6 100644
|
2017-07-10 08:40:09 +00:00
|
|
|
--- a/surefire-providers/surefire-testng/pom.xml
|
|
|
|
+++ b/surefire-providers/surefire-testng/pom.xml
|
|
|
|
@@ -51,8 +51,7 @@
|
2017-09-18 06:12:18 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
- <version>5.10</version>
|
|
|
|
- <classifier>jdk15</classifier>
|
2018-03-16 12:49:00 +00:00
|
|
|
+ <version>6.11</version>
|
2017-09-18 06:12:18 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2017-07-10 08:40:09 +00:00
|
|
|
diff --git a/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java b/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java
|
2018-03-16 12:49:00 +00:00
|
|
|
index 73ccdb7..41ed4f0 100644
|
2017-07-10 08:40:09 +00:00
|
|
|
--- a/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java
|
|
|
|
+++ b/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java
|
2017-09-18 06:12:18 +00:00
|
|
|
@@ -63,7 +63,7 @@ public abstract class AbstractDirectConfigurator
|
|
|
|
testng.setUseDefaultListeners( false );
|
|
|
|
configureInstance( testng, options );
|
|
|
|
// TODO: we should have the Profile so that we can decide if this is needed or not
|
|
|
|
- testng.setListenerClasses( loadListenerClasses( listeners ) );
|
2018-03-16 12:49:00 +00:00
|
|
|
+ testng.setListenerClasses( ( List ) loadListenerClasses( listeners ) );
|
2017-09-18 06:12:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2017-07-10 08:40:09 +00:00
|
|
|
--
|
2018-03-16 12:49:00 +00:00
|
|
|
2.14.3
|
2017-07-10 08:40:09 +00:00
|
|
|
|