org.testng.reporters
Class DotTestListener
java.lang.Object
org.testng.TestListenerAdapter
org.testng.reporters.DotTestListener
- All Implemented Interfaces:
- IConfigurationListener, IConfigurationListener2, org.testng.internal.IResultListener, org.testng.internal.IResultListener2, ITestListener, ITestNGListener
public class DotTestListener
- extends TestListenerAdapter
Methods inherited from class org.testng.TestListenerAdapter |
beforeConfiguration, getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess, onFinish, onStart, onTestFailedButWithinSuccessPercentage, onTestStart, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests, toString |
DotTestListener
public DotTestListener()
onTestFailure
public void onTestFailure(ITestResult tr)
- Description copied from interface:
ITestListener
- Invoked each time a test fails.
- Specified by:
onTestFailure
in interface ITestListener
- Overrides:
onTestFailure
in class TestListenerAdapter
- Parameters:
tr
- ITestResult
containing information about the run test- See Also:
ITestResult.FAILURE
onTestSkipped
public void onTestSkipped(ITestResult tr)
- Description copied from interface:
ITestListener
- Invoked each time a test is skipped.
- Specified by:
onTestSkipped
in interface ITestListener
- Overrides:
onTestSkipped
in class TestListenerAdapter
- Parameters:
tr
- ITestResult
containing information about the run test- See Also:
ITestResult.SKIP
onTestSuccess
public void onTestSuccess(ITestResult tr)
- Description copied from interface:
ITestListener
- Invoked each time a test succeeds.
- Specified by:
onTestSuccess
in interface ITestListener
- Overrides:
onTestSuccess
in class TestListenerAdapter
- Parameters:
tr
- ITestResult
containing information about the run test- See Also:
ITestResult.SUCCESS
Copyright © 2012. All Rights Reserved.