|
JUnit-addons version 1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junitx.framework.ThrowableAssert
A set of assert methods specially targetted to asserting throwable objects.
Method Summary | |
static void |
assertEquals(java.lang.String message,
java.lang.Throwable expected,
java.lang.Throwable actual)
Asserts that two throwable objects are equal. |
static void |
assertEquals(java.lang.Throwable expected,
java.lang.Throwable actual)
Asserts that two throwable objects are equal. |
static void |
assertSimilar(java.lang.String message,
java.lang.Throwable expected,
java.lang.Throwable actual)
Assert that two throwable objects are similar. |
static void |
assertSimilar(java.lang.Throwable expected,
java.lang.Throwable actual)
Assert that two throwable objects are similar. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void assertEquals(java.lang.String message, java.lang.Throwable expected, java.lang.Throwable actual)
Two throwable objects are considered equals if:
public static void assertEquals(java.lang.Throwable expected, java.lang.Throwable actual)
assertEquals(String, Throwable, Throwable)
public static void assertSimilar(java.lang.String message, java.lang.Throwable expected, java.lang.Throwable actual)
public static void assertSimilar(java.lang.Throwable expected, java.lang.Throwable actual)
assertSimilar(String, Throwable, Throwable)
|
JUnit-addons version 1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |