Package org.citrusframework.report
Class FailureStackTestListener
java.lang.Object
org.citrusframework.report.AbstractTestListener
org.citrusframework.report.FailureStackTestListener
- All Implemented Interfaces:
org.citrusframework.report.TestListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.citrusframework.report.FailureStackElement>getFailureStack(org.citrusframework.TestCase test) Get failure stack from given test.voidonTestFailure(org.citrusframework.TestCase test, Throwable cause) Methods inherited from class org.citrusframework.report.AbstractTestListener
onTestExecutionEnd, onTestSkipped, onTestStart, onTestSuccessMethods 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
-
FailureStackTestListener
public FailureStackTestListener()
-
-
Method Details
-
onTestFailure
- Specified by:
onTestFailurein interfaceorg.citrusframework.report.TestListener- Overrides:
onTestFailurein classAbstractTestListener
-
getFailureStack
public static List<org.citrusframework.report.FailureStackElement> getFailureStack(org.citrusframework.TestCase test) Get failure stack from given test.- Parameters:
test-- Returns:
-