Package org.testng

Class TestListenerAdapter

  • All Implemented Interfaces:
    IConfigurationListener, IResultListener, IResultListener2, ITestListener, ITestNGListener

    public class TestListenerAdapter
    extends java.lang.Object
    implements IResultListener2
    A simple ITestListener adapter that stores all the tests that were run. You can retrieve these results with the following methods: getPassedTests() getFailedTests() getSkippedTests()

    If you extend this class in order to override any of these methods, remember to call their super equivalent if you want this list of tests to be maintained.

    Author:
    Cedric Beust, Aug 6, 2004, Alexandru Popescu