Package spock.util.concurrent
Utilities for testing concurrent code.
-
Class Summary Class Description AsyncConditions Alternative to class BlockingVariable(s) that allows to evaluate conditions in a thread other than the spec runner's thread(s).BlockingVariable<T> A statically typed variable whose get() method will block until some other thread has set a value with the set() method, or a timeout expires.PollingConditions Repeatedly evaluates one or more conditions until they are satisfied or a timeout has elapsed.