public class RemoteContentTrashServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
thrown |
proxyCreatorrpc, testHelper, testName| Constructor and Description |
|---|
RemoteContentTrashServiceAcceptanceTest() |
| 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 |
testCannotRestoreClashingAttachment() |
void |
testTrashAlreadyTrashed() |
void |
testTrashAlreadyTrashedAttachment() |
void |
testTrashAndGet() |
void |
testTrashAndGetAttachment() |
void |
testTrashAndPurge() |
void |
testTrashAndPurgeAttachment() |
void |
testTrashAndRestore() |
void |
testTrashAndRestoreAttachment() |
void |
testTrashAndRestoreIncorrectStatus() |
void |
testTrashAndRestoreIncorrectVersion() |
void |
testTrashAndRestoreWithLocatedContent() |
void |
testUnpermittedRestoreAttachment() |
void |
testUnpermittedTrash() |
void |
testUnpermittedTrashAttachment() |
checkPageResponse, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumbercommonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, userspublic RemoteContentTrashServiceAcceptanceTest()
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 testTrashAndGet()
public void testTrashAndGetAttachment()
public void testTrashAlreadyTrashed()
public void testTrashAlreadyTrashedAttachment()
public void testTrashAndPurge()
public void testTrashAndPurgeAttachment()
public void testTrashAndRestore()
public void testTrashAndRestoreAttachment()
public void testTrashAndRestoreIncorrectVersion()
public void testTrashAndRestoreIncorrectStatus()
public void testTrashAndRestoreWithLocatedContent()
public void testUnpermittedTrash()
public void testUnpermittedTrashAttachment()
public void testUnpermittedRestoreAttachment()
public void testCannotRestoreClashingAttachment()
Copyright © 2003–2019 Atlassian. All rights reserved.