|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.lang.Throwable
java.lang.Error
junit.framework.AssertionFailedError
junit.framework.ComparisonFailure
Thrown when an assert equals for Strings failed. Inspired by a patch from Alex Chaffee mailto:alex@purpletech.com
コンストラクタの概要 | |
ComparisonFailure(java.lang.String message,
java.lang.String expected,
java.lang.String actual)
Constructs a comparison failure. |
メソッドの概要 | |
java.lang.String |
getMessage()
Returns "..." in place of common prefix and "..." in place of common suffix between expected and actual. |
クラス java.lang.Throwable から継承したメソッド |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public ComparisonFailure(java.lang.String message, java.lang.String expected, java.lang.String actual)
message
- the identifying message or nullexpected
- the expected string valueactual
- the actual string valueメソッドの詳細 |
public java.lang.String getMessage()
Throwable.getMessage()
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |