F - the argument to pass to any function calledpublic interface Wait<F>
| Modifier and Type | Method and Description |
|---|---|
<T> T |
until(com.google.common.base.Function<? super F,T> isTrue)
Implementations should wait until the condition evaluates to a value that is neither null nor
false.
|
<T> T until(com.google.common.base.Function<? super F,T> isTrue)
If the condition does not become true within a certain time (as defined by the implementing
class), this method will throw a non-specified Throwable. This is so that an
implementor may throw whatever is idiomatic for a given test infrastructure (e.g. JUnit4 would
throw AssertionError.
T - the return type of the method, which must not be VoidisTrue - the parameter to pass to the ExpectedConditionCopyright © 2015. All rights reserved.