|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcommon.Assert
Simple assertion mechanism for use during development
| Constructor Summary | |
Assert()
|
|
| Method Summary | |
static void |
verify(boolean condition)
Throws an AssertionFailed exception if the specified condition is false |
static void |
verify(boolean condition,
java.lang.String message)
If the condition evaluates to false, an AssertionFailed is thrown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Assert()
| Method Detail |
public static void verify(boolean condition)
condition - The assertion condition which must be true
public static void verify(boolean condition,
java.lang.String message)
message - A message thrown with the failed assertioncondition - If this evaluates to false, an AssertionFailed is thrown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||