|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjunit.framework.TestFailure
A TestFailure
collects a failed test together with
the caught exception.
TestResult
フィールドの概要 | |
protected Test |
fFailedTest
|
protected java.lang.Throwable |
fThrownException
|
コンストラクタの概要 | |
TestFailure(Test failedTest,
java.lang.Throwable thrownException)
Constructs a TestFailure with the given test and exception. |
メソッドの概要 | |
java.lang.String |
exceptionMessage()
|
Test |
failedTest()
Gets the failed test. |
boolean |
isFailure()
|
java.lang.Throwable |
thrownException()
Gets the thrown exception. |
java.lang.String |
toString()
Returns a short description of the failure. |
java.lang.String |
trace()
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
protected Test fFailedTest
protected java.lang.Throwable fThrownException
コンストラクタの詳細 |
public TestFailure(Test failedTest, java.lang.Throwable thrownException)
メソッドの詳細 |
public Test failedTest()
public java.lang.Throwable thrownException()
public java.lang.String toString()
public java.lang.String trace()
public java.lang.String exceptionMessage()
public boolean isFailure()
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |