| java.lang.Object | |
| ↳ | junit.framework.TestFailure |
A
TestFailure
collects a failed test together with
the caught exception.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
fFailedTest | ||||||||||
|
|
fThrownException | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Constructs a TestFailure with the given test and exception.
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
|
|
Gets the failed test.
|
||||||||||
|
|
|
||||||||||
|
|
Gets the thrown exception.
|
||||||||||
|
|
Returns a short description of the failure.
|
||||||||||
|
|
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
Constructs a TestFailure with the given test and exception.
Returns a short description of the failure.