com.atlassian.confluence.rest
Class RestSpaceListAcceptanceTest

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.RestSpaceListAcceptanceTest
All Implemented Interfaces:
junit.framework.Test

public class RestSpaceListAcceptanceTest
extends AbstractRestAcceptanceTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.it.rest.AbstractRestAcceptanceTest
baseUrl, client, CONTENT_PATH, I18N_PATH, name, rootResource, rpc, serverStateManager, TEST_PAGE, TEST_SPACE, testHelper, userHelper
 
Constructor Summary
RestSpaceListAcceptanceTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAnonymousUserCanGetUnrestrictedSpace()
           
 void testExpandHomePageWithNoChildren()
           
 void testGetSpaceObeysPermissions()
           
 void testGetSpacesWithMaxAndOffsetParameters()
           
 void testListAllSpacesAndExpand()
           
 void testListAllSpacesExplicitly()
           
 void testListAllSpacesImplicitly()
           
 void testListMultipleSpaces()
           
 void testListSpacesByType()
           
 void testListSpacesMax()
           
 void testListSpacesMaxByType()
           
 void testListSpacesObeysPermissions()
           
 
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

RestSpaceListAcceptanceTest

public RestSpaceListAcceptanceTest()
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

testListAllSpacesImplicitly

public void testListAllSpacesImplicitly()

testListAllSpacesExplicitly

public void testListAllSpacesExplicitly()

testListAllSpacesAndExpand

public void testListAllSpacesAndExpand()

testListMultipleSpaces

public void testListMultipleSpaces()

testExpandHomePageWithNoChildren

public void testExpandHomePageWithNoChildren()

testListSpacesObeysPermissions

public void testListSpacesObeysPermissions()

testGetSpaceObeysPermissions

public void testGetSpaceObeysPermissions()

testListSpacesByType

public void testListSpacesByType()

testGetSpacesWithMaxAndOffsetParameters

public void testGetSpacesWithMaxAndOffsetParameters()

testListSpacesMax

public void testListSpacesMax()

testListSpacesMaxByType

public void testListSpacesMaxByType()

testAnonymousUserCanGetUnrestrictedSpace

public void testAnonymousUserCanGetUnrestrictedSpace()


Copyright © 2003-2013 Atlassian. All Rights Reserved.