Package net.jsunit.configuration

Examples of net.jsunit.configuration.DummyRemoteConfigurationSource


        }
    }

    private List<RemoteConfiguration> someRemoteConfigs() throws IOException {
        List<RemoteConfiguration> remoteConfigs = new ArrayList<RemoteConfiguration>();
        remoteConfigs.add(new RemoteConfiguration(new URL("http://www.example.com"), new DummyRemoteConfigurationSource("http://www.example.com") {
            public String browserFileNames() {
                return "firefox.exe,mybrowser.exe";
            }

            public String osString() {
                return PlatformType.LINUX.getDisplayName();
            }
        }));
        remoteConfigs.add(new RemoteConfiguration(new URL("http://www.example.net"), new DummyRemoteConfigurationSource("http://www.example.com") {
            public String browserFileNames() {
                return "iexplore.exe,opera9.exe,xbrowser.exe";
            }

            public String osString() {
                return PlatformType.WINDOWS.getDisplayName();
            }
        }));
        remoteConfigs.add(new RemoteConfiguration(new URL("http://www.example.org"), new DummyRemoteConfigurationSource("http://www.example.com") {
            public String browserFileNames() {
                return "browser0.exe";
            }

            public String osString() {
View Full Code Here

TOP

Related Classes of net.jsunit.configuration.DummyRemoteConfigurationSource

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.