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
Constructors Constructor Description TestLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
beforeConfiguration, getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, getTimedoutTests, onConfigurationSuccess, onTestFailedWithTimeout, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests, toString
-
-
-
-
Method Detail
-
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)
- Specified by:
onFinish
in interfaceorg.testng.ITestListener
- Overrides:
onFinish
in classorg.testng.TestListenerAdapter
-
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)
- Specified by:
onTestStart
in interfaceorg.testng.ITestListener
- Overrides:
onTestStart
in classorg.testng.TestListenerAdapter
-
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
-
-