public class RemoteSpaceServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
proxyCreator
rpc, 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, userByNumber
commonSetUp, exceptionSupplier, tearDown
protected Object getService()
getService
in class AbstractRemoteServiceAcceptanceTest
protected Class getServiceClass()
getServiceClass
in class AbstractRemoteServiceAcceptanceTest
protected Collection<String> getExcludedMethodNamesForProxyTest()
AbstractRemoteServiceAcceptanceTest
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.
getExcludedMethodNamesForProxyTest
in class AbstractRemoteServiceAcceptanceTest
public void testCreatePublicAndPrivateSpaces() throws Exception
Exception
public void testNotPermitted()
public void testGetContentForNonExistentSpace() throws ServiceException
ServiceException
public void testGetAllContentForSpace() throws Exception
Exception
public void testGetTopLevelContentForSpace() throws Exception
Exception
public void testDeleteNonExistingSpace() throws Exception
Exception
public void testDefaultSpaceContentPaginationLimits()
Copyright © 2003–2015 Atlassian. All rights reserved.