public class RemoteAttachmentServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
proxyCreator
rpc, testHelper, testName
Constructor and Description |
---|
RemoteAttachmentServiceAcceptanceTest() |
checkPageResponse, initialize, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumber
commonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, users
public RemoteAttachmentServiceAcceptanceTest()
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 testAddAttachmentWithNoComment() throws Exception
Exception
public void testAddAttachmentWithNoContentType() throws Exception
Exception
public void testAddMultipleAttachment() throws Exception
Exception
public void testGetAttachmentByContentIdAndFilename() throws Exception
Exception
public void testGetAttachmentsPaginated() throws Exception
Exception
public void testGetAttachmentsFilteredByFilename() throws Exception
Exception
public void testGetAttachmentsFilteredByMediaType() throws Exception
Exception
public void testAttachmentMetadataUpdate() throws Exception
Exception
public void testAttachmentMetadataUpdateIsOkayWithVersionPlusOne() throws Exception
Exception
public void testAttachmentMetadataUpdateIsOkayWithNewLabels() throws Exception
Exception
public void testAttachmentMetadataUpdateIsOkayWithSameLabels() throws Exception
Exception
public void testAttachmentMetadataUpdateIsOkayWithRemovingAndAddingLabels() throws Exception
Exception
public void testAttachmentMetadataUpdateIsOkayWithRemovingAllLabels() throws Exception
Exception
public void testAttachmentMetadataUpdateFailsWithWrongBigVersion() throws Exception
Exception
public void testAttachmentMetadataUpdateFailsWithWrongSmallVersion() throws Exception
Exception
public void testUpdateAttachmentDataWithNameChange() throws Exception
Exception
public void testDeleteUnpermittedAttachment() throws Exception
Exception
public void testRestoreAttachmentByUpdate() throws Exception
Exception
public void testRestoreUnpermittedAttachmentByUpdate() throws Exception
Exception
Copyright © 2003–2018 Atlassian. All rights reserved.