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 |
testExpandWebResourceDependencies() |
void |
testLabelsMetadata() |
void |
testMetadataExpandableMapPopulated() |
void |
testPropertiesMetadata() |
void |
testUpdateContentWithoutContentTypeHeader() |
void |
testUpdateContentWithoutIDInObject() |
assertSelfLink, getAsJsonNode, getAsJsonNode, getAuthenticatedWebResourceProvider, getExpandable, getExpandableNode, getLinks, getLinks, getSelfLink, hasExpandable, setUp
public void testExpandWebResourceDependencies() throws IOException
IOException
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–2017 Atlassian. All rights reserved.