|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunitx.framework.ThrowableAssert
public class ThrowableAssert
A set of assert methods specially targetted to asserting throwable objects.
Method Summary | |
---|---|
static void |
assertEquals(String message,
Throwable expected,
Throwable actual)
Asserts that two throwable objects are equal. |
static void |
assertEquals(Throwable expected,
Throwable actual)
Asserts that two throwable objects are equal. |
static void |
assertSimilar(String message,
Throwable expected,
Throwable actual)
Assert that two throwable objects are similar. |
static void |
assertSimilar(Throwable expected,
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(String message, Throwable expected, Throwable actual)
Two throwable objects are considered equals if:
public static void assertEquals(Throwable expected, Throwable actual)
assertEquals(String, Throwable, Throwable)
public static void assertSimilar(String message, Throwable expected, Throwable actual)
public static void assertSimilar(Throwable expected, Throwable actual)
assertSimilar(String, Throwable, Throwable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |