com.atlassian.confluence.rest.api
Class RestApiContentAcceptanceTest

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

public class RestApiContentAcceptanceTest
extends AbstractRestSerializationAcceptanceTest

Tests _links and _expandable in Content resources.


Field Summary
 org.junit.rules.ExpectedException expectedException
           
 
Fields inherited from class com.atlassian.confluence.rest.AbstractRestSerializationAcceptanceTest
baseApi, basePath, pageId, resource, rpc, testHelper, testName
 
Constructor Summary
RestApiContentAcceptanceTest()
           
 
Method Summary
 void testExpandableMapPopulated()
           
 void testLabelsMetadata()
           
 void testMetadataExpandableMapPopulated()
           
 void testUpdateContentWithoutContentTypeHeader()
           
 void testUpdateContentWithoutIDInObject()
           
 
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
 

Field Detail

expectedException

public org.junit.rules.ExpectedException expectedException
Constructor Detail

RestApiContentAcceptanceTest

public RestApiContentAcceptanceTest()
Method Detail

testExpandableMapPopulated

public void testExpandableMapPopulated()
                                throws Exception
Throws:
Exception

testMetadataExpandableMapPopulated

public void testMetadataExpandableMapPopulated()
                                        throws Exception
Throws:
Exception

testLabelsMetadata

public void testLabelsMetadata()
                        throws Exception
Throws:
Exception

testUpdateContentWithoutIDInObject

public void testUpdateContentWithoutIDInObject()

testUpdateContentWithoutContentTypeHeader

public void testUpdateContentWithoutContentTypeHeader()


Copyright © 2003–2015 Atlassian. All rights reserved.