Package org.citrusframework.report
Class AbstractTestListener
java.lang.Object
org.citrusframework.report.AbstractTestListener
- All Implemented Interfaces:
org.citrusframework.report.TestListener
- Direct Known Subclasses:
FailureStackTestListener,MessageTracingTestListener
public abstract class AbstractTestListener
extends Object
implements org.citrusframework.report.TestListener
Basic implementation of
TestListener interface so that subclasses must not implement
all methods but only overwrite some listener methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonTestExecutionEnd(org.citrusframework.TestCase test) voidonTestFailure(org.citrusframework.TestCase test, Throwable cause) voidonTestSkipped(org.citrusframework.TestCase test) voidonTestStart(org.citrusframework.TestCase test) voidonTestSuccess(org.citrusframework.TestCase test) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.report.TestListener
onAfterTestEnd, onAfterTestStart, onBeforeTestEnd, onBeforeTestStart, onFinalActionsEnd, onFinalActionsStart, onTestEnd, onTestExecutionStart, onTestFinish
-
Constructor Details
-
AbstractTestListener
public AbstractTestListener()
-
-
Method Details
-
onTestFailure
- Specified by:
onTestFailurein interfaceorg.citrusframework.report.TestListener
-
onTestExecutionEnd
public void onTestExecutionEnd(org.citrusframework.TestCase test) - Specified by:
onTestExecutionEndin interfaceorg.citrusframework.report.TestListener
-
onTestSkipped
public void onTestSkipped(org.citrusframework.TestCase test) - Specified by:
onTestSkippedin interfaceorg.citrusframework.report.TestListener
-
onTestStart
public void onTestStart(org.citrusframework.TestCase test) - Specified by:
onTestStartin interfaceorg.citrusframework.report.TestListener
-
onTestSuccess
public void onTestSuccess(org.citrusframework.TestCase test) - Specified by:
onTestSuccessin interfaceorg.citrusframework.report.TestListener
-