Uses of Interface
org.testng.ITestListener
Packages that use ITestListener
-
Uses of ITestListener in org.testng
Classes in org.testng that implement ITestListenerModifier and TypeClassDescriptionclassA simple ITestListener adapter that stores all the tests that were run.Fields in org.testng declared as ITestListenerModifier and TypeFieldDescriptionprivate ITestListenerSuiteRunner.exitCodeListenerprivate final ITestListenerSuiteRunner.TestListenersContainer.exitCodeListenerprivate ITestListenerTestRunner.exitCodeListenerprivate final ITestListener[]SuiteRunner.DefaultTestRunnerFactory.failureGeneratorsprivate final ITestListener[]SuiteRunner.ProxyTestRunnerFactory.failureGeneratorsFields in org.testng with type parameters of type ITestListenerModifier and TypeFieldDescriptionprivate final List<ITestListener> SuiteRunner.TestListenersContainer.listenersprivate final Map<Class<? extends ITestListener>, ITestListener> TestNG.m_testListenersprivate final Map<Class<? extends ITestListener>, ITestListener> TestNG.m_testListenersprivate final List<ITestListener> TestRunner.m_testListenersITestListeners support.private final List<ITestListener> SuiteRunner.testListenersMethods in org.testng that return ITestListenerModifier and TypeMethodDescription(package private) ITestListenerSuiteRunner.getExitCodeListener()TestRunner.getExitCodeListener()Methods in org.testng that return types with arguments of type ITestListenerMethods in org.testng with parameters of type ITestListenerModifier and TypeMethodDescription(package private) voidTestRunner.addTestListener(ITestListener listener) static TestNGTestNG.privateMain(String[] argv, ITestListener listener) Note: this method is not part of the public API and is meant for internal usage only.private voidTestRunner.setExitCodeListener(ITestListener exitCodeListener) Constructors in org.testng with parameters of type ITestListenerModifierConstructorDescriptionDefaultTestRunnerFactory(IConfiguration configuration, ITestListener[] failureListeners, boolean useDefaultListeners, boolean skipFailedInvocationCounts, Comparator<ITestNGMethod> comparator, SuiteRunner suiteRunner) ProxyTestRunnerFactory(ITestListener[] failureListeners, ITestRunnerFactory target) (package private)TestListenersContainer(List<ITestListener> listeners, ITestListener exitCodeListener) Constructor parameters in org.testng with type arguments of type ITestListenerModifierConstructorDescription(package private)TestListenersContainer(List<ITestListener> listeners, ITestListener exitCodeListener) -
Uses of ITestListener in org.testng.internal
Subinterfaces of ITestListener in org.testng.internalModifier and TypeInterfaceDescriptioninterfaceA convenient interface to use when implementing listeners.interfaceClasses in org.testng.internal that implement ITestListenerMethods in org.testng.internal that return ITestListenerMethods in org.testng.internal that return types with arguments of type ITestListenerMethod parameters in org.testng.internal with type arguments of type ITestListenerModifier and TypeMethodDescriptionstatic voidTestListenerHelper.runTestListeners(ITestResult tr, List<ITestListener> listeners) Iterates through a bunch of listeners and invokes them. -
Uses of ITestListener in org.testng.junit
Fields in org.testng.junit declared as ITestListenerModifier and TypeFieldDescriptionprivate final ITestListenerJUnit4TestRunner.m_exitCodeListenerDeprecated.Fields in org.testng.junit with type parameters of type ITestListenerModifier and TypeFieldDescriptionprivate final List<ITestListener> JUnit4TestRunner.m_listenersDeprecated. -
Uses of ITestListener in org.testng.reporters
Classes in org.testng.reporters that implement ITestListenerModifier and TypeClassDescriptionclassclassA very simpleITestListenerused by the TestNG runner to find out the exit code.classA JUnit XML report generator (replacing the original JUnitXMLReporter that was based on XML APIs).classThis class implements an HTML reporter for individual tests.classA simple reporter that collects the results and prints them on standard out.classReporter printing out detailed messages about what TestNG is going to run and what is the status of what has been just run.