com.atlassian.confluence.api
Class RemoteContentPropertyServiceAcceptanceTest
java.lang.Object
com.atlassian.confluence.api.AbstractAcceptanceTest
com.atlassian.confluence.api.AbstractRemoteServiceAcceptanceTest
com.atlassian.confluence.api.RemoteContentPropertyServiceAcceptanceTest
public class RemoteContentPropertyServiceAcceptanceTest
- extends AbstractRemoteServiceAcceptanceTest
Tests the JsonContentProperty REST API via the RemoteContentPropertyService.
- Since:
- 5.6
|
Field Summary |
org.junit.rules.ExpectedException |
exception
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exception
public org.junit.rules.ExpectedException exception
RemoteContentPropertyServiceAcceptanceTest
public RemoteContentPropertyServiceAcceptanceTest()
setUp
public void setUp()
throws Exception
- Throws:
Exception
getService
protected Object getService()
- Specified by:
getService in class AbstractRemoteServiceAcceptanceTest
- Returns:
- the proxy of the API Service under test.
getServiceClass
protected Class getServiceClass()
- Specified by:
getServiceClass in class AbstractRemoteServiceAcceptanceTest
- Returns:
- the class of the API Service under test.
testSimpleCreateRead
public void testSimpleCreateRead()
throws ServiceException,
IOException
- Throws:
ServiceException
IOException
testSearchByContentId
public void testSearchByContentId()
throws ServiceException,
IOException
- Throws:
ServiceException
IOException
testCreateWithLargeValueSucceeds
public void testCreateWithLargeValueSucceeds()
throws IOException,
ServiceException
- Throws:
IOException
ServiceException
testCreateWithTooLargeValueRejected
public void testCreateWithTooLargeValueRejected()
throws IOException,
ServiceException
- Throws:
IOException
ServiceException
testCreateWithTooLargeRequestRejected
public void testCreateWithTooLargeRequestRejected()
throws IOException,
ServiceException
- Throws:
IOException
ServiceException
testUpdateWithMissingVersion
public void testUpdateWithMissingVersion()
throws ServiceException,
IOException
- Throws:
ServiceException
IOException
testUpdateWithOldVersion
public void testUpdateWithOldVersion()
throws ServiceException,
IOException
- Throws:
ServiceException
IOException
testTrashPageAlsoTrashesContentProperties
public void testTrashPageAlsoTrashesContentProperties()
throws Exception
- Throws:
Exception
testCreateViaUpdate
public void testCreateViaUpdate()
throws IOException
- Throws:
IOException
testCreateDuplicateViaUpdate
public void testCreateDuplicateViaUpdate()
throws IOException
- Throws:
IOException
testCannotCreatePropertyOnRestrictedPage
public void testCannotCreatePropertyOnRestrictedPage()
throws ServiceException,
IOException
- Throws:
ServiceException
IOException
testCannotFindPropertyOnRestrictedPage
public void testCannotFindPropertyOnRestrictedPage()
throws ServiceException,
IOException
- Throws:
ServiceException
IOException
testCannotUpdatePropertyOnRestrictedPage
public void testCannotUpdatePropertyOnRestrictedPage()
throws ServiceException,
IOException
- Throws:
ServiceException
IOException
testCannotDeletePropertyOnRestrictedPage
public void testCannotDeletePropertyOnRestrictedPage()
throws ServiceException,
IOException
- Throws:
ServiceException
IOException
Copyright © 2003–2015 Atlassian. All rights reserved.