com.atlassian.confluence.api
Class RemoteChildContentServiceAcceptanceTest

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

public class RemoteChildContentServiceAcceptanceTest
extends AbstractRemoteServiceAcceptanceTest

Tests the Child Content REST API via the RemoteChildContentService.


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
RemoteChildContentServiceAcceptanceTest()
           
 
Method Summary
protected  Object getService()
           
protected  Class getServiceClass()
           
 void setUp()
           
 void testAttachmentsExpandedInChildrenMap()
           
 void testChildContentExpandableBodyPaginationLimits()
           
 void testGetChildCommentOnDifferentAttachmentVersions()
           
 void testGetChildCommentsOfAttachment()
           
 void testGetChildCommentsOfComment()
           
 void testGetChildCommentsOfPage()
           
 void testGetChildCommentsOnDifferentPageVersions()
           
 void testGetChildPagesOfPage()
           
 void testGetCommentsWithDifferentLocations()
          Test if the comments can be retrieved with location set as empty or "footer" Acceptance tests for other location such as "inline" and "resolved" are implemented in the plugin (confluence-inline-comments)
 void testGetDescendantCommentsOfComment()
           
 void testGetDescendantCommentsOfPage()
           
 void testPageWithExpandedChildren()
           
 void testPageWithExpandedDescendants()
           
 void testRemoveFileCommentAsUserWithRemoveCommentPermissions()
           
 
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

RemoteChildContentServiceAcceptanceTest

public RemoteChildContentServiceAcceptanceTest()
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

testGetChildPagesOfPage

public void testGetChildPagesOfPage()
                             throws Exception
Throws:
Exception

testGetChildCommentsOfPage

public void testGetChildCommentsOfPage()
                                throws Exception
Throws:
Exception

testGetChildCommentsOfAttachment

public void testGetChildCommentsOfAttachment()
                                      throws Exception
Throws:
Exception

testRemoveFileCommentAsUserWithRemoveCommentPermissions

public void testRemoveFileCommentAsUserWithRemoveCommentPermissions()
                                                             throws Exception
Throws:
Exception

testGetChildCommentsOnDifferentPageVersions

public void testGetChildCommentsOnDifferentPageVersions()
                                                 throws Exception
Throws:
Exception

testGetChildCommentOnDifferentAttachmentVersions

public void testGetChildCommentOnDifferentAttachmentVersions()
                                                      throws Exception
Throws:
Exception

testGetCommentsWithDifferentLocations

public void testGetCommentsWithDifferentLocations()
                                           throws Exception
Test if the comments can be retrieved with location set as empty or "footer" Acceptance tests for other location such as "inline" and "resolved" are implemented in the plugin (confluence-inline-comments)

Throws:
Exception

testGetDescendantCommentsOfPage

public void testGetDescendantCommentsOfPage()
                                     throws Exception
Throws:
Exception

testPageWithExpandedChildren

public void testPageWithExpandedChildren()
                                  throws Exception
Throws:
Exception

testPageWithExpandedDescendants

public void testPageWithExpandedDescendants()
                                     throws Exception
Throws:
Exception

testGetChildCommentsOfComment

public void testGetChildCommentsOfComment()
                                   throws Exception
Throws:
Exception

testGetDescendantCommentsOfComment

public void testGetDescendantCommentsOfComment()
                                        throws Exception
Throws:
Exception

testAttachmentsExpandedInChildrenMap

public void testAttachmentsExpandedInChildrenMap()
                                          throws Exception
Throws:
Exception

testChildContentExpandableBodyPaginationLimits

public void testChildContentExpandableBodyPaginationLimits()


Copyright © 2003–2015 Atlassian. All rights reserved.