Class TestNGTestListener

java.lang.Object
org.infinispan.commons.test.TestNGTestListener
All Implemented Interfaces:
org.testng.IConfigurationListener, org.testng.IConfigurationListener2, org.testng.ISuiteListener, org.testng.ITestListener, org.testng.ITestNGListener

public class TestNGTestListener extends Object implements org.testng.ITestListener, org.testng.IConfigurationListener2, org.testng.ISuiteListener
Logs TestNG test progress.
  • Constructor Details

    • TestNGTestListener

      public TestNGTestListener()
  • Method Details

    • onTestStart

      public void onTestStart(org.testng.ITestResult result)
      Specified by:
      onTestStart in interface org.testng.ITestListener
    • onTestSuccess

      public void onTestSuccess(org.testng.ITestResult result)
      Specified by:
      onTestSuccess in interface org.testng.ITestListener
    • onTestFailure

      public void onTestFailure(org.testng.ITestResult result)
      Specified by:
      onTestFailure in interface org.testng.ITestListener
    • onTestSkipped

      public void onTestSkipped(org.testng.ITestResult result)
      Specified by:
      onTestSkipped in interface org.testng.ITestListener
    • onTestFailedButWithinSuccessPercentage

      public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result)
      Specified by:
      onTestFailedButWithinSuccessPercentage in interface org.testng.ITestListener
    • onStart

      public void onStart(org.testng.ITestContext context)
      Specified by:
      onStart in interface org.testng.ITestListener
    • onFinish

      public void onFinish(org.testng.ITestContext context)
      Specified by:
      onFinish in interface org.testng.ITestListener
    • onStart

      public void onStart(org.testng.ISuite suite)
      Specified by:
      onStart in interface org.testng.ISuiteListener
    • onFinish

      public void onFinish(org.testng.ISuite suite)
      Specified by:
      onFinish in interface org.testng.ISuiteListener
    • beforeConfiguration

      public void beforeConfiguration(org.testng.ITestResult testResult)
      Specified by:
      beforeConfiguration in interface org.testng.IConfigurationListener2
    • onConfigurationSuccess

      public void onConfigurationSuccess(org.testng.ITestResult testResult)
      Specified by:
      onConfigurationSuccess in interface org.testng.IConfigurationListener
    • onConfigurationFailure

      public void onConfigurationFailure(org.testng.ITestResult testResult)
      Specified by:
      onConfigurationFailure in interface org.testng.IConfigurationListener
    • onConfigurationSkip

      public void onConfigurationSkip(org.testng.ITestResult testResult)
      Specified by:
      onConfigurationSkip in interface org.testng.IConfigurationListener