| Package | Description |
|---|---|
| org.testng | |
| org.testng.internal |
| Modifier and Type | Method | Description |
|---|---|---|
void |
TestNG.addListener(IClassListener listener) |
Deprecated.
Use addListener(ITestNGListener) instead
|
| Modifier and Type | Method | Description |
|---|---|---|
TestRunner |
ITestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners) |
|
TestRunner |
ITestRunnerFactory2.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners,
java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners) |
Produces a new
TestRunner |
| Constructor | Description |
|---|---|
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
boolean skipFailedInvocationCounts,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.List<IClassListener> classListeners) |
This constructor is used by testng-remote, any changes related to it please contact with testng-team.
|
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
boolean skipFailedInvocationCounts,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.List<IClassListener> classListeners,
java.util.Comparator<ITestNGMethod> comparator) |
|
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
java.lang.String outputDirectory,
IAnnotationFinder finder,
boolean skipFailedInvocationCounts,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.List<IClassListener> classListeners,
java.util.Comparator<ITestNGMethod> comparator,
java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners) |
| Modifier and Type | Method | Description |
|---|---|---|
AbstractParallelWorker.Arguments.Builder |
AbstractParallelWorker.Arguments.Builder.listeners(java.util.Collection<IClassListener> listeners) |
| Constructor | Description |
|---|---|
Invoker(IConfiguration configuration,
ITestContext testContext,
ITestResultNotifier notifier,
SuiteRunState state,
boolean skipFailedInvocationCounts,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.List<IClassListener> classListeners,
java.util.Collection<IDataProviderListener> dataProviderListeners) |