Package org.junit.support.testng.engine
Class LoggingListener
java.lang.Object
org.junit.support.testng.engine.DefaultListener
org.junit.support.testng.engine.LoggingListener
- All Implemented Interfaces:
org.testng.IAlterSuiteListener
,org.testng.IClassListener
,org.testng.IConfigurationListener
,org.testng.ITestListener
,org.testng.ITestNGListener
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final LoggingListener
private static final Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
beforeConfiguration
(org.testng.ITestResult tr) void
beforeConfiguration
(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) private void
void
onAfterClass
(org.testng.ITestClass testClass) void
onBeforeClass
(org.testng.ITestClass testClass) void
onConfigurationFailure
(org.testng.ITestResult tr) void
onConfigurationFailure
(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) void
onConfigurationSkip
(org.testng.ITestResult tr) void
onConfigurationSkip
(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) void
onConfigurationSuccess
(org.testng.ITestResult tr) void
onConfigurationSuccess
(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) void
onFinish
(org.testng.ITestContext context) void
onStart
(org.testng.ITestContext context) void
onTestFailedButWithinSuccessPercentage
(org.testng.ITestResult result) void
onTestFailedWithTimeout
(org.testng.ITestResult result) void
onTestFailure
(org.testng.ITestResult result) void
onTestSkipped
(org.testng.ITestResult result) void
onTestStart
(org.testng.ITestResult result) void
onTestSuccess
(org.testng.ITestResult result) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.testng.ITestNGListener
isEnabled
-
Field Details
-
INSTANCE
-
LOGGER
-
-
Constructor Details
-
LoggingListener
private LoggingListener()
-
-
Method Details
-
alter
- Specified by:
alter
in interfaceorg.testng.IAlterSuiteListener
- Overrides:
alter
in classDefaultListener
-
onBeforeClass
public void onBeforeClass(org.testng.ITestClass testClass) - Specified by:
onBeforeClass
in interfaceorg.testng.IClassListener
- Overrides:
onBeforeClass
in classDefaultListener
-
onAfterClass
public void onAfterClass(org.testng.ITestClass testClass) - Specified by:
onAfterClass
in interfaceorg.testng.IClassListener
- Overrides:
onAfterClass
in classDefaultListener
-
onTestStart
public void onTestStart(org.testng.ITestResult result) - Specified by:
onTestStart
in interfaceorg.testng.ITestListener
- Overrides:
onTestStart
in classDefaultListener
-
onTestSuccess
public void onTestSuccess(org.testng.ITestResult result) - Specified by:
onTestSuccess
in interfaceorg.testng.ITestListener
- Overrides:
onTestSuccess
in classDefaultListener
-
onTestFailure
public void onTestFailure(org.testng.ITestResult result) - Specified by:
onTestFailure
in interfaceorg.testng.ITestListener
- Overrides:
onTestFailure
in classDefaultListener
-
onTestSkipped
public void onTestSkipped(org.testng.ITestResult result) - Specified by:
onTestSkipped
in interfaceorg.testng.ITestListener
- Overrides:
onTestSkipped
in classDefaultListener
-
onTestFailedButWithinSuccessPercentage
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result) - Specified by:
onTestFailedButWithinSuccessPercentage
in interfaceorg.testng.ITestListener
- Overrides:
onTestFailedButWithinSuccessPercentage
in classDefaultListener
-
onTestFailedWithTimeout
public void onTestFailedWithTimeout(org.testng.ITestResult result) - Specified by:
onTestFailedWithTimeout
in interfaceorg.testng.ITestListener
- Overrides:
onTestFailedWithTimeout
in classDefaultListener
-
onStart
public void onStart(org.testng.ITestContext context) - Specified by:
onStart
in interfaceorg.testng.ITestListener
- Overrides:
onStart
in classDefaultListener
-
onFinish
public void onFinish(org.testng.ITestContext context) - Specified by:
onFinish
in interfaceorg.testng.ITestListener
- Overrides:
onFinish
in classDefaultListener
-
onConfigurationSuccess
public void onConfigurationSuccess(org.testng.ITestResult tr) - Specified by:
onConfigurationSuccess
in interfaceorg.testng.IConfigurationListener
- Overrides:
onConfigurationSuccess
in classDefaultListener
-
onConfigurationSuccess
public void onConfigurationSuccess(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) - Specified by:
onConfigurationSuccess
in interfaceorg.testng.IConfigurationListener
- Overrides:
onConfigurationSuccess
in classDefaultListener
-
onConfigurationFailure
public void onConfigurationFailure(org.testng.ITestResult tr) - Specified by:
onConfigurationFailure
in interfaceorg.testng.IConfigurationListener
- Overrides:
onConfigurationFailure
in classDefaultListener
-
onConfigurationFailure
public void onConfigurationFailure(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) - Specified by:
onConfigurationFailure
in interfaceorg.testng.IConfigurationListener
- Overrides:
onConfigurationFailure
in classDefaultListener
-
onConfigurationSkip
public void onConfigurationSkip(org.testng.ITestResult tr) - Specified by:
onConfigurationSkip
in interfaceorg.testng.IConfigurationListener
- Overrides:
onConfigurationSkip
in classDefaultListener
-
onConfigurationSkip
public void onConfigurationSkip(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) - Specified by:
onConfigurationSkip
in interfaceorg.testng.IConfigurationListener
- Overrides:
onConfigurationSkip
in classDefaultListener
-
beforeConfiguration
public void beforeConfiguration(org.testng.ITestResult tr) - Specified by:
beforeConfiguration
in interfaceorg.testng.IConfigurationListener
- Overrides:
beforeConfiguration
in classDefaultListener
-
beforeConfiguration
public void beforeConfiguration(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) - Specified by:
beforeConfiguration
in interfaceorg.testng.IConfigurationListener
- Overrides:
beforeConfiguration
in classDefaultListener
-
log
-