Object | +--junit.framework.TestFailure
TestResult
A TestFailure collects a failed test together with the caught exception. | |
Throwable |
TestFailure(Test failedTest, Throwable thrownException) Constructs a TestFailure with the given test and exception. |
String | |
Gets the failed test. | |
boolean | |
Throwable | Gets the thrown exception. |
String | toString() Returns a short description of the failure. |
String | trace() |
protected Test fFailedTest
TestFailure
collects a failed test together with
the caught exception.
TestResult
protected Throwable fThrownException
public TestFailure(Test failedTest, Throwable thrownException)
public String exceptionMessage()
public Test failedTest()
public boolean isFailure()
public Throwable thrownException()
public String toString()
public String trace()
TestFailure
collects a failed test together with the caught exception.