public class RemoteSpaceServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
proxyCreatorrpc, testHelper, testName| Constructor and Description |
|---|
RemoteSpaceServiceAcceptanceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<String> |
getExcludedMethodNamesForProxyTest()
Returns a collection of method names to skip the proxy test for.
|
protected Object |
getService() |
protected Class |
getServiceClass() |
void |
setUp() |
void |
testCreatePublicAndPrivateSpaces() |
void |
testCreateSpace() |
void |
testDefaultSpaceContentPaginationLimits() |
void |
testDeleteNonExistingSpace() |
void |
testDeleteSpace() |
void |
testFindOneSpace() |
void |
testGetAllContentForSpace() |
void |
testGetContentForNonExistentSpace() |
void |
testGetContentForSpace() |
void |
testGetSpaceDescription() |
void |
testGetSpaces() |
void |
testGetSpacesWithKeys() |
void |
testGetTopLevelContentForSpace() |
void |
testNotPermitted() |
void |
testSpacesPaginationIsCorrectWithDifferentPermissions() |
void |
testUpdateSpace() |
checkPageResponse, loginIfNotAlready, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumbercommonSetUp, exceptionSupplier, tearDownprotected Object getService()
getService in class AbstractRemoteServiceAcceptanceTestprotected Class getServiceClass()
getServiceClass in class AbstractRemoteServiceAcceptanceTestprotected Collection<String> getExcludedMethodNamesForProxyTest()
AbstractRemoteServiceAcceptanceTestOverridden 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.
getExcludedMethodNamesForProxyTest in class AbstractRemoteServiceAcceptanceTestpublic void testCreatePublicAndPrivateSpaces()
throws Exception
Exceptionpublic void testNotPermitted()
public void testGetContentForNonExistentSpace()
throws ServiceException
ServiceExceptionpublic void testGetAllContentForSpace()
throws Exception
Exceptionpublic void testGetTopLevelContentForSpace()
throws Exception
Exceptionpublic void testDeleteNonExistingSpace()
throws Exception
Exceptionpublic void testDefaultSpaceContentPaginationLimits()
Copyright © 2003–2015 Atlassian. All rights reserved.