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 java.lang.Exception
- Throws:
java.lang.Exception
getService
protected java.lang.Object getService()
- Specified by:
getService
in class AbstractRemoteServiceAcceptanceTest
- Returns:
- the proxy of the API Service under test.
getServiceClass
protected java.lang.Class getServiceClass()
- Specified by:
getServiceClass
in class AbstractRemoteServiceAcceptanceTest
- Returns:
- the class of the API Service under test.
testSimpleCreateRead
public void testSimpleCreateRead()
throws ServiceException,
java.io.IOException
- Throws:
ServiceException
java.io.IOException
testSearchByContentId
public void testSearchByContentId()
throws ServiceException,
java.io.IOException
- Throws:
ServiceException
java.io.IOException
testCreateWithLargeValueSucceeds
public void testCreateWithLargeValueSucceeds()
throws java.io.IOException,
ServiceException
- Throws:
java.io.IOException
ServiceException
testCreateWithTooLargeValueRejected
public void testCreateWithTooLargeValueRejected()
throws java.io.IOException,
ServiceException
- Throws:
java.io.IOException
ServiceException
testCreateWithTooLargeRequestRejected
public void testCreateWithTooLargeRequestRejected()
throws java.io.IOException,
ServiceException
- Throws:
java.io.IOException
ServiceException
testUpdateWithMissingVersion
public void testUpdateWithMissingVersion()
throws ServiceException,
java.io.IOException
- Throws:
ServiceException
java.io.IOException
testUpdateWithOldVersion
public void testUpdateWithOldVersion()
throws ServiceException,
java.io.IOException
- Throws:
ServiceException
java.io.IOException
testTrashPageAlsoTrashesContentProperties
public void testTrashPageAlsoTrashesContentProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateViaUpdate
public void testCreateViaUpdate()
throws java.io.IOException
- Throws:
java.io.IOException
testCreateDuplicateViaUpdate
public void testCreateDuplicateViaUpdate()
throws java.io.IOException
- Throws:
java.io.IOException
testCannotCreatePropertyOnRestrictedPage
public void testCannotCreatePropertyOnRestrictedPage()
throws ServiceException,
java.io.IOException
- Throws:
ServiceException
java.io.IOException
testCannotFindPropertyOnRestrictedPage
public void testCannotFindPropertyOnRestrictedPage()
throws ServiceException,
java.io.IOException
- Throws:
ServiceException
java.io.IOException
testCannotUpdatePropertyOnRestrictedPage
public void testCannotUpdatePropertyOnRestrictedPage()
throws ServiceException,
java.io.IOException
- Throws:
ServiceException
java.io.IOException
testCannotDeletePropertyOnRestrictedPage
public void testCannotDeletePropertyOnRestrictedPage()
throws ServiceException,
java.io.IOException
- Throws:
ServiceException
java.io.IOException
Copyright © 2003-2014 Atlassian. All Rights Reserved.