com.atlassian.confluence.rest
Class ContentAcceptanceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.junit3.JUnit3TimingTestCase
              extended by com.atlassian.confluence.it.rest.AbstractRestAcceptanceTest
                  extended by com.atlassian.confluence.rest.ContentAcceptanceTest
All Implemented Interfaces:
junit.framework.Test

public class ContentAcceptanceTest
extends AbstractRestAcceptanceTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.it.rest.AbstractRestAcceptanceTest
baseUrl, client, I18N_PATH, name, rootResource, rpc, serverStateManager, SPACE_PATH, TEST_PAGE, TEST_SPACE, testHelper, userHelper
 
Constructor Summary
ContentAcceptanceTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAnonymousUserCannotGetContent()
           
 void testGetAttachmentByMimeType()
           
 void testGetAttachmentByMimeTypeJson()
           
 void testGetAttachmentByNiceType()
           
 void testGetAttachmentByNiceTypeJson()
           
 void testGetAttachmentOrder()
           
 void testGetAttachmentsForContent()
           
 void testGetAttachmentsForContentJson()
           
 void testGetAttachmentsInReverseOrder()
           
 void testGetBlogPost()
           
 void testGetContentById()
           
 void testGetContentByIdAnonymousUser()
           
 void testGetContentByIdJson()
           
 void testGetPaginatedAttachmentsForContent()
           
 void testGetPaginatedAttachmentsForContentJson()
           
 void testInvalidContent()
           
 
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase
runBare, setExceptionTransformer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentAcceptanceTest

public ContentAcceptanceTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractRestAcceptanceTest
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class AbstractRestAcceptanceTest
Throws:
java.lang.Exception

testInvalidContent

public void testInvalidContent()

testAnonymousUserCannotGetContent

public void testAnonymousUserCannotGetContent()

testGetBlogPost

public void testGetBlogPost()

testGetContentById

public void testGetContentById()

testGetContentByIdJson

public void testGetContentByIdJson()

testGetAttachmentsForContent

public void testGetAttachmentsForContent()

testGetAttachmentsForContentJson

public void testGetAttachmentsForContentJson()

testGetPaginatedAttachmentsForContent

public void testGetPaginatedAttachmentsForContent()

testGetPaginatedAttachmentsForContentJson

public void testGetPaginatedAttachmentsForContentJson()

testGetAttachmentByNiceType

public void testGetAttachmentByNiceType()

testGetAttachmentByMimeType

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

testGetAttachmentByNiceTypeJson

public void testGetAttachmentByNiceTypeJson()

testGetAttachmentByMimeTypeJson

public void testGetAttachmentByMimeTypeJson()

testGetAttachmentOrder

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

testGetAttachmentsInReverseOrder

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

testGetContentByIdAnonymousUser

public void testGetContentByIdAnonymousUser()


Copyright © 2003-2014 Atlassian. All Rights Reserved.