All Packages Class Hierarchy This Package Previous Next Index
Class test.framework.TestFailure
java.lang.Object
|
+----test.framework.TestFailure
- public class TestFailure
- extends Object
A TestFailure
collects a failed test together with
the caught exception.
- See Also:
- TestResult
-
fFailedTest
-
-
fThrownException
-
-
TestFailure(Test, Throwable)
- Constructs a TestFailure with the given test and exception.
-
failedTest()
- Gets the failed test.
-
thrownException()
- Gets the thrown exception.
-
toString()
- Returns a short description of the failure.
fFailedTest
protected Test fFailedTest
fThrownException
protected Throwable fThrownException
TestFailure
public TestFailure(Test failedTest,
Throwable thrownException)
- Constructs a TestFailure with the given test and exception.
failedTest
public Test failedTest()
- Gets the failed test.
thrownException
public Throwable thrownException()
- Gets the thrown exception.
toString
public String toString()
- Returns a short description of the failure.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index