public class RemoteContentMacroServiceAcceptanceTest extends AbstractRemoteServiceAcceptanceTest
proxyCreatorrpc, testHelper, testName| Constructor and Description |
|---|
RemoteContentMacroServiceAcceptanceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getService() |
protected Class |
getServiceClass() |
void |
setUp() |
void |
testGetMacroBodyContentHandlesComplexProcessedMacroBody()
Make sure for macros with a rich text body, that the storage format is used to
calculate the hash.
|
void |
testGetMacroBodyContentHandlesProcessedMacroBody() |
void |
testGetMacroBodyContentHandlesUnprocessedMacroBody() |
void |
testMacroBodyCollectionByExplicitId() |
void |
testMacroBodyCollectionByGeneratedId() |
void |
testMacroBodyCollectionByHash() |
void |
testMacroBodyCollectionByIdsWithTwoMacros() |
void |
testMacroBodyCollectionWithNoMatch() |
void |
testMacroBodyCollectionWithNoPage() |
void |
testMacroBodyCollectionWithTwoMacros() |
void |
testPageStorageFormatCreatesMacroId()
Make sure that a MacroId is generated for pages that contain macros that do not have them.
|
void |
testPageStorageFormatHonorsMacroId()
Make sure that a MacroId is not generated for pages that contain macros that have defined a MacroId
|
void |
testPageStorageResolvesDuplicateMacroIds()
Make sure that a duplicated MacroId in the supplied storage format is replaced with a new random MacroId.
|
checkPageResponse, getExcludedMethodNamesForProxyTest, loginIfNotAlready, prepareMspacesWithNpages, prepareSpacesAndUsersWithCascadedVisibility, proxySetUp, spaceByNumber, testServiceProxy, userByNumbercommonSetUp, exceptionSupplier, tearDownpublic RemoteContentMacroServiceAcceptanceTest()
protected Object getService()
getService in class AbstractRemoteServiceAcceptanceTestprotected Class getServiceClass()
getServiceClass in class AbstractRemoteServiceAcceptanceTestpublic void testMacroBodyCollectionByHash()
throws Exception
Exceptionpublic void testMacroBodyCollectionByGeneratedId()
throws Exception
Exceptionpublic void testMacroBodyCollectionByExplicitId()
throws Exception
Exceptionpublic void testMacroBodyCollectionWithTwoMacros()
throws Exception
Exceptionpublic void testMacroBodyCollectionByIdsWithTwoMacros()
throws Exception
Exceptionpublic void testMacroBodyCollectionWithNoMatch()
throws Exception
Exceptionpublic void testMacroBodyCollectionWithNoPage()
throws Exception
Exceptionpublic void testGetMacroBodyContentHandlesUnprocessedMacroBody()
throws Exception
Exceptionpublic void testGetMacroBodyContentHandlesProcessedMacroBody()
throws Exception
Exceptionpublic void testGetMacroBodyContentHandlesComplexProcessedMacroBody()
throws Exception
Exceptionpublic void testPageStorageFormatCreatesMacroId()
public void testPageStorageFormatHonorsMacroId()
public void testPageStorageResolvesDuplicateMacroIds()
Copyright © 2003–2015 Atlassian. All rights reserved.