Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.internal.invokers | |
org.testng.junit |
Modifier and Type | Interface and Description |
---|---|
interface |
IInvokedMethodListener2
Deprecated.
As of release 7.0.0, replaced by
IInvokedMethodListener |
Modifier and Type | Class and Description |
---|---|
class |
SuiteRunner
SuiteRunner is responsible for running all the tests included in one suite. |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Class<? extends IInvokedMethodListener>,IInvokedMethodListener> |
SuiteRunner.invokedMethodListeners |
private java.util.Map<java.lang.Class<? extends IInvokedMethodListener>,IInvokedMethodListener> |
SuiteRunner.invokedMethodListeners |
private java.util.Collection<IInvokedMethodListener> |
TestRunner.m_invokedMethodListeners |
private java.util.Map<java.lang.Class<? extends IInvokedMethodListener>,IInvokedMethodListener> |
TestNG.m_invokedMethodListeners |
private java.util.Map<java.lang.Class<? extends IInvokedMethodListener>,IInvokedMethodListener> |
TestNG.m_invokedMethodListeners |
Modifier and Type | Method and Description |
---|---|
private void |
TestRunner.init(IConfiguration configuration,
ISuite suite,
XmlTest test,
java.lang.String outputDirectory,
IAnnotationFinder annotationFinder,
boolean skipFailedInvocationCounts,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.List<IClassListener> classListeners) |
private void |
SuiteRunner.init(IConfiguration configuration,
XmlSuite suite,
java.lang.String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
java.util.List<IMethodInterceptor> methodInterceptors,
java.util.Collection<IInvokedMethodListener> invokedMethodListener,
java.util.Collection<ITestListener> testListeners,
java.util.Collection<IClassListener> classListeners,
java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners,
java.util.Comparator<ITestNGMethod> comparator) |
TestRunner |
ITestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners) |
TestRunner |
SuiteRunner.DefaultTestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners) |
TestRunner |
SuiteRunner.ProxyTestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
java.util.Collection<IInvokedMethodListener> listeners,
java.util.List<IClassListener> classListeners) |
default TestRunner |
ITestRunnerFactory.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 |
TestRunner |
SuiteRunner.DefaultTestRunnerFactory.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) |
TestRunner |
SuiteRunner.ProxyTestRunnerFactory.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) |
Constructor and Description |
---|
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
java.lang.String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
java.util.List<IMethodInterceptor> methodInterceptors,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
java.util.Collection<ITestListener> testListeners,
java.util.Collection<IClassListener> classListeners,
java.util.Map<java.lang.Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners,
java.util.Comparator<ITestNGMethod> comparator) |
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 | Field and Description |
---|---|
private java.util.Collection<IInvokedMethodListener> |
BaseInvoker.m_invokedMethodListeners |
Constructor and Description |
---|
BaseInvoker(ITestResultNotifier notifier,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
ITestContext testContext,
SuiteRunState suiteState,
IConfiguration configuration) |
ConfigInvoker(ITestResultNotifier notifier,
java.util.Collection<IInvokedMethodListener> invokedMethodListeners,
ITestContext testContext,
SuiteRunState suiteState,
IConfiguration configuration) |
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) |
TestInvoker(ITestResultNotifier m_notifier,
ITestContext m_testContext,
SuiteRunState m_suiteState,
IConfiguration m_configuration,
java.util.Collection<IInvokedMethodListener> m_invokedMethodListeners,
java.util.Collection<IDataProviderListener> m_dataproviderListeners,
java.util.List<IClassListener> m_classListeners,
boolean m_skipFailedInvocationCounts,
ConfigInvoker invoker) |
Modifier and Type | Interface and Description |
---|---|
private static interface |
InvokedMethodListenerInvoker.InvocationStrategy<LISTENER_TYPE extends IInvokedMethodListener> |
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<? extends IInvokedMethodListener> |
InvokedMethodListenerSubtype.m_matchingInterface |
Modifier and Type | Method and Description |
---|---|
void |
InvokedMethodListenerInvoker.InvokeBeforeInvocationWithoutContextStrategy.callMethod(IInvokedMethodListener listener,
IInvokedMethod invokedMethod,
ITestResult testResult,
ITestContext testContext) |
void |
InvokedMethodListenerInvoker.InvokeBeforeInvocationWithContextStrategy.callMethod(IInvokedMethodListener listener,
IInvokedMethod invokedMethod,
ITestResult testResult,
ITestContext testContext) |
void |
InvokedMethodListenerInvoker.InvokeAfterInvocationWithoutContextStrategy.callMethod(IInvokedMethodListener listener,
IInvokedMethod invokedMethod,
ITestResult testResult,
ITestContext testContext) |
void |
InvokedMethodListenerInvoker.InvokeAfterInvocationWithContextStrategy.callMethod(IInvokedMethodListener listener,
IInvokedMethod invokedMethod,
ITestResult testResult,
ITestContext testContext) |
static InvokedMethodListenerSubtype |
InvokedMethodListenerSubtype.fromListener(IInvokedMethodListener listenerInstance) |
void |
InvokedMethodListenerInvoker.invokeListener(IInvokedMethodListener listenerInstance,
IInvokedMethod invokedMethod)
Invokes the given
listenerInstance , calling the method specified in the constructor of
this InvokedMethodListenerInvoker . |
private boolean |
InvokedMethodListenerSubtype.isInstance(IInvokedMethodListener listenerInstance) |
private InvokedMethodListenerInvoker.InvocationStrategy |
InvokedMethodListenerInvoker.obtainStrategyFor(IInvokedMethodListener listenerInstance,
InvokedMethodListenerMethod listenerMethod) |
Constructor and Description |
---|
InvokedMethodListenerSubtype(java.lang.Class<? extends IInvokedMethodListener> listenerClass) |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<IInvokedMethodListener> |
JUnitTestRunner.m_invokedMethodListeners |
private java.util.Collection<IInvokedMethodListener> |
JUnit4TestRunner.m_invokeListeners |
Modifier and Type | Method and Description |
---|---|
void |
IJUnitTestRunner.setInvokedMethodListeners(java.util.Collection<IInvokedMethodListener> listener) |
void |
JUnitTestRunner.setInvokedMethodListeners(java.util.Collection<IInvokedMethodListener> listeners) |
void |
JUnit4TestRunner.setInvokedMethodListeners(java.util.Collection<IInvokedMethodListener> listeners) |