public class RestChildContentAcceptanceTest extends AbstractRestSerializationAcceptanceTest
RemoteChildContentServiceAcceptanceTest
by only testing REST-specific data in the response,
such as _links and _expandable maps.baseApi, basePath, pageId, resource, rpc, testHelper, testName
Constructor and Description |
---|
RestChildContentAcceptanceTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testDescendantTypeResourceSelfLinksPopulated() |
void |
testExpandableUrlsPopulatedForChildren() |
void |
testExpandableUrlsPopulatedForContent() |
void |
testExpandableUrlsPopulatedForDescendants() |
void |
testExpandedChildContentSelfLinksPopulated() |
void |
testExpandedChildrenShowsSelfLink() |
void |
testExpandedDescendantContentSelfLinksPopulated() |
void |
testSelfAndExpandLinksForAttachmentVersionChildren() |
assertSelfLink, getAsJsonNode, getAsJsonNode, getAuthenticatedWebResourceProvider, getExpandable, getExpandableNode, getLinks, getLinks, getSelfLink, hasExpandable
public void setUp() throws Exception
setUp
in class AbstractRestSerializationAcceptanceTest
Exception
public void testExpandedChildContentSelfLinksPopulated() throws Exception
Exception
public void testExpandedDescendantContentSelfLinksPopulated() throws Exception
Exception
public void testDescendantTypeResourceSelfLinksPopulated() throws Exception
Exception
public void testExpandableUrlsPopulatedForContent() throws Exception
Exception
RestApiContentAcceptanceTest#testExpandableMapPopulated()
public void testExpandableUrlsPopulatedForChildren() throws Exception
Exception
public void testExpandableUrlsPopulatedForDescendants() throws Exception
Exception
public void testExpandedChildrenShowsSelfLink() throws Exception
Exception
Copyright © 2003–2017 Atlassian. All rights reserved.