public class URLConnectionTest
extends TestCase
Constructor and Description |
---|
URLConnectionTest() |
public void test_addRequestProperty() throws MalformedURLException, IOException
MalformedURLException
IOException
public void test_setRequestProperty() throws MalformedURLException, IOException
MalformedURLException
IOException
public void test_setUseCachesZ() throws MalformedURLException, IOException
MalformedURLException
IOException
public void test_setAllowUserInteractionZ() throws MalformedURLException, IOException
MalformedURLException
IOException
public void test_addRequestPropertyLjava_lang_StringLjava_lang_String() throws IOException, ClassNotFoundException, URISyntaxException
public void testHttpPostHeaders() throws IOException
IOException
public void test_getAllowUserInteraction() throws Exception
Exception
public void test_connect() throws IOException
IOException
- URLConnection.connect()
public void test_getContent() throws IOException
IOException
public void test_getContent_LjavalangClass() throws IOException
IOException
public void test_getContentEncoding() throws IOException
public void test_getDate()
public void test_getDefaultAllowUserInteraction() throws IOException
public void test_getDefaultRequestPropertyLjava_lang_String()
public void test_getDoInput() throws IOException
IOException
- URLConnection.getDoInput()
public void test_getDoOutput() throws IOException
IOException
- URLConnection.getDoOutput()
public void test_getExpiration() throws IOException
IOException
- URLConnection.getExpiration()
public void test_getFileNameMap()
public void test_getHeaderFieldDateLjava_lang_StringJ()
public void DISABLED_test_getHeaderFieldI()
public void DISABLED_test_getHeaderFieldKeyI()
public void test_getHeaderFieldInt() throws IOException, ParseException
public void test_getHeaderFieldLjava_lang_String()
public void test_getHeaderFields() throws IOException, ClassNotFoundException, URISyntaxException
public void test_getLastModified() throws IOException
IOException
- URLConnection.getLastModified()
public void test_getOutputStream() throws IOException
IOException
public void test_getRequestProperties()
public void test_getRequestProperties_Exception() throws IOException
IOException
public void test_getRequestProperty_LString_Exception() throws IOException
IOException
public void test_getRequestPropertyLjava_lang_String()
public void test_getURL()
public void test_getUseCaches() throws IOException
IOException
- URLConnection.getUseCaches()
public void test_guessContentTypeFromName() throws IOException
IOException
public void test_guessContentTypeFromStreamLjava_io_InputStream() throws IOException
IOException
public void test_setFileNameMapLjava_net_FileNameMap() throws IOException
public void test_setIfModifiedSinceJ() throws IOException
IOException
public void test_getIfModifiedSinceJ() throws IOException
IOException
public void test_toString()
public void test_URLConnection()
public void testGetInputStream() throws IOException
IOException