Package org.jboss.arquillian.warp.client.execution

Examples of org.jboss.arquillian.warp.client.execution.WarpRuntime


     * @param activity the client activity to execute
     * @return {@link WarpActivityBuilder} instance
     */
    public static WarpExecutionBuilder initiate(Activity activity) {

        WarpRuntime runtime = WarpRuntime.getInstance();

        if (runtime == null) {
            throw new IllegalStateException(
                    "The Warp runtime isn't initialized. You need to make sure arquillian-warp-impl is on classpath and annotate a test class with @WarpTest in order to initialize Warp.");
        }

        return runtime.getWarpActivityBuilder().initiate(activity);
    }
View Full Code Here


     * @param activity the client activity to execute
     * @return {@link WarpActivityBuilder} instance
     */
    public static WarpExecutionBuilder initiate(Activity activity) {

        WarpRuntime runtime = WarpRuntime.getInstance();

        if (runtime == null) {
            throw new IllegalStateException(
                    "The Warp runtime isn't initialized. You need to annotate a test class with @WarpTest in order to initialize Warp.");
        }

        return runtime.getWarpActivityBuilder().initiate(activity);
    }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.warp.client.execution.WarpRuntime

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.