public class RemoteAttachmentServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
proxyCreatorrpc, 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, userByNumbercommonSetUp, exceptionSupplier, tearDownpublic 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 testAttachmentMetadataUpdateFailsWithWrongBigVersion()
throws Exception
Exceptionpublic void testAttachmentMetadataUpdateFailsWithWrongSmallVersion()
throws Exception
Exceptionpublic void testUpdateAttachmentDataWithNameChange()
throws Exception
ExceptionCopyright © 2003–2016 Atlassian. All rights reserved.