public interface BooleanCondition extends Condition<Boolean>
assumeTrue().| Modifier and Type | Method and Description |
|---|---|
void |
assertFalse()
Convenience method to assert the condition to become false.
|
void |
assertTrue()
Convenience method to assert the condition to become true.
|
void |
assumeFalse()
Convenience method to assume the condition to become false.
|
void |
assumeTrue()
Convenience method to assume the condition to become true.
|
void |
waitUntilFalse()
Convenience method to wait until the condition becomes false.
|
void |
waitUntilTrue()
Convenience method to wait until the condition becomes true.
|
BooleanCondition |
withMessage(String message)
The message to print on failure.
|
BooleanCondition |
withTimeoutFactor(double factor)
Sets a factor to speed up or slow down tests.
|
assertEquals, assertThat, assumeEquals, assumeThat, await, await, get, waitUntil, waitUntilEqualsvoid assumeTrue()
void assumeFalse()
void assertTrue()
void assertFalse()
void waitUntilTrue()
void waitUntilFalse()
@Nonnull BooleanCondition withMessage(@Nullable String message)
ConditionwithMessage in interface Condition<Boolean>message - message with debugging hints; null to remove the message@Nonnull BooleanCondition withTimeoutFactor(@Nonnegative double factor)
ConditionwithTimeoutFactor in interface Condition<Boolean>factor - factor by which to increase the timeout for this conditionCopyright © 2011-2017 CoreMedia AG. All Rights Reserved.