public class RemoteContentBodyConversionServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
thrown |
proxyCreator
rpc, testHelper, testName
Constructor and Description |
---|
RemoteContentBodyConversionServiceAcceptanceTest() |
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 |
tearDown() |
void |
testContentBodyConversionCustomMacroWithWebResourceExpansion() |
void |
testConvertEditorToStorage() |
void |
testConvertStorageToEditor() |
void |
testConvertStorageToExportView() |
void |
testConvertStorageToStorage() |
void |
testConvertStorageToStorageWithBadRequest() |
void |
testConvertStorageToStyledView() |
void |
testConvertStorageToStyledViewWithContentContext() |
void |
testConvertStorageToStyledViewWithInvalidContentContext() |
void |
testConvertStorageToView() |
void |
testConvertWithContentContext() |
void |
testMacroWritingToDBDoesntFailDueToReadOnlyTransaction()
https://jira.atlassian.com/browse/CRA-175
|
void |
testUnDuplicateBrTag() |
void |
testUnDuplicateBrTagInMacroContent() |
checkPageResponse, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumber
commonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, users
public RemoteContentBodyConversionServiceAcceptanceTest()
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 tearDown()
public void testConvertStorageToStorage() throws ServiceException
ServiceException
public void testConvertStorageToStorageWithBadRequest() throws ServiceException
ServiceException
public void testConvertStorageToEditor() throws ServiceException
ServiceException
public void testConvertStorageToView() throws ServiceException
ServiceException
public void testConvertStorageToStyledView() throws ServiceException
ServiceException
public void testConvertStorageToStyledViewWithContentContext()
public void testConvertStorageToStyledViewWithInvalidContentContext()
public void testConvertEditorToStorage() throws ServiceException
ServiceException
public void testConvertStorageToExportView()
public void testUnDuplicateBrTag()
public void testUnDuplicateBrTagInMacroContent()
public void testConvertWithContentContext()
public void testContentBodyConversionCustomMacroWithWebResourceExpansion() throws Exception
Exception
Copyright © 2003–2019 Atlassian. All rights reserved.