Uses of Interface
org.testng.IInvokedMethodListener
-
Packages that use IInvokedMethodListener Package Description org.testng org.testng.internal org.testng.internal.invokers org.testng.junit -
-
Uses of IInvokedMethodListener in org.testng
Subinterfaces of IInvokedMethodListener in org.testng Modifier and Type Interface Description interface
IInvokedMethodListener2
Implement this interface if you need a handle toITestContext
.Classes in org.testng that implement IInvokedMethodListener Modifier and Type Class Description class
SuiteRunner
SuiteRunner
is responsible for running all the tests included in one suite.Fields in org.testng with type parameters of type IInvokedMethodListener Modifier and Type Field 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.Map<java.lang.Class<? extends IInvokedMethodListener>,IInvokedMethodListener>
TestNG. m_invokedMethodListeners
private java.util.Map<java.lang.Class<? extends IInvokedMethodListener>,IInvokedMethodListener>
TestNG. m_invokedMethodListeners
private java.util.Collection<IInvokedMethodListener>
TestRunner. m_invokedMethodListeners
Methods in org.testng with parameters of type IInvokedMethodListener Modifier and Type Method Description void
TestNG. addInvokedMethodListener(IInvokedMethodListener listener)
Deprecated.Use addListener(ITestNGListener) insteadvoid
TestNG. addListener(IInvokedMethodListener listener)
Deprecated.Use addListener(ITestNGListener) insteadMethod parameters in org.testng with type arguments of type IInvokedMethodListener Modifier and Type Method Description 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)
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)
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 newTestRunner
TestRunner
SuiteRunner.DefaultTestRunnerFactory. 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, 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)
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 parameters in org.testng with type arguments of type IInvokedMethodListener Constructor 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)
Deprecated.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.Comparator<ITestNGMethod> comparator)
Deprecated.- This constructor stands deprecated as of TestNG v6.13.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)
-
Uses of IInvokedMethodListener in org.testng.internal
Fields in org.testng.internal with type parameters of type IInvokedMethodListener Modifier and Type Field Description private java.util.Collection<IInvokedMethodListener>
Invoker. m_invokedMethodListeners
Constructor parameters in org.testng.internal with type arguments of type IInvokedMethodListener 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)
-
Uses of IInvokedMethodListener in org.testng.internal.invokers
Classes in org.testng.internal.invokers with type parameters of type IInvokedMethodListener Modifier and Type Interface Description private static interface
InvokedMethodListenerInvoker.InvocationStrategy<LISTENER_TYPE extends IInvokedMethodListener>
Fields in org.testng.internal.invokers with type parameters of type IInvokedMethodListener Modifier and Type Field Description private java.lang.Class<? extends IInvokedMethodListener>
InvokedMethodListenerSubtype. m_matchingInterface
Methods in org.testng.internal.invokers with parameters of type IInvokedMethodListener Modifier and Type Method Description void
InvokedMethodListenerInvoker.InvokeAfterInvocationWithoutContextStrategy. callMethod(IInvokedMethodListener listener, IInvokedMethod invokedMethod, ITestResult testResult, ITestContext testContext)
void
InvokedMethodListenerInvoker.InvokeBeforeInvocationWithoutContextStrategy. callMethod(IInvokedMethodListener listener, IInvokedMethod invokedMethod, ITestResult testResult, ITestContext testContext)
static InvokedMethodListenerSubtype
InvokedMethodListenerSubtype. fromListener(IInvokedMethodListener listenerInstance)
void
InvokedMethodListenerInvoker. invokeListener(IInvokedMethodListener listenerInstance, IInvokedMethod invokedMethod)
Invoke the givenlistenerInstance
, calling the method specified in the constructor of thisInvokedMethodListenerInvoker
.private boolean
InvokedMethodListenerSubtype. isInstance(IInvokedMethodListener listenerInstance)
private InvokedMethodListenerInvoker.InvocationStrategy
InvokedMethodListenerInvoker. obtainStrategyFor(IInvokedMethodListener listenerInstance, InvokedMethodListenerMethod listenerMethod)
Constructor parameters in org.testng.internal.invokers with type arguments of type IInvokedMethodListener Constructor Description InvokedMethodListenerSubtype(java.lang.Class<? extends IInvokedMethodListener> listenerClass)
-
Uses of IInvokedMethodListener in org.testng.junit
Fields in org.testng.junit with type parameters of type IInvokedMethodListener Modifier and Type Field Description private java.util.Collection<IInvokedMethodListener>
JUnitTestRunner. m_invokedMethodListeners
private java.util.Collection<IInvokedMethodListener>
JUnit4TestRunner. m_invokeListeners
Method parameters in org.testng.junit with type arguments of type IInvokedMethodListener Modifier and Type Method Description void
IJUnitTestRunner. setInvokedMethodListeners(java.util.Collection<IInvokedMethodListener> listener)
void
JUnit4TestRunner. setInvokedMethodListeners(java.util.Collection<IInvokedMethodListener> listeners)
void
JUnitTestRunner. setInvokedMethodListeners(java.util.Collection<IInvokedMethodListener> listeners)
-