public class RemoteContentPropertyServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
exception |
proxyCreatorrpc, testHelper, testName| Constructor and Description |
|---|
RemoteContentPropertyServiceAcceptanceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getService() |
protected Class |
getServiceClass() |
void |
setUp() |
void |
testCannotCreatePropertyOnRestrictedPage() |
void |
testCannotDeletePropertyOnRestrictedPage() |
void |
testCannotFindPropertyOnRestrictedPage() |
void |
testCannotUpdatePropertyOnRestrictedPage() |
void |
testCreateDuplicateViaUpdate() |
void |
testCreateViaUpdate() |
void |
testCreateWithEmptyKeyFails() |
void |
testCreateWithLargeValueSucceeds() |
void |
testCreateWithTooLargeRequestRejected() |
void |
testCreateWithTooLargeValueRejected() |
void |
testCreateWithWhitespaceKeyFails() |
void |
testDelete() |
void |
testDeleteById() |
void |
testSearchByContentId() |
void |
testSimpleCreateRead() |
void |
testTrashPageAlsoTrashesContentProperties() |
void |
testUpdate() |
void |
testUpdateWithIncorrectContentPropertyId() |
void |
testUpdateWithMissingVersion() |
void |
testUpdateWithOldVersion() |
void |
testUpdateWithoutContentPropertyId() |
checkPageResponse, getExcludedMethodNamesForProxyTest, initialize, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumbercommonSetUp, exceptionSupplierpublic RemoteContentPropertyServiceAcceptanceTest()
protected Object getService()
getService in class AbstractRemoteServiceAcceptanceTestprotected Class getServiceClass()
getServiceClass in class AbstractRemoteServiceAcceptanceTestpublic void testSimpleCreateRead()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testSearchByContentId()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testCreateWithLargeValueSucceeds()
throws IOException,
ServiceException
IOExceptionServiceExceptionpublic void testCreateWithWhitespaceKeyFails()
throws IOException
IOExceptionpublic void testCreateWithEmptyKeyFails()
throws IOException
IOExceptionpublic void testCreateWithTooLargeValueRejected()
throws IOException,
ServiceException
IOExceptionServiceExceptionpublic void testCreateWithTooLargeRequestRejected()
throws IOException,
ServiceException
IOExceptionServiceExceptionpublic void testUpdateWithMissingVersion()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testUpdate()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testUpdateWithIncorrectContentPropertyId()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testUpdateWithoutContentPropertyId()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testUpdateWithOldVersion()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testDelete()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testDeleteById()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testTrashPageAlsoTrashesContentProperties()
throws Exception
Exceptionpublic void testCreateViaUpdate()
throws IOException
IOExceptionpublic void testCreateDuplicateViaUpdate()
throws IOException
IOExceptionpublic void testCannotCreatePropertyOnRestrictedPage()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testCannotFindPropertyOnRestrictedPage()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testCannotUpdatePropertyOnRestrictedPage()
throws ServiceException,
IOException
ServiceExceptionIOExceptionpublic void testCannotDeletePropertyOnRestrictedPage()
throws ServiceException,
IOException
ServiceExceptionIOExceptionCopyright © 2003–2017 Atlassian. All rights reserved.