public class RemoteContentPropertyServiceAcceptanceTest extends Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
exception |
org.junit.rules.TestName |
testName |
Constructor and Description |
---|
RemoteContentPropertyServiceAcceptanceTest() |
public org.junit.rules.ExpectedException exception
public org.junit.rules.TestName testName
public RemoteContentPropertyServiceAcceptanceTest()
public void setupTestData()
public void testSimpleCreateRead() throws ServiceException, IOException
ServiceException
IOException
public void testSearchByContentId() throws ServiceException, IOException
ServiceException
IOException
public void testCreateWithLargeValueSucceeds() throws IOException, ServiceException
IOException
ServiceException
public void testCreateWithWhitespaceKeyFails() throws IOException
IOException
public void testCreateWithEmptyKeyFails() throws IOException
IOException
public void testCreateWithTooLargeValueRejected() throws IOException, ServiceException
IOException
ServiceException
public void testCreateWithTooLargeRequestRejected() throws IOException, ServiceException
IOException
ServiceException
public void testUpdateWithMissingVersion() throws ServiceException, IOException
ServiceException
IOException
public void testUpdate() throws ServiceException, IOException
ServiceException
IOException
public void testUpdateWithIncorrectContentPropertyId() throws ServiceException, IOException
ServiceException
IOException
public void testUpdateWithoutContentPropertyId() throws ServiceException, IOException
ServiceException
IOException
public void testUpdateWithOldVersion() throws ServiceException, IOException
ServiceException
IOException
public void testDelete() throws ServiceException, IOException
ServiceException
IOException
public void testDeleteById() throws ServiceException, IOException
ServiceException
IOException
public void testTrashPageAlsoTrashesContentProperties() throws Exception
Exception
public void testCreateViaUpdate() throws IOException
IOException
public void testCreateDuplicateViaUpdate() throws IOException
IOException
public void testCannotCreatePropertyOnRestrictedPage() throws ServiceException, IOException
ServiceException
IOException
public void testCannotFindPropertyOnRestrictedPage() throws ServiceException, IOException
ServiceException
IOException
public void testCannotUpdatePropertyOnRestrictedPage() throws ServiceException, IOException
ServiceException
IOException
public void testCannotDeletePropertyOnRestrictedPage() throws ServiceException, IOException
ServiceException
IOException
public void testContentPropertiesCanBeUpdatedWhenPageMovesToTopLevelInAnotherSpace()
public void testContentPropertiesCanBeUpdatedWhenDraftChangesLocation()
Copyright © 2003–2017 Atlassian. All rights reserved.