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 voidconfigureParallel(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
convertListenersMethods inherited from class org.apache.maven.surefire.testng.conf.TestNG513Configurator
convertReporterConfigMethods inherited from class org.apache.maven.surefire.testng.conf.TestNG510Configurator
configureMethods 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
parallelsetting of theXmlSuiteclass 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:
configureParallelin classTestNGMapConfigurator- Parameters:
suite- TestNGXmlSuiteobjectoptions- Surefire plugin configuration options- Throws:
TestSetFailedException- if unable to convert specified [parallel] setting
-