com.atlassian.confluence.api
Class RemoteSpaceServiceAcceptanceTest
java.lang.Object
com.atlassian.confluence.api.AbstractAcceptanceTest
com.atlassian.confluence.api.AbstractRemoteServiceAcceptanceTest
com.atlassian.confluence.api.RemoteSpaceServiceAcceptanceTest
public class RemoteSpaceServiceAcceptanceTest
- extends AbstractRemoteServiceAcceptanceTest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteSpaceServiceAcceptanceTest
public RemoteSpaceServiceAcceptanceTest()
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.
getExcludedMethodNamesForProxyTest
protected Collection<String> getExcludedMethodNamesForProxyTest()
- Description copied from class:
AbstractRemoteServiceAcceptanceTest
- Returns a collection of method names to skip the proxy test for.
Overridden by test classes for services with methods that are known to be implemented on the proxy, but
not able to be tested with the logic in testServiceProxy. If we end up fixing the logic, these exclusions
can (and should) be removed.
- Overrides:
getExcludedMethodNamesForProxyTest in class AbstractRemoteServiceAcceptanceTest
setUp
public void setUp()
throws Exception
- Throws:
Exception
testCreateSpace
public void testCreateSpace()
throws Exception
- Throws:
Exception
testCreatePublicAndPrivateSpaces
public void testCreatePublicAndPrivateSpaces()
throws Exception
- Throws:
Exception
testUpdateSpace
public void testUpdateSpace()
throws Exception
- Throws:
Exception
testFindOneSpace
public void testFindOneSpace()
throws Exception
- Throws:
Exception
testGetSpaceDescription
public void testGetSpaceDescription()
throws Exception
- Throws:
Exception
testNotPermitted
public void testNotPermitted()
testGetContentForSpace
public void testGetContentForSpace()
throws Exception
- Throws:
Exception
testGetContentForNonExistentSpace
public void testGetContentForNonExistentSpace()
throws ServiceException
- Throws:
ServiceException
testGetAllContentForSpace
public void testGetAllContentForSpace()
throws Exception
- Throws:
Exception
testGetTopLevelContentForSpace
public void testGetTopLevelContentForSpace()
throws Exception
- Throws:
Exception
testGetSpaces
public void testGetSpaces()
throws Exception
- Throws:
Exception
testGetSpacesWithKeys
public void testGetSpacesWithKeys()
throws Exception
- Throws:
Exception
testDeleteSpace
public void testDeleteSpace()
throws Exception
- Throws:
Exception
testDeleteNonExistingSpace
public void testDeleteNonExistingSpace()
throws Exception
- Throws:
Exception
testDefaultSpaceContentPaginationLimits
public void testDefaultSpaceContentPaginationLimits()
Copyright © 2003–2015 Atlassian. All rights reserved.