com.atlassian.confluence.api
Class RemoteChildContentServiceAcceptanceTest
java.lang.Object
com.atlassian.confluence.api.AbstractAcceptanceTest
com.atlassian.confluence.api.AbstractRemoteServiceAcceptanceTest
com.atlassian.confluence.api.RemoteChildContentServiceAcceptanceTest
public class RemoteChildContentServiceAcceptanceTest
- extends AbstractRemoteServiceAcceptanceTest
Tests the Child Content REST API via the RemoteChildContentService.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteChildContentServiceAcceptanceTest
public RemoteChildContentServiceAcceptanceTest()
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.