com.atlassian.confluence.rest
Class PageAcceptanceTest

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.rest.AbstractRestAcceptanceTest
                  extended by com.atlassian.confluence.rest.PageAcceptanceTest
All Implemented Interfaces:
junit.framework.Test

public class PageAcceptanceTest
extends AbstractRestAcceptanceTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.rest.AbstractRestAcceptanceTest
adminRootResource, baseUrl, client, loginHelper, propertiesManager, rootResource, rpc, serverStateManager, testData, userHelper
 
Constructor Summary
PageAcceptanceTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testChildrenOrder()
           
 void testGetChildrenAndExpandContent()
           
 void testGetChildrenRespectsPermissions()
           
 void testGetGrandChildren()
           
 void testGetPage()
           
 
Methods inherited from class com.atlassian.confluence.rest.AbstractRestAcceptanceTest
assertLink, doGet, doGet, doPost, doPut, expand, expandWithIndexes, getContentWithId, getResource, getRootResource, getTester
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageAcceptanceTest

public PageAcceptanceTest()
Method Detail

setUp

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

tearDown

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

testGetPage

public void testGetPage()

testGetChildrenAndExpandContent

public void testGetChildrenAndExpandContent()

testGetChildrenRespectsPermissions

public void testGetChildrenRespectsPermissions()

testChildrenOrder

public void testChildrenOrder()

testGetGrandChildren

public void testGetGrandChildren()
                          throws Exception
Throws:
Exception


Copyright © 2003-2013 Atlassian. All Rights Reserved.