org.testng.reporters
Class DotTestListener

java.lang.Object
  extended by org.testng.TestListenerAdapter
      extended by org.testng.reporters.DotTestListener
All Implemented Interfaces:
org.testng.internal.IConfigurationListener, org.testng.internal.IResultListener, ITestListener, ITestNGListener

public class DotTestListener
extends TestListenerAdapter


Constructor Summary
DotTestListener()
           
 
Method Summary
 void onTestFailure(ITestResult tr)
          Invoked each time a test fails.
 void onTestSkipped(ITestResult tr)
          Invoked each time a test is skipped.
 void onTestSuccess(ITestResult tr)
          Invoked each time a test succeeds.
 
Methods inherited from class org.testng.TestListenerAdapter
getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess, onFinish, onStart, onTestFailedButWithinSuccessPercentage, onTestStart, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotTestListener

public DotTestListener()
Method Detail

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 © 2010. All Rights Reserved.