Class TestException
java.lang.Object
net.thucydides.core.reports.adaptors.xunit.model.TestException
public class TestException
extends java.lang.Object
A failure or error as represented in an xUnit testcase result.
-
Constructor Summary
Constructors Constructor Description TestException(java.lang.String message, java.lang.String errorOutput, java.lang.String type) -
Method Summary
Modifier and Type Method Description java.lang.ThrowableasAssertionFailure()java.lang.ThrowableasException()java.lang.StringgetErrorOutput()java.lang.StringgetMessage()java.lang.StringgetType()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TestException
public TestException(java.lang.String message, java.lang.String errorOutput, java.lang.String type)
-
-
Method Details
-
getMessage
public java.lang.String getMessage() -
getType
public java.lang.String getType() -
getErrorOutput
public java.lang.String getErrorOutput() -
asAssertionFailure
public java.lang.Throwable asAssertionFailure() -
asException
public java.lang.Throwable asException()
-