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, hasExpandable
protected TestData testData
public Space TEST_SPACE
public Group TEST_GROUP
public RestExperimentalApiContentRestrictionAcceptanceTest()
public void setUp() throws Exception
setUp
in class AbstractRestSerializationAcceptanceTest
Exception
protected AuthenticatedWebResourceProvider getAuthenticatedWebResourceProvider()
getAuthenticatedWebResourceProvider
in class AbstractRestSerializationAcceptanceTest
public void testUpdateRestrictionsRespondsCorrectlyHappyPath() throws Exception
Exception
public void testUpdateRestrictionsAsArrayTopLevel() throws Exception
Exception
public void testUpdateRestrictionsAsArrayAllWayThrough() throws Exception
Exception
public void testLinksArePresentOnGetAll() throws Exception
Exception
Copyright © 2003–2018 Atlassian. All rights reserved.