|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tngtech.jgiven.impl.util.AssertionUtil
public class AssertionUtil
A collection of methods to assert certain conditions.
If an asserted condition is false a JGivenInternalDefectException is thrown.
| Constructor Summary | |
|---|---|
AssertionUtil()
|
|
| Method Summary | |
|---|---|
static void |
assertNotNull(java.lang.Object o)
|
static void |
assertNotNull(java.lang.Object o,
java.lang.String msg)
|
static void |
assertTrue(boolean condition,
java.lang.String msg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssertionUtil()
| Method Detail |
|---|
public static void assertNotNull(java.lang.Object o)
public static void assertNotNull(java.lang.Object o,
java.lang.String msg)
public static void assertTrue(boolean condition,
java.lang.String msg)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||