|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.uispec4j.assertion.Assertion
public abstract class Assertion
Interface used for defining conditions. These assertions are meant to be used essentially with the {@link UISpecAssert] "assertXxx" and "waitUntil" methods.
| Constructor Summary | |
|---|---|
Assertion()
|
|
| Method Summary | |
|---|---|
abstract void |
check()
Throws an exception if the condition is not true. |
boolean |
isTrue()
Returns true if the check() method does not fail. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Assertion()
| Method Detail |
|---|
public final boolean isTrue()
check() method does not fail.
public abstract void check()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||