Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.internal.invokers | |
org.testng.junit |
Modifier and Type | Interface and Description |
---|---|
interface |
IInvokedMethodListener2
Implement this interface if you need a handle to
ITestContext . |
Modifier and Type | Class and Description |
---|---|
class |
SuiteRunner
SuiteRunner is responsible for running all the tests included in one
suite. |
Modifier and Type | Method and Description |
---|---|
void |
TestNG.addInvokedMethodListener(IInvokedMethodListener listener)
Deprecated.
Use addListener(ITestNGListener) instead
|
void |
TestNG.addListener(IInvokedMethodListener listener)
Deprecated.
Use addListener(ITestNGListener) instead
|
Modifier and Type | Method and Description |
---|---|
TestRunner |
ITestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
Collection<IInvokedMethodListener> listeners,
List<IClassListener> classListeners) |
TestRunner |
ITestRunnerFactory2.newTestRunner(ISuite suite,
XmlTest test,
Collection<IInvokedMethodListener> listeners,
List<IClassListener> classListeners,
Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
Produces a new
TestRunner |
Constructor and Description |
---|
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
List<IMethodInterceptor> methodInterceptors,
Collection<IInvokedMethodListener> invokedMethodListeners,
Collection<ITestListener> testListeners,
Collection<IClassListener> classListeners)
Deprecated.
|
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
List<IMethodInterceptor> methodInterceptors,
Collection<IInvokedMethodListener> invokedMethodListeners,
Collection<ITestListener> testListeners,
Collection<IClassListener> classListeners,
Comparator<ITestNGMethod> comparator)
Deprecated.
- This constructor stands deprecated as of TestNG v6.13.
|
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
List<IMethodInterceptor> methodInterceptors,
Collection<IInvokedMethodListener> invokedMethodListeners,
Collection<ITestListener> testListeners,
Collection<IClassListener> classListeners,
Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners,
Comparator<ITestNGMethod> comparator) |
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
List<IMethodInterceptor> methodInterceptors,
List<IInvokedMethodListener> invokedMethodListeners,
List<ITestListener> testListeners,
List<IClassListener> classListeners)
Deprecated.
- This constructor stands deprecated.
|
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
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,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners,
Comparator<ITestNGMethod> comparator) |
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
String outputDirectory,
IAnnotationFinder finder,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners,
Comparator<ITestNGMethod> comparator,
Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners) |
Constructor and Description |
---|
Invoker(IConfiguration configuration,
ITestContext testContext,
ITestResultNotifier notifier,
SuiteRunState state,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners,
Collection<IDataProviderListener> dataProviderListeners) |
Modifier and Type | Method and Description |
---|---|
void |
InvokedMethodListenerInvoker.invokeListener(IInvokedMethodListener listenerInstance,
IInvokedMethod invokedMethod)
Invoke the given
listenerInstance , calling the method specified in the constructor of
this InvokedMethodListenerInvoker . |
Modifier and Type | Method and Description |
---|---|
void |
JUnit4TestRunner.setInvokedMethodListeners(Collection<IInvokedMethodListener> listeners) |
void |
JUnitTestRunner.setInvokedMethodListeners(Collection<IInvokedMethodListener> listeners) |
void |
IJUnitTestRunner.setInvokedMethodListeners(Collection<IInvokedMethodListener> listener) |
Copyright © 2018. All rights reserved.