public class RemoteContentVersionServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTACHMENT_MESSAGE |
org.junit.rules.ExpectedException |
expectedException |
proxyCreatorrpc, testHelper, testName| Constructor and Description |
|---|
RemoteContentVersionServiceAcceptanceTest() |
| 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 |
testAttachmentHistory() |
void |
testDeleteOneVersion() |
void |
testGetOneVersionUsingLatestContentId() |
void |
testPageHistory() |
void |
testPageHistoryPaginationLimitedResponse() |
void |
testRestoreOneVersion() |
void |
testWhenNoEditPermissionCannotDeleteVersion() |
void |
testWhenNoEditPermissionCannotRestoreVersion() |
void |
testWhenNoViewPermissionCannotGetVersions() |
checkPageResponse, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumbercommonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, userspublic static final String ATTACHMENT_MESSAGE
public org.junit.rules.ExpectedException expectedException
public RemoteContentVersionServiceAcceptanceTest()
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 testAttachmentHistory()
public void testPageHistory()
public void testPageHistoryPaginationLimitedResponse()
public void testWhenNoViewPermissionCannotGetVersions()
public void testWhenNoEditPermissionCannotDeleteVersion()
public void testWhenNoEditPermissionCannotRestoreVersion()
public void testDeleteOneVersion()
public void testRestoreOneVersion()
public void testGetOneVersionUsingLatestContentId()
Copyright © 2003–2019 Atlassian. All rights reserved.