Class TestNG740Configurator
- java.lang.Object
-
- org.apache.maven.surefire.testng.conf.TestNGMapConfigurator
-
- org.apache.maven.surefire.testng.conf.TestNG510Configurator
-
- org.apache.maven.surefire.testng.conf.TestNG513Configurator
-
- org.apache.maven.surefire.testng.conf.TestNG5141Configurator
-
- org.apache.maven.surefire.testng.conf.TestNG5143Configurator
-
- org.apache.maven.surefire.testng.conf.TestNG60Configurator
-
- org.apache.maven.surefire.testng.conf.TestNG740Configurator
-
- All Implemented Interfaces:
Configurator
public class TestNG740Configurator extends TestNG60Configurator
TestNG 7.4.0 configurator. Changed setParallel type to enum value. Uses reflection since ParallelMode enum doesn't exist in supported TestNG 5.x versions.- Since:
- 3.0.0-M6
-
-
Constructor Summary
Constructors Constructor Description TestNG740Configurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureParallel(org.testng.xml.XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> options)
Convert and apply the value of the [parallel] setting.-
Methods inherited from class org.apache.maven.surefire.testng.conf.TestNG60Configurator
getConvertedOptions
-
Methods inherited from class org.apache.maven.surefire.testng.conf.TestNG5143Configurator
convertListeners
-
Methods inherited from class org.apache.maven.surefire.testng.conf.TestNG513Configurator
convertListenersString, convertReporterConfig
-
Methods inherited from class org.apache.maven.surefire.testng.conf.TestNG510Configurator
configure
-
Methods inherited from class org.apache.maven.surefire.testng.conf.TestNGMapConfigurator
configure, configureThreadCount, convert
-
-
-
-
Method Detail
-
configureParallel
protected void configureParallel(org.testng.xml.XmlSuite suite, java.util.Map<java.lang.String,java.lang.String> options) throws TestSetFailedException
Convert and apply the value of the [parallel] setting.NOTE: Since TestNG 7.4, the value of the
parallel
setting of theXmlSuite
class has been specified via a ParallelMode enumeration. This method converts the [parallel] setting specified in the Surefire plugin configuration to its corresponding constant and applies this to the specified suite object.- Overrides:
configureParallel
in classTestNGMapConfigurator
- Parameters:
suite
- TestNGXmlSuite
objectoptions
- Surefire plugin configuration options- Throws:
TestSetFailedException
- if unable to convert specified [parallel] setting
-
-