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  java.lang.Object getService()
           
protected  java.lang.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 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.

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

testMacroBodyCollection

public void testMacroBodyCollection()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testMacroBodyCollectionWithTwoMacros

public void testMacroBodyCollectionWithTwoMacros()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testMacroBodyCollectionWithNoMatch

public void testMacroBodyCollectionWithNoMatch()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testMacroBodyCollectionWithNoPage

public void testMacroBodyCollectionWithNoPage()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testGetMacroBodyContentHandlesUnprocessedMacroBody

public void testGetMacroBodyContentHandlesUnprocessedMacroBody()
                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testGetMacroBodyContentHandlesProcessedMacroBody

public void testGetMacroBodyContentHandlesProcessedMacroBody()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testGetMacroBodyContentHandlesComplexProcessedMacroBody

public void testGetMacroBodyContentHandlesComplexProcessedMacroBody()
                                                             throws java.lang.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:
java.lang.Exception


Copyright © 2003-2014 Atlassian. All Rights Reserved.