Class TestListeners

java.lang.Object
org.citrusframework.report.TestListeners
All Implemented Interfaces:
TestListenerAware

public class TestListeners extends Object implements TestListenerAware
Class that spreads test events to all available test listeners injected by Spring's IoC container.
  • Constructor Details

    • TestListeners

      public TestListeners()
  • Method Details

    • onTestFailure

      public void onTestFailure(TestCase test, Throwable cause)
    • onTestFinish

      @Deprecated(forRemoval=true) public void onTestFinish(TestCase test)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • onTestExecutionStart

      public void onTestExecutionStart(TestCase test)
    • onTestExecutionEnd

      public void onTestExecutionEnd(TestCase test)
    • onTestSkipped

      public void onTestSkipped(TestCase test)
    • onTestStart

      public void onTestStart(TestCase test)
    • onTestFinalization

      public void onTestFinalization(TestCase test)
    • onFinalActionsStart

      public void onFinalActionsStart(TestCase test)
    • onFinalActionsEnd

      public void onFinalActionsEnd(TestCase test)
    • onBeforeTestEnd

      public void onBeforeTestEnd(TestCase test)
    • onAfterTestEnd

      public void onAfterTestEnd(TestCase test)
    • onBeforeTestStart

      public void onBeforeTestStart(TestCase test)
    • onAfterTestStart

      public void onAfterTestStart(TestCase test)
    • onTestSuccess

      public void onTestSuccess(TestCase test)
    • addTestListener

      public void addTestListener(TestListener listener)
      Description copied from interface: TestListenerAware
      Adds a new test listener.
      Specified by:
      addTestListener in interface TestListenerAware
    • getTestListeners

      public List<TestListener> getTestListeners()
      Obtains the testListeners.