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, helper, pageId, resourcerpc, 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, setUpRestSerializationcommonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, userspublic void testExpandWebResourceDependencies()
throws IOException
IOExceptionpublic void testExpandablesDefault()
throws Exception
public void testExpandablesNoneExpanded()
throws Exception
public void testMetadataExpandableMapPopulated()
throws Exception
Exceptionpublic void testUpdateContentWithoutIDInObject()
public void testUpdateContentWithoutContentTypeHeader()
public void testContentRestResourceInDifferentPlugin()
throws Exception
ExceptionCopyright © 2003–2018 Atlassian. All rights reserved.