public class RestAdapterTest extends Object
| 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 |
testPipeURLProperty() |
void |
testReadArray() |
void |
testReadByIdURL() |
void |
testRunTimeout() |
void |
testSingleObjectRead() |
void |
testSingleObjectReadWithNestedResult() |
public void setUp()
throws MalformedURLException,
Exception
MalformedURLExceptionExceptionpublic 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.InterruptedException - If this is thrown then the test is
broken.IllegalArgumentExceptionpublic void testDefaultPaging()
throws InterruptedException,
NoSuchFieldException,
NoSuchFieldException,
IllegalArgumentException,
IllegalAccessException,
URISyntaxException
InterruptedException - this should not be thrownURISyntaxException - this should not be thrownNoSuchFieldException - this should not be thrownIllegalAccessException - this should not be thrownIllegalArgumentExceptionpublic void testBuildPagedResultsFromHeaders()
throws Exception
Exceptionpublic void testBuildPagedResultsFromBody()
throws Exception
ExceptionCopyright © 2016 JBoss by Red Hat. All Rights Reserved.