ConfluenceStatelessRestTestRunner
and potentially REST-Assured instead.@Deprecated public abstract class AbstractRestSerializationAcceptanceTest extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
baseApi
Deprecated.
|
protected String |
basePath
Deprecated.
|
protected long |
pageId
Deprecated.
|
protected RestApiResource |
resource
Deprecated.
|
protected ConfluenceRpc |
rpc
Deprecated.
|
AcceptanceTestHelper |
testHelper
Deprecated.
|
org.junit.rules.TestName |
testName
Deprecated.
|
Constructor and Description |
---|
AbstractRestSerializationAcceptanceTest()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
assertSelfLink(org.codehaus.jackson.JsonNode node,
String expectedSelfLink)
Deprecated.
|
protected static org.codehaus.jackson.JsonNode |
getAsJsonNode(RestApiResource resource)
Deprecated.
since 5.10. Use the
RestTestHelper directly |
protected static org.codehaus.jackson.JsonNode |
getAsJsonNode(com.sun.jersey.api.client.WebResource wrappedResource)
Deprecated.
since 5.10. Use the
RestTestHelper directly |
protected AuthenticatedWebResourceProvider |
getAuthenticatedWebResourceProvider()
Deprecated.
|
protected String |
getExpandable(org.codehaus.jackson.JsonNode jsonContent,
String name)
Deprecated.
since 5.10. Use the
RestTestHelper directly |
protected org.codehaus.jackson.JsonNode |
getExpandableNode(org.codehaus.jackson.JsonNode jsonContent)
Deprecated.
since 5.10. Use the
RestTestHelper directly |
protected static org.codehaus.jackson.JsonNode |
getLinks(org.codehaus.jackson.JsonNode node)
Deprecated.
since 5.10. Use the
RestTestHelper directly |
protected org.codehaus.jackson.JsonNode |
getLinks(RestApiResource apiResource)
Deprecated.
since 5.10. Use
getAsJsonNode(RestApiResource) and getLinks(JsonNode) |
protected static String |
getSelfLink(org.codehaus.jackson.JsonNode node)
Deprecated.
since 5.10. Use the
RestTestHelper directly |
protected boolean |
hasExpandable(org.codehaus.jackson.JsonNode jsonContent,
String name)
Deprecated.
since 5.10. Use the
RestTestHelper directly |
void |
setUp()
Deprecated.
|
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()
@Deprecated protected static org.codehaus.jackson.JsonNode getAsJsonNode(RestApiResource resource) throws IOException
RestTestHelper
directlyIOException
@Deprecated protected static org.codehaus.jackson.JsonNode getAsJsonNode(com.sun.jersey.api.client.WebResource wrappedResource) throws IOException
RestTestHelper
directlyIOException
@Deprecated protected static String getSelfLink(org.codehaus.jackson.JsonNode node)
RestTestHelper
directly@Deprecated protected org.codehaus.jackson.JsonNode getLinks(RestApiResource apiResource) throws Exception
getAsJsonNode(RestApiResource)
and getLinks(JsonNode)
Exception
@Deprecated protected static org.codehaus.jackson.JsonNode getLinks(org.codehaus.jackson.JsonNode node)
RestTestHelper
directly@Deprecated protected String getExpandable(org.codehaus.jackson.JsonNode jsonContent, String name)
RestTestHelper
directly@Deprecated protected org.codehaus.jackson.JsonNode getExpandableNode(org.codehaus.jackson.JsonNode jsonContent)
RestTestHelper
directly@Deprecated protected boolean hasExpandable(org.codehaus.jackson.JsonNode jsonContent, String name)
RestTestHelper
directlyprotected void assertSelfLink(org.codehaus.jackson.JsonNode node, String expectedSelfLink)
Copyright © 2003–2017 Atlassian. All rights reserved.