|
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.ObjectAssert
A set of assert methods specially targetted to asserting objects.
Method Summary | |
static void |
assertInstanceOf(java.lang.Class expected,
java.lang.Object actual)
Asserts that an object is an instance of a class. |
static void |
assertInstanceOf(java.lang.String message,
java.lang.Class expected,
java.lang.Object actual)
Asserts that an object is an instance of a class. |
static void |
assertNotInstanceOf(java.lang.Class expected,
java.lang.Object actual)
Asserts that an object is not an instance of a class. |
static void |
assertNotInstanceOf(java.lang.String message,
java.lang.Class expected,
java.lang.Object actual)
Asserts that an object is not an instance of a class. |
static void |
assertNotSame(java.lang.Object expected,
java.lang.Object actual)
Asserts that an object are not the same. |
static void |
assertNotSame(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual)
Asserts that an object are not the same. |
static void |
assertSame(java.lang.Object expected,
java.lang.Object actual)
Asserts that an object are the same. |
static void |
assertSame(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual)
Asserts that an object are the same. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void assertInstanceOf(java.lang.String message, java.lang.Class expected, java.lang.Object actual)
public static void assertInstanceOf(java.lang.Class expected, java.lang.Object actual)
public static void assertNotInstanceOf(java.lang.String message, java.lang.Class expected, java.lang.Object actual)
public static void assertNotInstanceOf(java.lang.Class expected, java.lang.Object actual)
public static void assertSame(java.lang.Object expected, java.lang.Object actual)
public static void assertSame(java.lang.String message, java.lang.Object expected, java.lang.Object actual)
public static void assertNotSame(java.lang.Object expected, java.lang.Object actual)
public static void assertNotSame(java.lang.String message, java.lang.Object expected, java.lang.Object actual)
|
JUnit-addons version 1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |