F
- the argument to pass to any function calledpublic interface Wait<F>
<T> T until(com.google.common.base.Function<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
Copyright © 2011 Nuxeo SA. All Rights Reserved.