|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jdiagnose.Assert
Field Summary | |
static java.lang.String |
DEFAULT_MESSAGE
|
Method Summary | |
static void |
assertEquals(java.lang.Object toTestAgainst,
java.lang.Object test)
Assert that two objects are equal |
static void |
assertEquals(java.lang.String msg,
java.lang.Object toTestAgainst,
java.lang.Object test)
Assert that two objects are equal |
static void |
assertNotNull(java.lang.Object test)
Assert that an object is not null |
static void |
assertNotNull(java.lang.String msg,
java.lang.Object test)
Assert that an object is not null |
static void |
assertNull(java.lang.Object test)
Assert that an object is null |
static void |
assertNull(java.lang.String msg,
java.lang.Object test)
Assert that an object is null |
static void |
assertTrue(boolean test)
Assert that a test is true |
static void |
assertTrue(java.lang.String msg,
boolean test)
Assert that a test is true |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_MESSAGE
Method Detail |
public static void assertTrue(java.lang.String msg, boolean test)
msg
- a message if the assertion if falsetest
- the test to testpublic static void assertTrue(boolean test)
test
- the test to testpublic static void assertEquals(java.lang.String msg, java.lang.Object toTestAgainst, java.lang.Object test)
msg
- a message if the assertion if falsetoTestAgainst
- the object to test againsttest
- the test objectpublic static void assertEquals(java.lang.Object toTestAgainst, java.lang.Object test)
toTestAgainst
- the object to test againsttest
- the test objectpublic static void assertNull(java.lang.String msg, java.lang.Object test)
msg
- a message if the assertion if falsetest
- the test objectpublic static void assertNull(java.lang.Object test)
test
- the test objectpublic static void assertNotNull(java.lang.String msg, java.lang.Object test)
msg
- a message if the assertion if falsetest
- the test objectpublic static void assertNotNull(java.lang.Object test)
test
- the test object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |