Uses of Interface
org.testng.ITestListener
-
Packages that use ITestListener Package Description org.testng org.testng.internal org.testng.junit org.testng.reporters -
-
Uses of ITestListener in org.testng
Classes in org.testng that implement ITestListener Modifier and Type Class Description class
TestListenerAdapter
A simple ITestListener adapter that stores all the tests that were run.Fields in org.testng declared as ITestListener Modifier and Type Field Description private ITestListener[]
SuiteRunner.DefaultTestRunnerFactory. failureGenerators
private ITestListener[]
SuiteRunner.ProxyTestRunnerFactory. failureGenerators
Fields in org.testng with type parameters of type ITestListener Modifier and Type Field Description private java.util.Map<java.lang.Class<? extends ITestListener>,ITestListener>
TestNG. m_testListeners
private java.util.Map<java.lang.Class<? extends ITestListener>,ITestListener>
TestNG. m_testListeners
private java.util.List<ITestListener>
TestRunner. m_testListeners
ITestListeners support.private java.util.List<ITestListener>
SuiteRunner. testListeners
Methods in org.testng that return types with arguments of type ITestListener Modifier and Type Method Description java.util.List<ITestListener>
TestNG. getTestListeners()
java.util.List<ITestListener>
TestRunner. getTestListeners()
Methods in org.testng with parameters of type ITestListener Modifier and Type Method Description (package private) void
TestRunner. addTestListener(ITestListener listener)
static TestNG
TestNG. privateMain(java.lang.String[] argv, ITestListener listener)
Note: this method is not part of the public API and is meant for internal usage only.Constructors in org.testng with parameters of type ITestListener Constructor Description DefaultTestRunnerFactory(IConfiguration configuration, ITestListener[] failureListeners, boolean useDefaultListeners, boolean skipFailedInvocationCounts, java.util.Comparator<ITestNGMethod> comparator)
ProxyTestRunnerFactory(ITestListener[] failureListeners, ITestRunnerFactory target)
-
Uses of ITestListener in org.testng.internal
Subinterfaces of ITestListener in org.testng.internal Modifier and Type Interface Description interface
IResultListener
A convenient interface to use when implementing listeners.interface
IResultListener2
Classes in org.testng.internal that implement ITestListener Modifier and Type Class Description class
ExitCodeListener
Methods in org.testng.internal that return types with arguments of type ITestListener Modifier and Type Method Description java.util.List<ITestListener>
ITestResultNotifier. getTestListeners()
Method parameters in org.testng.internal with type arguments of type ITestListener Modifier and Type Method Description static void
TestListenerHelper. runTestListeners(ITestResult tr, java.util.List<ITestListener> listeners)
Iterates through a bunch of listeners and invokes them. -
Uses of ITestListener in org.testng.junit
Fields in org.testng.junit with type parameters of type ITestListener Modifier and Type Field Description private java.util.List<ITestListener>
JUnit4TestRunner. m_listeners
-
Uses of ITestListener in org.testng.reporters
Classes in org.testng.reporters that implement ITestListener Modifier and Type Class Description class
DotTestListener
class
ExitCodeListener
A very simpleITestListener
used by the TestNG runner to find out the exit code.class
FailedReporter
This reporter is responsible for creating testng-failed.xmlclass
JUnitXMLReporter
A JUnit XML report generator (replacing the original JUnitXMLReporter that was based on XML APIs).class
TestHTMLReporter
This class implements an HTML reporter for individual tests.class
TextReporter
A simple reporter that collects the results and prints them on standard out.class
VerboseReporter
Reporter printing out detailed messages about what TestNG is going to run and what is the status of what has been just run.
-