public abstract class AbstractRestSerializationAcceptanceTest extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
baseApi |
protected String |
basePath |
protected long |
pageId |
protected RestApiResource |
resource |
protected ConfluenceRpc |
rpc |
AcceptanceTestHelper |
testHelper |
org.junit.rules.TestName |
testName |
Constructor and Description |
---|
AbstractRestSerializationAcceptanceTest() |
Modifier and Type | Method and Description |
---|---|
protected org.codehaus.jackson.JsonNode |
getAsJsonNode(RestApiResource resource) |
protected org.codehaus.jackson.JsonNode |
getAsJsonNode(com.sun.jersey.api.client.WebResource wrappedResource) |
protected AuthenticatedWebResourceProvider |
getAuthenticatedWebResourceProvider() |
protected String |
getExpandable(org.codehaus.jackson.JsonNode jsonContent,
String name) |
protected org.codehaus.jackson.JsonNode |
getExpandableNode(org.codehaus.jackson.JsonNode jsonContent) |
protected org.codehaus.jackson.JsonNode |
getLinks(org.codehaus.jackson.JsonNode node) |
protected org.codehaus.jackson.JsonNode |
getLinks(RestApiResource apiResource) |
protected String |
getSelfLink(org.codehaus.jackson.JsonNode node) |
protected boolean |
hasExpandable(org.codehaus.jackson.JsonNode jsonContent,
String name) |
void |
setUp() |
public final AcceptanceTestHelper testHelper
protected RestApiResource resource
protected ConfluenceRpc rpc
protected long pageId
protected String baseApi
protected String basePath
public org.junit.rules.TestName testName
public AbstractRestSerializationAcceptanceTest()
protected AuthenticatedWebResourceProvider getAuthenticatedWebResourceProvider()
protected org.codehaus.jackson.JsonNode getAsJsonNode(RestApiResource resource) throws IOException
IOException
protected org.codehaus.jackson.JsonNode getAsJsonNode(com.sun.jersey.api.client.WebResource wrappedResource) throws IOException
IOException
protected String getSelfLink(org.codehaus.jackson.JsonNode node)
protected org.codehaus.jackson.JsonNode getLinks(RestApiResource apiResource) throws Exception
Exception
protected org.codehaus.jackson.JsonNode getLinks(org.codehaus.jackson.JsonNode node)
protected String getExpandable(org.codehaus.jackson.JsonNode jsonContent, String name)
protected org.codehaus.jackson.JsonNode getExpandableNode(org.codehaus.jackson.JsonNode jsonContent)
protected boolean hasExpandable(org.codehaus.jackson.JsonNode jsonContent, String name)
Copyright © 2003–2016 Atlassian. All rights reserved.