public class BasicHttpFetcherTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Uri |
BASE_URL |
protected org.apache.shindig.gadgets.http.BasicHttpFetcher |
fetcher |
protected org.apache.http.HttpEntity |
mockEntity |
protected InputStream |
mockInputStream |
| Constructor and Description |
|---|
BasicHttpFetcherTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
static void |
setUpOnce() |
static void |
tearDownOnce() |
void |
testHeadWithMaxObjectSizeBytes() |
void |
testToByteArraySafeHandleException() |
void |
testToByteArraySafeHandlesExceptionWithNoMessage() |
void |
testToByteArraySafeThrowsException1() |
void |
testToByteArraySafeThrowsException2() |
void |
testToByteArraySafeThrowsException3() |
void |
testWithProxy() |
protected static final Uri BASE_URL
protected org.apache.shindig.gadgets.http.BasicHttpFetcher fetcher
protected org.apache.http.HttpEntity mockEntity
protected InputStream mockInputStream
public void testToByteArraySafeThrowsException1()
throws Exception
Exceptionpublic void testToByteArraySafeThrowsException2()
throws Exception
Exceptionpublic void testToByteArraySafeThrowsException3()
throws Exception
Exceptionpublic void testToByteArraySafeHandleException()
throws Exception
Exceptionpublic void testToByteArraySafeHandlesExceptionWithNoMessage()
throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.