public class RestExperimentalApiContentRestrictionAcceptanceTest extends AbstractRestSerializationAcceptanceTest
RestApiContentRestrictionAcceptanceTest once
corresponding resource methods are out of "Experimental" zone.| Modifier and Type | Field and Description |
|---|---|
Group |
TEST_GROUP |
Space |
TEST_SPACE |
protected TestData |
testData |
baseApi, basePath, pageId, resource, rpc, testHelper, testName| Constructor and Description |
|---|
RestExperimentalApiContentRestrictionAcceptanceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected AuthenticatedWebResourceProvider |
getAuthenticatedWebResourceProvider() |
void |
setUp() |
void |
testHashIsPresentOnGetAll() |
void |
testLinksArePresentOnGetAll() |
void |
testUpdateRestrictionsAsArrayAllWayThrough() |
void |
testUpdateRestrictionsAsArrayTopLevel() |
void |
testUpdateRestrictionsRespondsCorrectlyHappyPath() |
assertSelfLink, getAsJsonNode, getAsJsonNode, getExpandable, getExpandableNode, getLinks, getLinks, getSelfLink, hasExpandableprotected TestData testData
public Space TEST_SPACE
public Group TEST_GROUP
public RestExperimentalApiContentRestrictionAcceptanceTest()
public void setUp()
throws Exception
setUp in class AbstractRestSerializationAcceptanceTestExceptionprotected AuthenticatedWebResourceProvider getAuthenticatedWebResourceProvider()
getAuthenticatedWebResourceProvider in class AbstractRestSerializationAcceptanceTestpublic void testUpdateRestrictionsRespondsCorrectlyHappyPath()
throws Exception
Exceptionpublic void testUpdateRestrictionsAsArrayTopLevel()
throws Exception
Exceptionpublic void testUpdateRestrictionsAsArrayAllWayThrough()
throws Exception
Exceptionpublic void testLinksArePresentOnGetAll()
throws Exception
ExceptionCopyright © 2003–2018 Atlassian. All rights reserved.