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
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureParallel
(org.testng.xml.XmlSuite suite, Map<String, String> options) Convert and apply the value of the [parallel] setting.Methods inherited from class org.apache.maven.surefire.testng.conf.TestNG5143Configurator
convertListeners
Methods inherited from class org.apache.maven.surefire.testng.conf.TestNG513Configurator
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
-
Constructor Details
-
TestNG740Configurator
public TestNG740Configurator()
-
-
Method Details
-
configureParallel
protected void configureParallel(org.testng.xml.XmlSuite suite, Map<String, String> options) throws TestSetFailedExceptionConvert 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
-