com.atlassian.confluence.api
Class RemoteContentMacroServiceAcceptanceTest

java.lang.Object
  extended by com.atlassian.confluence.api.AbstractAcceptanceTest
      extended by com.atlassian.confluence.api.AbstractRemoteServiceAcceptanceTest
          extended by com.atlassian.confluence.api.RemoteContentMacroServiceAcceptanceTest

public class RemoteContentMacroServiceAcceptanceTest
extends AbstractRemoteServiceAcceptanceTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.api.AbstractRemoteServiceAcceptanceTest
proxyCreator
 
Fields inherited from class com.atlassian.confluence.api.AbstractAcceptanceTest
rpc, testHelper, testName
 
Constructor Summary
RemoteContentMacroServiceAcceptanceTest()
           
 
Method Summary
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 testMacroBodyCollection()
           
 void testMacroBodyCollectionWithNoMatch()
           
 void testMacroBodyCollectionWithNoPage()
           
 void testMacroBodyCollectionWithTwoMacros()
           
 
Methods inherited from class com.atlassian.confluence.api.AbstractRemoteServiceAcceptanceTest
getExcludedMethodNamesForProxyTest, proxySetUp, testServiceProxy
 
Methods inherited from class com.atlassian.confluence.api.AbstractAcceptanceTest
commonSetUp, exceptionSupplier, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteContentMacroServiceAcceptanceTest

public RemoteContentMacroServiceAcceptanceTest()
Method Detail

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.

setUp

public void setUp()
           throws Exception
Throws:
Exception

testMacroBodyCollection

public void testMacroBodyCollection()
                             throws Exception
Throws:
Exception

testMacroBodyCollectionWithTwoMacros

public void testMacroBodyCollectionWithTwoMacros()
                                          throws Exception
Throws:
Exception

testMacroBodyCollectionWithNoMatch

public void testMacroBodyCollectionWithNoMatch()
                                        throws Exception
Throws:
Exception

testMacroBodyCollectionWithNoPage

public void testMacroBodyCollectionWithNoPage()
                                       throws Exception
Throws:
Exception

testGetMacroBodyContentHandlesUnprocessedMacroBody

public void testGetMacroBodyContentHandlesUnprocessedMacroBody()
                                                        throws Exception
Throws:
Exception

testGetMacroBodyContentHandlesProcessedMacroBody

public void testGetMacroBodyContentHandlesProcessedMacroBody()
                                                      throws Exception
Throws:
Exception

testGetMacroBodyContentHandlesComplexProcessedMacroBody

public void testGetMacroBodyContentHandlesComplexProcessedMacroBody()
                                                             throws Exception
Make sure for macros with a rich text body, that the storage format is used to calculate the hash. Using a table here is significant because tables render (view format) is different to storage format. See: https://jira.atlassian.com/browse/CONF-33830

Throws:
Exception


Copyright © 2003–2015 Atlassian. All rights reserved.