|
IDebug © 1997-2001 Joseph Kiniry © 2000-2001 KindSoftware © 1997-1999 Caltech All Rights Reserved |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--idebug.Assert
The core interface to making assertions.
Debug,
Context| Method Summary | |
static void |
assert(boolean assertion)
Assert that the passed boolean expression evaluates to true. |
void |
assert(boolean assertion,
java.lang.String assertionString)
Assert that the passed boolean expression evaluates to true. |
void |
assert(boolean assertion,
java.lang.String assertionString,
java.lang.Object message)
Assert that the passed boolean expression evaluates to true. |
java.lang.Object |
clone()
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.Object clone()
clone in class java.lang.Objectpublic static void assert(boolean assertion)
Assert that the passed boolean expression evaluates to true. If it does not, the assertion fails, a stack dump takes place via the current debugging output channel, and a FailedAssertionException is thrown.
assertion - is the boolean expression to assert.
public void assert(boolean assertion,
java.lang.String assertionString)
Assert that the passed boolean expression evaluates to true. If it does not, the assertion fails, a stack dump takes place, and a FailedAssertionException is thrown.
assertion - is the boolean expression to assert.assertionString - is the text of the assertion itself.
public void assert(boolean assertion,
java.lang.String assertionString,
java.lang.Object message)
Assert that the passed boolean expression evaluates to true. If it does not, the assertion fails, the message is displayed, a stack dump takes place, and a FailedAssertionException is thrown.
assertion - is the boolean expression to assert.assertionString - is the text of the assertion itself.message - the debugging message to print if the assertion fails.
The method toString() is called on the message object.
|
IDebug © 1997-2001 Joseph Kiniry © 2000-2001 KindSoftware © 1997-1999 Caltech All Rights Reserved |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||