public class RestApiContentAcceptanceTest extends AbstractRestSerializationAcceptanceTest
_expandable
in Content resources.- for tests of {@code _links}
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
expectedException |
baseApi, basePath, pageId, resource, rpc, testHelper, testName
Constructor and Description |
---|
RestApiContentAcceptanceTest() |
Modifier and Type | Method and Description |
---|---|
void |
testContentRestResourceInDifferentPlugin() |
void |
testExceptions() |
void |
testExpandablesDefault() |
void |
testExpandablesNoneExpanded() |
void |
testLabelsMetadata() |
void |
testMetadataExpandableMapPopulated() |
void |
testUpdateContentWithoutContentTypeHeader() |
void |
testUpdateContentWithoutIDInObject() |
getAsJsonNode, getAsJsonNode, getAuthenticatedWebResourceProvider, getExpandable, getExpandableNode, getLinks, getLinks, getSelfLink, hasExpandable, setUp
public void testExpandablesDefault() throws Exception
public void testExpandablesNoneExpanded() throws Exception
public void testMetadataExpandableMapPopulated() throws Exception
Exception
public void testUpdateContentWithoutIDInObject()
public void testUpdateContentWithoutContentTypeHeader()
public void testContentRestResourceInDifferentPlugin() throws Exception
Exception
Copyright © 2003–2016 Atlassian. All rights reserved.