PageRenderTime 12ms CodeModel.GetById 1ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/gwtrpccommlayer/src/test/java/com/googlecode/gwtrpccommlayer/client/impl/GwtRpcClientSideProxyTest.java

https://code.google.com/p/gwtrpccommlayer/
Java | 112 lines | 70 code | 36 blank | 6 comment | 0 complexity | cfeb0cb66ec56181f71f86a6e495766e MD5 | raw file
  1package com.googlecode.gwtrpccommlayer.client.impl;
  2
  3import com.googlecode.gwtrpccommlayer.client.impl.GwtRpcClientSideProxy;
  4import org.junit.After;
  5import org.junit.Assert;
  6import org.junit.Before;
  7import org.junit.Test;
  8
  9import java.net.MalformedURLException;
 10import java.net.URL;
 11
 12/**
 13 * Created by IntelliJ IDEA.
 14 * User: dan
 15 * Date: 10/30/10
 16 * Time: 9:43 PM
 17 */
 18public class GwtRpcClientSideProxyTest {
 19    @Before
 20    public void setUp() throws Exception {
 21
 22    }
 23
 24    @After
 25    public void tearDown() throws Exception {
 26
 27    }
 28
 29    @Test
 30    public void testInvoke() throws Exception {
 31
 32    }
 33
 34    @Test
 35    public void testSetUrl() throws Exception {
 36
 37    }
 38
 39    @Test
 40    public void testSetShowResponseHeaders() throws Exception {
 41
 42    }
 43
 44    @Test
 45    public void testSetCookies() throws Exception {
 46
 47    }
 48
 49    @Test
 50    public void testGetCookies() throws Exception {
 51
 52    }
 53
 54    @Test
 55    public void testSetScheme() throws Exception {
 56
 57    }
 58
 59    @Test
 60    public void testGetScheme() throws Exception {
 61
 62    }
 63
 64    @Test
 65    public void testSetHost() throws Exception {
 66
 67    }
 68
 69    @Test
 70    public void testGetHost() throws Exception {
 71
 72    }
 73
 74    @Test
 75    public void testSetPort() throws Exception {
 76
 77    }
 78
 79    @Test
 80    public void testGetPortWhenUnprovided() throws Exception {
 81        GwtRpcClientSideProxy proxy = new GwtRpcClientSideProxy(new URL("http://www.google.com"));
 82        Assert.assertEquals(new Integer(80), proxy.getPort());
 83    }
 84
 85    @Test
 86    public void testGetPortProvided() throws MalformedURLException {
 87        Integer PORT = 8080;
 88        GwtRpcClientSideProxy proxy =
 89                new GwtRpcClientSideProxy(new URL("http://www.google.com:" + PORT));
 90        Assert.assertEquals(PORT, proxy.getPort());
 91    }
 92
 93    @Test
 94    public void testSetPath() throws Exception {
 95
 96    }
 97
 98    @Test
 99    public void testGetPath() throws Exception {
100
101    }
102
103    @Test
104    public void testSetQueryString() throws Exception {
105
106    }
107
108    @Test
109    public void testGetQueryString() throws Exception {
110
111    }
112}