public class RemoteAttachmentServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
proxyCreator
rpc, testHelper, testName
Constructor and Description |
---|
RemoteAttachmentServiceAcceptanceTest() |
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 |
testAddAttachmentWithNoComment() |
void |
testAddAttachmentWithNoContentType() |
void |
testAddMultipleAttachment() |
void |
testAddSingleAttachment() |
void |
testAttachmentMetadataUpdate() |
void |
testAttachmentMetadataUpdateFailsWithWrongBigVersion() |
void |
testAttachmentMetadataUpdateFailsWithWrongSmallVersion() |
void |
testAttachmentMetadataUpdateIsOkayWithVersionPlusOne() |
void |
testDeleteAttachment() |
void |
testGetAttachmentByContentIdAndFilename() |
void |
testGetAttachmentById() |
void |
testGetAttachmentsFilteredByFilename() |
void |
testGetAttachmentsFilteredByMediaType() |
void |
testGetAttachmentsPaginated() |
void |
testUpdateAttachmentData() |
void |
testUpdateAttachmentDataWithNameChange() |
checkPageResponse, loginIfNotAlready, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumber
commonSetUp, exceptionSupplier, tearDown
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 testAttachmentMetadataUpdateFailsWithWrongBigVersion() throws Exception
Exception
public void testAttachmentMetadataUpdateFailsWithWrongSmallVersion() throws Exception
Exception
public void testUpdateAttachmentDataWithNameChange() throws Exception
Exception
Copyright © 2003–2015 Atlassian. All rights reserved.