Package net.jsunit

Examples of net.jsunit.BrowserTestRunner


public class BrowserTestRunnerInterceptorTest extends TestCase {

    public void testSimple() throws Exception {
        MockBrowserTestRunnerAction action = new MockBrowserTestRunnerAction();
        final BrowserTestRunner mockRunner = new MockBrowserTestRunner();
        BrowserTestRunnerInterceptor.setBrowserTestRunnerSource(new BrowserTestRunnerSource() {
            public BrowserTestRunner getRunner() {
                return mockRunner;
            }
View Full Code Here


    }

    protected void execute(Action action) throws Exception {
        if (action instanceof BrowserTestRunnerAware) {
            BrowserTestRunnerAware aware = (BrowserTestRunnerAware) action;
            BrowserTestRunner runner = source.getRunner();
            aware.setBrowserTestRunner(runner);
        }
    }
View Full Code Here

TOP

Related Classes of net.jsunit.BrowserTestRunner

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.