Package org.testng
Interface IConfigurationListener
-
- All Superinterfaces:
ITestNGListener
- All Known Subinterfaces:
IConfigurationListener2,IResultListener,IResultListener2
- All Known Implementing Classes:
DotTestListener,ExitCodeListener,FailedReporter,JUnitXMLReporter,TestHTMLReporter,TestListenerAdapter,TestRunner.ConfigurationListener,TextReporter,VerboseReporter
public interface IConfigurationListener extends ITestNGListener
Listener interface for events related to configuration methods.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidbeforeConfiguration(ITestResult tr)Invoked before a configuration method is invoked.default voidbeforeConfiguration(ITestResult tr, ITestNGMethod tm)Invoked before a configuration method is invoked.default voidonConfigurationFailure(ITestResult tr)Invoked whenever a configuration method failed.default voidonConfigurationFailure(ITestResult tr, ITestNGMethod tm)Invoked whenever a configuration method failed.default voidonConfigurationSkip(ITestResult tr)Invoked whenever a configuration method was skipped.default voidonConfigurationSkip(ITestResult tr, ITestNGMethod tm)Invoked whenever a configuration method was skipped.default voidonConfigurationSuccess(ITestResult tr)Invoked whenever a configuration method succeeded.default voidonConfigurationSuccess(ITestResult tr, ITestNGMethod tm)Invoked whenever a configuration method succeeded.
-
-
-
Method Detail
-
onConfigurationSuccess
default void onConfigurationSuccess(ITestResult tr)
Invoked whenever a configuration method succeeded.- Parameters:
tr- The test result
-
onConfigurationSuccess
default void onConfigurationSuccess(ITestResult tr, ITestNGMethod tm)
Invoked whenever a configuration method succeeded.- Parameters:
tr- The test resulttm- The test method
-
onConfigurationFailure
default void onConfigurationFailure(ITestResult tr)
Invoked whenever a configuration method failed.- Parameters:
tr- The test result
-
onConfigurationFailure
default void onConfigurationFailure(ITestResult tr, ITestNGMethod tm)
Invoked whenever a configuration method failed.- Parameters:
tr- The test resulttm- The test method
-
onConfigurationSkip
default void onConfigurationSkip(ITestResult tr)
Invoked whenever a configuration method was skipped.- Parameters:
tr- The test result
-
onConfigurationSkip
default void onConfigurationSkip(ITestResult tr, ITestNGMethod tm)
Invoked whenever a configuration method was skipped.- Parameters:
tr- The test resulttm- The test method
-
beforeConfiguration
default void beforeConfiguration(ITestResult tr)
Invoked before a configuration method is invoked.- Parameters:
tr- The test result
-
beforeConfiguration
default void beforeConfiguration(ITestResult tr, ITestNGMethod tm)
Invoked before a configuration method is invoked.- Parameters:
tr- The test resulttm- The test method
-
-