Uses of Interface
org.testng.ITestNGListener
Packages that use ITestNGListener
Package
Description
-
Uses of ITestNGListener in org.testng
Subinterfaces of ITestNGListener in org.testngModifier and TypeInterfaceDescriptioninterfaceImplementations of this interface will gain access to theXmlSuiteobject and thus let users be able to alter a suite or a test based on their own needs.interfaceinterfaceinterfaceIf a test class implements this interface, its run() method will be invoked instead of each configuration method found.interfaceListener interface for events related to configuration methods.interfaceDeprecated.interfaceThis interface helps define an interceptor for data providers.interfaceA listener that gets invoked before and after a data provider is invoked by TestNG.interfaceA listener used to monitor when a TestNG run starts and ends.interfaceA TestNG listener that can be used to build graph representations of TestNG methods as and when they are being executed on a real-time basis.interfaceIf a test class implements this interface, its run() method will be invoked instead of each @Test method found.interfaceA listener that gets invoked before and after a method is invoked by TestNG.interfaceThis class is used to alter the list of test methods that TestNG is about to run.interfaceThis interface can be implemented by clients to generate a report.interfaceListener for test suites.interfaceA listener for test running.Classes in org.testng that implement ITestNGListenerModifier and TypeClassDescriptionclassA simple ITestListener adapter that stores all the tests that were run.Subinterfaces with type arguments of type ITestNGListener in org.testngModifier and TypeInterfaceDescriptioninterfaceListener interface that can be used to determine listener execution order.Methods in org.testng with type parameters of type ITestNGListenerModifier and TypeMethodDescriptionstatic <T extends ITestNGListener>
Collection<T> ListenerComparator.sort(Collection<T> list, ListenerComparator comparator) static <T extends ITestNGListener>
List<T> ListenerComparator.sort(List<T> list, ListenerComparator comparator) Methods in org.testng that return ITestNGListenerModifier and TypeMethodDescriptionITestNGListenerFactory.createListener(Class<? extends ITestNGListener> listenerClass) Create and return an instance of the listener class passed in parameter.Methods in org.testng that return types with arguments of type ITestNGListenerMethods in org.testng with parameters of type ITestNGListenerModifier and TypeMethodDescriptionvoidISuite.addListener(ITestNGListener listener) voidSuiteRunner.addListener(ITestNGListener listener) voidTestNG.addListener(ITestNGListener listener) voidTestRunner.addListener(ITestNGListener listener) Method parameters in org.testng with type arguments of type ITestNGListenerModifier and TypeMethodDescriptionITestNGListenerFactory.createListener(Class<? extends ITestNGListener> listenerClass) Create and return an instance of the listener class passed in parameter.voidTestNG.setListenerClasses(List<Class<? extends ITestNGListener>> classes) Define which listeners to user for this run. -
Uses of ITestNGListener in org.testng.annotations
Methods in org.testng.annotations that return types with arguments of type ITestNGListenerModifier and TypeMethodDescriptionClass<? extends ITestNGListener>[]IListenersAnnotation.getValue() -
Uses of ITestNGListener in org.testng.internal
Subinterfaces of ITestNGListener in org.testng.internalModifier and TypeInterfaceDescriptioninterfaceA convenient interface to use when implementing listeners.interfaceClasses in org.testng.internal that implement ITestNGListenerMethods in org.testng.internal with type parameters of type ITestNGListenerModifier and TypeMethodDescriptionstatic <T extends ITestNGListener>
List<T> ListenerOrderDeterminer.order(Collection<T> original, ListenerComparator comparator) static <T extends ITestNGListener>
List<T> ListenerOrderDeterminer.reversedOrder(Collection<T> original, ListenerComparator comparator) Methods in org.testng.internal that return ITestNGListenerModifier and TypeMethodDescriptionDefaultListenerFactory.createListener(Class<? extends ITestNGListener> listenerClass) Methods in org.testng.internal that return types with arguments of type ITestNGListenerModifier and TypeMethodDescriptionList<Class<? extends ITestNGListener>> TestListenerHelper.ListenerHolder.getListenerClasses()Method parameters in org.testng.internal with type arguments of type ITestNGListenerModifier and TypeMethodDescriptionvoidTestListenerHelper.ListenerHolder.addListener(Class<? extends ITestNGListener> c) DefaultListenerFactory.createListener(Class<? extends ITestNGListener> listenerClass) -
Uses of ITestNGListener in org.testng.internal.annotations
Subinterfaces of ITestNGListener in org.testng.internal.annotationsModifier and TypeInterfaceDescriptioninterfaceFor backward compatibility.Classes in org.testng.internal.annotations that implement ITestNGListenerMethods in org.testng.internal.annotations that return types with arguments of type ITestNGListenerModifier and TypeMethodDescriptionClass<? extends ITestNGListener>[]ListenersAnnotation.getValue() -
Uses of ITestNGListener in org.testng.reporters
Classes in org.testng.reporters that implement ITestNGListenerModifier and TypeClassDescriptionclassclassclassReporter that generates a single-page HTML report of the test results.classDeprecated.- This class stands deprecated as of TestNGv7.10.0classThis reporter is responsible for creating testng-failed.xmlclassclassA JUnit XML report generator (replacing the original JUnitXMLReporter that was based on XML APIs).classThe main entry for the XML generation operationclassDeprecated.- This reporter is deprecated as of TestNG7.9.0in favour ofMainclassThis 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.classThe main entry for the XML generation operation -
Uses of ITestNGListener in org.testng.reporters.jq
Classes in org.testng.reporters.jq that implement ITestNGListener
IConfigurationListener