com.atlassian.confluence.api
Class RemoteContentBodyConversionServiceAcceptanceTest
java.lang.Object
com.atlassian.confluence.api.AbstractAcceptanceTest
com.atlassian.confluence.api.AbstractRemoteServiceAcceptanceTest
com.atlassian.confluence.api.RemoteContentBodyConversionServiceAcceptanceTest
public class RemoteContentBodyConversionServiceAcceptanceTest
- extends AbstractRemoteServiceAcceptanceTest
Tests the ContentBody REST API via the RemoteContentBodyService.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteContentBodyConversionServiceAcceptanceTest
public RemoteContentBodyConversionServiceAcceptanceTest()
getService
protected java.lang.Object getService()
- Specified by:
getService
in class AbstractRemoteServiceAcceptanceTest
- Returns:
- the proxy of the API Service under test.
getServiceClass
protected java.lang.Class getServiceClass()
- Specified by:
getServiceClass
in class AbstractRemoteServiceAcceptanceTest
- Returns:
- the class of the API Service under test.
getExcludedMethodNamesForProxyTest
protected java.util.Collection<java.lang.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 java.lang.Exception
- Throws:
java.lang.Exception
tearDown
public void tearDown()
- Overrides:
tearDown
in class AbstractAcceptanceTest
testConvertStorageToStorage
public void testConvertStorageToStorage()
throws ServiceException
- Throws:
ServiceException
testConvertStorageToEditor
public void testConvertStorageToEditor()
throws ServiceException
- Throws:
ServiceException
testConvertStorageToView
public void testConvertStorageToView()
throws ServiceException
- Throws:
ServiceException
testConvertEditorToStorage
public void testConvertEditorToStorage()
throws ServiceException
- Throws:
ServiceException
testConvertStorageToExportView
public void testConvertStorageToExportView()
throws java.lang.Exception
- Throws:
java.lang.Exception
testConvertWithContentContext
public void testConvertWithContentContext()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMacroWritingToDBDoesntFailDueToReadOnlyTransaction
public void testMacroWritingToDBDoesntFailDueToReadOnlyTransaction()
throws java.lang.Exception
- https://jira.atlassian.com/browse/CRA-175
- Throws:
java.lang.Exception
Copyright © 2003-2014 Atlassian. All Rights Reserved.