public class RemoteAttachmentServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
proxyCreatorrpc, testHelper, testName| Constructor and Description |
|---|
RemoteAttachmentServiceAcceptanceTest() |
checkPageResponse, initialize, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumbercommonSetUp, exceptionSupplier, pauseAndFlushIndexQueuepublic RemoteAttachmentServiceAcceptanceTest()
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 testAddAttachmentWithNoComment()
throws Exception
Exceptionpublic void testAddAttachmentWithNoContentType()
throws Exception
Exceptionpublic void testAddMultipleAttachment()
throws Exception
Exceptionpublic void testGetAttachmentByContentIdAndFilename()
throws Exception
Exceptionpublic void testGetAttachmentsPaginated()
throws Exception
Exceptionpublic void testGetAttachmentsFilteredByFilename()
throws Exception
Exceptionpublic void testGetAttachmentsFilteredByMediaType()
throws Exception
Exceptionpublic void testAttachmentMetadataUpdate()
throws Exception
Exceptionpublic void testAttachmentMetadataUpdateIsOkayWithVersionPlusOne()
throws Exception
Exceptionpublic void testAttachmentMetadataUpdateIsOkayWithNewLabels()
throws Exception
Exceptionpublic void testAttachmentMetadataUpdateIsOkayWithSameLabels()
throws Exception
Exceptionpublic void testAttachmentMetadataUpdateIsOkayWithRemovingAndAddingLabels()
throws Exception
Exceptionpublic void testAttachmentMetadataUpdateIsOkayWithRemovingAllLabels()
throws Exception
Exceptionpublic void testAttachmentMetadataUpdateFailsWithWrongBigVersion()
throws Exception
Exceptionpublic void testAttachmentMetadataUpdateFailsWithWrongSmallVersion()
throws Exception
Exceptionpublic void testUpdateAttachmentDataWithNameChange()
throws Exception
Exceptionpublic void testDeleteUnpermittedAttachment()
throws Exception
Exceptionpublic void testRestoreAttachmentByUpdate()
throws Exception
Exceptionpublic void testRestoreUnpermittedAttachmentByUpdate()
throws Exception
ExceptionCopyright © 2003–2017 Atlassian. All rights reserved.