public class RemoteContentServiceRestrictionsExpansionAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
thrown |
proxyCreatorrpc, testHelper, testName| Constructor and Description |
|---|
RemoteContentServiceRestrictionsExpansionAcceptanceTest() |
| 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 |
testGetByIdUnrestrictedExpandRestrictions() |
void |
testGetByIdUnrestrictedExpandRestrictionsRead() |
void |
testGetByIdUnrestrictedExpandRestrictionsReadRestrictions() |
void |
testGetByIdUnrestrictedExpandRestrictionsReadRestrictionsUser() |
void |
testGetByIdUnrestrictedExpandRestrictionsReadRestrictionsUserAndGroup() |
void |
testGetByIdUnrestrictedNoExpandRestrictions() |
void |
testGetByIdUserReadGroupWriteRestrictedExpandAllTheStuff() |
void |
testGetByIdUserReadRestrictedExpandAllTheStuff() |
checkPageResponse, initialize, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumbercommonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, userspublic RemoteContentServiceRestrictionsExpansionAcceptanceTest()
protected 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 testGetByIdUnrestrictedNoExpandRestrictions()
throws Exception
Exceptionpublic void testGetByIdUnrestrictedExpandRestrictions()
throws Exception
Exceptionpublic void testGetByIdUnrestrictedExpandRestrictionsRead()
throws Exception
Exceptionpublic void testGetByIdUnrestrictedExpandRestrictionsReadRestrictions()
throws Exception
Exceptionpublic void testGetByIdUnrestrictedExpandRestrictionsReadRestrictionsUser()
throws Exception
Exceptionpublic void testGetByIdUnrestrictedExpandRestrictionsReadRestrictionsUserAndGroup()
throws Exception
Exceptionpublic void testGetByIdUserReadRestrictedExpandAllTheStuff()
throws Exception
ExceptionCopyright © 2003–2017 Atlassian. All rights reserved.