Package org.jmock.lib.concurrent.internal

Examples of org.jmock.lib.concurrent.internal.FixedTimeout


    /**
     * Waits up to a timeout for a StatePredicate to become active.  Fails the
     * test if the timeout expires.
     */
    public void waitUntil(StatePredicate predicate, long timeoutMs) throws InterruptedException {
        waitUntil(predicate, new FixedTimeout(timeoutMs));
    }
View Full Code Here

TOP

Related Classes of org.jmock.lib.concurrent.internal.FixedTimeout

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.