Package it.tidalwave.util.test
Class TestLogger
java.lang.Object
org.testng.TestListenerAdapter
it.tidalwave.util.test.TestLogger
- All Implemented Interfaces:
org.testng.IConfigurationListener
,org.testng.internal.IResultListener
,org.testng.internal.IResultListener2
,org.testng.ITestListener
,org.testng.ITestNGListener
public class TestLogger
extends org.testng.TestListenerAdapter
- Author:
- Fabrizio Giudici
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onConfigurationFailure
(org.testng.ITestResult result) void
onConfigurationSkip
(org.testng.ITestResult result) void
onFinish
(org.testng.ITestContext testContext) void
onStart
(org.testng.ITestContext testContext) void
onTestFailedButWithinSuccessPercentage
(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 org.testng.TestListenerAdapter
getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, getTimedoutTests, onConfigurationSuccess, onTestFailedWithTimeout, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.testng.IConfigurationListener
beforeConfiguration, beforeConfiguration, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess
Methods inherited from interface org.testng.ITestNGListener
isEnabled
-
Constructor Details
-
TestLogger
public TestLogger()
-
-
Method Details
-
onStart
public void onStart(@Nonnull org.testng.ITestContext testContext) - Specified by:
onStart
in interfaceorg.testng.ITestListener
- Overrides:
onStart
in classorg.testng.TestListenerAdapter
-
onFinish
public void onFinish(@Nonnull org.testng.ITestContext testContext) -
onConfigurationSkip
public void onConfigurationSkip(@Nonnull org.testng.ITestResult result) - Specified by:
onConfigurationSkip
in interfaceorg.testng.IConfigurationListener
- Overrides:
onConfigurationSkip
in classorg.testng.TestListenerAdapter
-
onConfigurationFailure
public void onConfigurationFailure(@Nonnull org.testng.ITestResult result) - Specified by:
onConfigurationFailure
in interfaceorg.testng.IConfigurationListener
- Overrides:
onConfigurationFailure
in classorg.testng.TestListenerAdapter
-
onTestStart
public void onTestStart(@Nonnull org.testng.ITestResult result) -
onTestFailure
public void onTestFailure(@Nonnull org.testng.ITestResult result) - Specified by:
onTestFailure
in interfaceorg.testng.ITestListener
- Overrides:
onTestFailure
in classorg.testng.TestListenerAdapter
-
onTestFailedButWithinSuccessPercentage
public void onTestFailedButWithinSuccessPercentage(@Nonnull org.testng.ITestResult result) - Specified by:
onTestFailedButWithinSuccessPercentage
in interfaceorg.testng.ITestListener
- Overrides:
onTestFailedButWithinSuccessPercentage
in classorg.testng.TestListenerAdapter
-
onTestSkipped
public void onTestSkipped(@Nonnull org.testng.ITestResult result) - Specified by:
onTestSkipped
in interfaceorg.testng.ITestListener
- Overrides:
onTestSkipped
in classorg.testng.TestListenerAdapter
-
onTestSuccess
public void onTestSuccess(@Nonnull org.testng.ITestResult result) - Specified by:
onTestSuccess
in interfaceorg.testng.ITestListener
- Overrides:
onTestSuccess
in classorg.testng.TestListenerAdapter
-