Package com.googlecode.gwtrpccommlayer.client.impl

Examples of com.googlecode.gwtrpccommlayer.client.impl.GwtRpcClientSideProxy


    }

    @Test
    public void testGetPortWhenUnprovided() throws Exception {
        GwtRpcClientSideProxy proxy = new GwtRpcClientSideProxy(new URL("http://www.google.com"));
        Assert.assertEquals(new Integer(80), proxy.getPort());
    }
View Full Code Here


    }

    @Test
    public void testGetPortProvided() throws MalformedURLException {
        Integer PORT = 8080;
        GwtRpcClientSideProxy proxy =
                new GwtRpcClientSideProxy(new URL("http://www.google.com:" + PORT));
        Assert.assertEquals(PORT, proxy.getPort());
    }
View Full Code Here

TOP

Related Classes of com.googlecode.gwtrpccommlayer.client.impl.GwtRpcClientSideProxy

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.