public class TestNGMapConfigurator extends java.lang.Object implements Configurator
TestNG.configure(java.util.Map) method.
All suppported TestNG options are passed in String format, except
TestNGCommandLineArgs.LISTENER_COMMAND_OPT which is List>Class<,
TestNGCommandLineArgs.JUNIT_DEF_OPT which is a Boolean,
TestNGCommandLineArgs.SKIP_FAILED_INVOCATION_COUNT_OPT which is a Boolean,
TestNGCommandLineArgs.OBJECT_FACTORY_COMMAND_OPT which is a Class,
TestNGCommandLineArgs.REPORTERS_LIST which is a List>ReporterConfig<.
Test classes and/or suite files are not passed along as options parameters, but
configured separately.| Constructor and Description |
|---|
TestNGMapConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.testng.TestNG testng,
java.util.Map options) |
protected java.lang.Object |
convert(java.lang.Object val,
java.lang.Class type) |
public void configure(org.testng.TestNG testng,
java.util.Map options)
throws TestSetFailedException
configure in interface ConfiguratorTestSetFailedExceptionprotected java.lang.Object convert(java.lang.Object val,
java.lang.Class type)
Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.