Interface IConfigurationListener
- All Superinterfaces:
ITestNGListener
- All Known Subinterfaces:
IConfigurationListener2, IResultListener, IResultListener2
- All Known Implementing Classes:
ExitCodeListener, JUnitXMLReporter, TestListenerAdapter, VerboseReporter
Listener interface for events related to configuration methods.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidInvoked before a configuration method is invoked.default voidInvoked before a configuration method is invoked.default voidInvoked whenever a configuration method failed.default voidInvoked whenever a configuration method failed.default voidInvoked whenever a configuration method was skipped.default voidInvoked whenever a configuration method was skipped.default voidInvoked whenever a configuration method succeeded.default voidInvoked whenever a configuration method succeeded.Methods inherited from interface ITestNGListener
isEnabled
-
Method Details
-
onConfigurationSuccess
Invoked whenever a configuration method succeeded.- Parameters:
tr- The test result
-
onConfigurationSuccess
Invoked whenever a configuration method succeeded.- Parameters:
tr- The test resulttm- The test method
-
onConfigurationFailure
Invoked whenever a configuration method failed.- Parameters:
tr- The test result
-
onConfigurationFailure
Invoked whenever a configuration method failed.- Parameters:
tr- The test resulttm- The test method
-
onConfigurationSkip
Invoked whenever a configuration method was skipped.- Parameters:
tr- The test result
-
onConfigurationSkip
Invoked whenever a configuration method was skipped.- Parameters:
tr- The test resulttm- The test method
-
beforeConfiguration
Invoked before a configuration method is invoked.- Parameters:
tr- The test result
-
beforeConfiguration
Invoked before a configuration method is invoked.- Parameters:
tr- The test resulttm- The test method
-