public class NbAssert extends java.lang.Object implements IAssert
cern.spsea.util.Assert| Constructor and Description |
|---|
NbAssert() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
assertTrue(boolean condition,
java.lang.String errMsg)
asserts a condition.
|
boolean |
doAssert(boolean condition,
java.lang.String errMsg)
implementation of the IAssert interface.
|
public boolean doAssert(boolean condition,
java.lang.String errMsg)
cern.spsea.util.Assert#assertTrue(boolean, String)
method execution continues after this statement, it does not throw a RuntimeException.
If the program cannot continue after an assertion failure, you have to take appropriate measures yourselfpublic static boolean assertTrue(boolean condition,
java.lang.String errMsg)
cern.spsea.util.Assert#assertTrue(boolean, String)
method execution continues after this statement, it does not throw a RuntimeException.
If the program cannot continue after an assertion failure, you have to take appropriate measures yourselfcondition - the condition to be checkederrMsg - the message to be displayed if the condition is false