public class RemoteContentVersionServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
Modifier and Type | Field and Description |
---|---|
static String |
ATTACHMENT_MESSAGE |
org.junit.rules.ExpectedException |
expectedException |
proxyCreator
rpc, 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, initialize, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumber
commonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, users
public static final String ATTACHMENT_MESSAGE
public org.junit.rules.ExpectedException expectedException
public RemoteContentVersionServiceAcceptanceTest()
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 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–2018 Atlassian. All rights reserved.