com.atlassian.confluence.api
Class RemoteAttachmentServiceAcceptanceTest
java.lang.Object
com.atlassian.confluence.api.AbstractAcceptanceTest
com.atlassian.confluence.api.AbstractRemoteServiceAcceptanceTest
com.atlassian.confluence.api.RemoteAttachmentServiceAcceptanceTest
public class RemoteAttachmentServiceAcceptanceTest
- extends AbstractRemoteServiceAcceptanceTest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteAttachmentServiceAcceptanceTest
public RemoteAttachmentServiceAcceptanceTest()
getService
protected Object getService()
- Specified by:
getService
in class AbstractRemoteServiceAcceptanceTest
- Returns:
- the proxy of the API Service under test.
getServiceClass
protected Class getServiceClass()
- Specified by:
getServiceClass
in class AbstractRemoteServiceAcceptanceTest
- Returns:
- the class of the API Service under test.
getExcludedMethodNamesForProxyTest
protected Collection<String> getExcludedMethodNamesForProxyTest()
- Description copied from class:
AbstractRemoteServiceAcceptanceTest
- Returns a collection of method names to skip the proxy test for.
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.
- Overrides:
getExcludedMethodNamesForProxyTest
in class AbstractRemoteServiceAcceptanceTest
setUp
public void setUp()
throws Exception
- Throws:
Exception
testAddSingleAttachment
public void testAddSingleAttachment()
throws Exception
- Throws:
Exception
testAddAttachmentWithNoComment
public void testAddAttachmentWithNoComment()
throws Exception
- Throws:
Exception
testAddAttachmentWithNoContentType
public void testAddAttachmentWithNoContentType()
throws Exception
- Throws:
Exception
testAddMultipleAttachment
public void testAddMultipleAttachment()
throws Exception
- Throws:
Exception
testGetAttachmentById
public void testGetAttachmentById()
throws Exception
- Throws:
Exception
testGetAttachmentByContentIdAndFilename
public void testGetAttachmentByContentIdAndFilename()
throws Exception
- Throws:
Exception
testGetAttachmentsPaginated
public void testGetAttachmentsPaginated()
throws Exception
- Throws:
Exception
testGetAttachmentsFilteredByFilename
public void testGetAttachmentsFilteredByFilename()
throws Exception
- Throws:
Exception
testGetAttachmentsFilteredByMediaType
public void testGetAttachmentsFilteredByMediaType()
throws Exception
- Throws:
Exception
testAttachmentMetadataUpdate
public void testAttachmentMetadataUpdate()
throws Exception
- Throws:
Exception
testAttachmentMetadataUpdateIsOkayWithVersionPlusOne
public void testAttachmentMetadataUpdateIsOkayWithVersionPlusOne()
throws Exception
- Throws:
Exception
testAttachmentMetadataUpdateFailsWithWrongBigVersion
public void testAttachmentMetadataUpdateFailsWithWrongBigVersion()
throws Exception
- Throws:
Exception
testAttachmentMetadataUpdateFailsWithWrongSmallVersion
public void testAttachmentMetadataUpdateFailsWithWrongSmallVersion()
throws Exception
- Throws:
Exception
testUpdateAttachmentData
public void testUpdateAttachmentData()
throws Exception
- Throws:
Exception
testUpdateAttachmentDataWithNameChange
public void testUpdateAttachmentDataWithNameChange()
throws Exception
- Throws:
Exception
testDeleteAttachment
public void testDeleteAttachment()
throws Exception
- Throws:
Exception
Copyright © 2003–2015 Atlassian. All rights reserved.