Package org.faktorips.testsupport
Class Wait
java.lang.Object
org.faktorips.testsupport.Wait
Utility class to wait in increasing intervals up to a set maximum duration for some condition to
be
true. Throws an AssertionError if the condition is still false after
the time has elapsed.-
Method Summary
-
Method Details
-
atMost
-
until
Evaluates the given check repeatedly until the wait time has elapsed. If the condition is not met afterwards, anAssertionErrorwith the given message is thrown to fail a JUnit test.- Throws:
AssertionError- if the condition is stillfalseafter the time has elapsed.
-