public abstract class Condition extends Object
Pause.pause(Condition).| Modifier and Type | Field and Description |
|---|---|
protected static String |
EMPTY_TEXT |
| Constructor and Description |
|---|
Condition(org.assertj.core.description.Description description)
Creates a new
Condition. |
Condition(String description)
Creates a new
Condition. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
descriptionAddendum()
Returns any text to be added to this condition's description.
|
protected void |
done()
Notification that this condition has been evaluated.
|
abstract boolean |
test()
Checks if the condition has been satisfied.
|
String |
toString()
Returns the
String representation of this condition, which is its description. |
protected static final String EMPTY_TEXT
public Condition(@Nonnull String description)
Condition.description - describes this condition.public abstract boolean test()
true if the condition has been satisfied, otherwise false.@Nonnull public final String toString()
String representation of this condition, which is its description.@Nonnull protected String descriptionAddendum()
String.String.protected void done()
Pause.pause(Condition) (and
all overloaded methods) when this condition is evaluated (either it was satisfied or it timed-out.) This is a good
place to do any necessary resource cleanup.Copyright © 2014 AssertJ. All rights reserved.