Package org.testng
Interface IConfigurationListener
-
- All Superinterfaces:
ITestNGListener
- All Known Subinterfaces:
IConfigurationListener2
- All Known Implementing Classes:
ExitCodeListener
,JUnitXMLReporter
,TestListenerAdapter
,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 void
beforeConfiguration(ITestResult tr)
Invoked before a configuration method is invoked.default void
beforeConfiguration(ITestResult tr, ITestNGMethod tm)
Invoked before a configuration method is invoked.default void
onConfigurationFailure(ITestResult tr)
Invoked whenever a configuration method failed.default void
onConfigurationFailure(ITestResult tr, ITestNGMethod tm)
Invoked whenever a configuration method failed.default void
onConfigurationSkip(ITestResult tr)
Invoked whenever a configuration method was skipped.default void
onConfigurationSkip(ITestResult tr, ITestNGMethod tm)
Invoked whenever a configuration method was skipped.default void
onConfigurationSuccess(ITestResult tr)
Invoked whenever a configuration method succeeded.default void
onConfigurationSuccess(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
-
-