Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
maven-surefire-plugins.28016
0003-Port-to-TestNG-7.4.0.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-Port-to-TestNG-7.4.0.patch of Package maven-surefire-plugins.28016
--- a/surefire-providers/surefire-testng/pom.xml +++ b/surefire-providers/surefire-testng/pom.xml @@ -51,8 +51,7 @@ <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> - <version>5.10</version> - <classifier>jdk15</classifier> + <version>7.4.0</version> <scope>provided</scope> </dependency> </dependencies> --- 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 @@ -63,7 +63,7 @@ public void configure( TestNG testng, Map<String, String> options ) 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 ) ); + testng.setListenerClasses( ( List ) loadListenerClasses( listeners ) ); } @Override --- a/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/TestNGMapConfigurator.java +++ b/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/TestNGMapConfigurator.java @@ -68,7 +68,7 @@ public void configure( XmlSuite suite, Map<String, String> options ) String parallel = options.get( PARALLEL_PROP ); if ( parallel != null ) { - suite.setParallel( parallel ); + suite.setParallel( XmlSuite.ParallelMode.getValidParallel( parallel ) ); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor