public class RemoteContentTrashServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
thrown |
proxyCreator
rpc, 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, initialize, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumber
commonSetUp, exceptionSupplier
public RemoteContentTrashServiceAcceptanceTest()
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 testTrashAndGetAttachment() throws Exception
Exception
public void testTrashAlreadyTrashedAttachment() throws Exception
Exception
public void testTrashAndPurgeAttachment() throws Exception
Exception
public void testTrashAndRestoreAttachment() throws Exception
Exception
public void testTrashAndRestoreIncorrectVersion() throws Exception
Exception
public void testTrashAndRestoreIncorrectStatus() throws Exception
Exception
public void testTrashAndRestoreWithLocatedContent() throws Exception
Exception
public void testUnpermittedTrash() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testUnpermittedTrashAttachment() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testUnpermittedRestoreAttachment() throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
Copyright © 2003–2016 Atlassian. All rights reserved.