Package net.jsunit

Examples of net.jsunit.RemoteConfigurationSource


public class RemoteConfigurationTest extends TestCase {

    public void testSimple() throws Exception {
        URL url = new URL("http://www.example.com");
        RemoteConfigurationSource source = new DummyRemoteConfigurationSource(url.toString());
        RemoteConfiguration configuration = new RemoteConfiguration(url, source);

        assertEquals(url.toString(), configuration.getRemoteURL().toString());
        assertTrue(new ServerConfiguration(source).equals(configuration));
    }
View Full Code Here

TOP

Related Classes of net.jsunit.RemoteConfigurationSource

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.