Package org.auraframework.test

Examples of org.auraframework.test.WebDriverProvider


            executeIterations(executor, hostileQueue, "thread hostile");
        } catch (InterruptedException e) {
            throw new AuraRuntimeException("TEST RUN INTERRUPTED", e);
        } finally {
            executor.shutdown();
            WebDriverProvider provider = AuraUtil.get(WebDriverProvider.class);
            if (provider != null) {
                logger.info("Releasing WebDriver resources");
                provider.release();
            }
        }
    }
View Full Code Here


            executeIterations(executor, hostileQueue, "thread hostile");
        } catch (InterruptedException e) {
            throw new AuraRuntimeException("TEST RUN INTERRUPTED", e);
        } finally {
            executor.shutdown();
            WebDriverProvider provider = AuraUtil.get(WebDriverProvider.class);
            if (provider != null) {
                logger.info("Releasing WebDriver resources");
                provider.release();
            }
        }
    }
View Full Code Here

    /**
     * Called when the executor transitions from the active into the empty state. Synchronized on this so that no new
     * tasks may submit while we are running cleanup code.
     */
    private synchronized void onExecutorEmpty() {
        WebDriverProvider provider = AuraUtil.get(WebDriverProvider.class);
        if (provider != null) {
            provider.release();
        }
    }
View Full Code Here

TOP

Related Classes of org.auraframework.test.WebDriverProvider

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.