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) |
Constructor and Description |
---|
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
List<IMethodInterceptor> methodInterceptors,
List<IInvokedMethodListener> invokedMethodListeners,
List<ITestListener> testListeners,
List<IClassListener> classListeners) |
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners) |
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
String outputDirectory,
IAnnotationFinder finder,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners) |
Constructor and Description |
---|
Invoker(IConfiguration configuration,
ITestContext testContext,
ITestResultNotifier notifier,
SuiteRunState state,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners) |
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 |
IJUnitTestRunner.setInvokedMethodListeners(Collection<IInvokedMethodListener> listener) |
void |
JUnit4TestRunner.setInvokedMethodListeners(Collection<IInvokedMethodListener> listeners) |
void |
JUnitTestRunner.setInvokedMethodListeners(Collection<IInvokedMethodListener> listeners) |
Copyright © 2017. All Rights Reserved.