public class RestAdapterTest
extends android.test.AndroidTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
RestAdapterTest.ListClassId |
| Constructor and Description |
|---|
RestAdapterTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
runReadWithFilter() |
void |
runReadWithFilterUsingUri() |
void |
setUp() |
void |
testBuildPagedResultsFromBody() |
void |
testBuildPagedResultsFromHeaders() |
void |
testConfigSetEncoding() |
void |
testDefaultPaging()
This test tests the default paging configuration.
|
void |
testEncoding() |
void |
testGsonBuilderProperty() |
void |
testLinkPagingReturnsData()
This test tests the default paging configuration.
|
void |
testPipeFactoryPipeConfigEncoding() |
void |
testPipeFactoryPipeConfigGson() |
void |
testPipeTypeProperty() |
void |
testPipeURLProperty() |
void |
testReadArray() |
void |
testRunTimeout() |
void |
testSingleObjectRead() |
void |
testSingleObjectReadWithNestedResult() |
assertActivityRequiresPermission, assertReadingContentUriRequiresPermission, assertWritingContentUriRequiresPermission, getContext, scrubClass, setContext, tearDown, testAndroidTestCaseSetupProperlycountTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, formatpublic void setUp()
throws MalformedURLException,
Exception
setUp in class android.test.AndroidTestCaseMalformedURLExceptionExceptionpublic void testPipeFactoryPipeConfigEncoding()
public void testPipeFactoryPipeConfigGson()
throws NoSuchFieldException,
IllegalArgumentException,
IllegalAccessException
public void testSingleObjectReadWithNestedResult()
throws Exception
Exceptionpublic void runReadWithFilterUsingUri()
throws Exception
Exceptionpublic void testLinkPagingReturnsData()
throws NoSuchFieldException,
IllegalArgumentException,
IllegalAccessException,
InterruptedException
NoSuchFieldException - If this is thrown then the test is broken.IllegalAccessException - If this is thrown then the test is broken.InterruptedExceptionIllegalArgumentExceptionpublic void testDefaultPaging()
throws InterruptedException,
NoSuchFieldException,
NoSuchFieldException,
IllegalArgumentException,
IllegalAccessException,
URISyntaxException
public void testBuildPagedResultsFromHeaders()
throws Exception
Exceptionpublic void testBuildPagedResultsFromBody()
throws Exception
ExceptionCopyright © 2014 JBoss by Red Hat. All Rights Reserved.