Package org.ops4j.pax.exam.options

Examples of org.ops4j.pax.exam.options.TimeoutOption


     *            timeout in millis
     *
     * @return timeout option
     */
    public static TimeoutOption systemTimeout(final long timeoutInMillis) {
        return new TimeoutOption(timeoutInMillis);
    }
View Full Code Here


        }

        cache = createTemp(new File(work.getWorkingDirectory()));
        store = new TemporaryStore(cache, false);

        TimeoutOption timeoutOption = getSingleOption(TimeoutOption.class);
        if (timeoutOption != null) {
            timeout = new RelativeTimeout(timeoutOption.getTimeout());
        }
        else {
            timeout = RelativeTimeout.TIMEOUT_DEFAULT;
        }
        clean = getSingleOption(CleanCachesOption.class);
View Full Code Here

TOP

Related Classes of org.ops4j.pax.exam.options.TimeoutOption

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.