com.atlassian.confluence.rest.api
Class RestChildContentAcceptanceTest

java.lang.Object
  extended by com.atlassian.confluence.rest.AbstractRestSerializationAcceptanceTest
      extended by com.atlassian.confluence.rest.api.RestChildContentAcceptanceTest

public class RestChildContentAcceptanceTest
extends AbstractRestSerializationAcceptanceTest

Different to the RemoteChildContentServiceAcceptanceTest by only testing REST-specific data in the response, such as _links and _expandable maps.


Field Summary
 
Fields inherited from class com.atlassian.confluence.rest.AbstractRestSerializationAcceptanceTest
baseApi, basePath, pageId, resource, rpc, testHelper, testName
 
Constructor Summary
RestChildContentAcceptanceTest()
           
 
Method Summary
 void testDescendantTypeResourceSelfLinksPopulated()
           
 void testExpandableUrlsPopulatedForChildren()
           
 void testExpandableUrlsPopulatedForContent()
           
 void testExpandableUrlsPopulatedForDescendants()
           
 void testExpandedChildContentSelfLinksPopulated()
           
 void testExpandedChildrenShowsSelfLink()
           
 void testExpandedDescendantContentSelfLinksPopulated()
           
 
Methods inherited from class com.atlassian.confluence.rest.AbstractRestSerializationAcceptanceTest
getAsJsonNode, getExpandable, getExpandableNode, getLinks, getLinks, getSelfLink, hasExpandable, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestChildContentAcceptanceTest

public RestChildContentAcceptanceTest()
Method Detail

testExpandedChildContentSelfLinksPopulated

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

testExpandedDescendantContentSelfLinksPopulated

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

testDescendantTypeResourceSelfLinksPopulated

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

testExpandableUrlsPopulatedForContent

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

testExpandableUrlsPopulatedForChildren

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

testExpandableUrlsPopulatedForDescendants

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

testExpandedChildrenShowsSelfLink

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.