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, 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()
public void testGetByIdUnrestrictedExpandRestrictions()
public void testGetByIdUnrestrictedExpandRestrictionsRead()
public void testGetByIdUnrestrictedExpandRestrictionsReadRestrictions()
public void testGetByIdUnrestrictedExpandRestrictionsReadRestrictionsUser()
public void testGetByIdUnrestrictedExpandRestrictionsReadRestrictionsUserAndGroup()
public void testGetByIdUserReadRestrictedExpandAllTheStuff()
public void testGetByIdUserReadGroupWriteRestrictedExpandAllTheStuff()
Copyright © 2003–2019 Atlassian. All rights reserved.