Package org.eclipse.unittest.model
Class ITestElement.FailureTrace
java.lang.Object
org.eclipse.unittest.model.ITestElement.FailureTrace
- Enclosing interface:
- ITestElement
A failure trace of a test.
This class is not intended to be instantiated or extended by clients.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the actual result ornull
if the trace is not a comparison failure.Returns the expected result ornull
if the trace is not a comparison failure.getTrace()
Returns the failure stack trace.boolean
Returnstrue
in case of comparison failure.
-
Constructor Details
-
FailureTrace
-
-
Method Details
-
getTrace
Returns the failure stack trace.- Returns:
- the failure stack trace
-
getExpected
Returns the expected result ornull
if the trace is not a comparison failure.- Returns:
- the expected result or
null
if the trace is not a comparison failure.
-
getActual
Returns the actual result ornull
if the trace is not a comparison failure.- Returns:
- the actual result or
null
if the trace is not a comparison failure.
-
isComparisonFailure
public boolean isComparisonFailure()Returnstrue
in case of comparison failure.- Returns:
true
in case of comparison failure, otherwise returnsfalse
-