|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
F
- the argument to pass to any function calledpublic interface Wait<F>
A generic interface for waiting until a condition is true or not null. The condition may take a single argument of type .
Method Summary | ||
---|---|---|
|
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. |
Method Detail |
---|
<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 ExpectedCondition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |