Package org.testng.reporters
Class DotTestListener
- java.lang.Object
-
- org.testng.TestListenerAdapter
-
- org.testng.reporters.DotTestListener
-
- All Implemented Interfaces:
IConfigurationListener,IResultListener,IResultListener2,ITestListener,ITestNGListener
public class DotTestListener extends TestListenerAdapter
-
-
Field Summary
Fields Modifier and Type Field Description private intm_count
-
Constructor Summary
Constructors Constructor Description DotTestListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidlog(java.lang.String string)voidonTestFailure(ITestResult tr)Invoked each time a test fails.voidonTestSkipped(ITestResult tr)Invoked each time a test is skipped.voidonTestSuccess(ITestResult tr)Invoked each time a test succeeds.-
Methods inherited from class org.testng.TestListenerAdapter
beforeConfiguration, getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, getTimedoutTests, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess, onFinish, onStart, onTestFailedButWithinSuccessPercentage, onTestFailedWithTimeout, onTestStart, 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, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess
-
-
-
-
Method Detail
-
onTestFailure
public void onTestFailure(ITestResult tr)
Description copied from interface:ITestListenerInvoked each time a test fails.- Specified by:
onTestFailurein interfaceITestListener- Overrides:
onTestFailurein classTestListenerAdapter- Parameters:
tr-ITestResultcontaining information about the run test- See Also:
ITestResult.FAILURE
-
onTestSkipped
public void onTestSkipped(ITestResult tr)
Description copied from interface:ITestListenerInvoked each time a test is skipped.- Specified by:
onTestSkippedin interfaceITestListener- Overrides:
onTestSkippedin classTestListenerAdapter- Parameters:
tr-ITestResultcontaining information about the run test- See Also:
ITestResult.SKIP
-
onTestSuccess
public void onTestSuccess(ITestResult tr)
Description copied from interface:ITestListenerInvoked each time a test succeeds.- Specified by:
onTestSuccessin interfaceITestListener- Overrides:
onTestSuccessin classTestListenerAdapter- Parameters:
tr-ITestResultcontaining information about the run test- See Also:
ITestResult.SUCCESS
-
log
private void log(java.lang.String string)
-
-