com.atlassian.confluence.rest
Class RestSpaceAcceptanceTest

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

public class RestSpaceAcceptanceTest
extends AbstractJUnit3RestAcceptanceTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.it.rest.AbstractJUnit3RestAcceptanceTest
TEST_PAGE, TEST_SPACE
 
Constructor Summary
RestSpaceAcceptanceTest()
           
 
Method Summary
protected  void setUp()
           
 void testAnonymousUserCannotGetSpaces()
           
 void testGetInvalidSpace()
           
 void testGetRootPagesObservesListMax()
           
 void testGetRootPagesRespectsPermissions()
           
 void testGetSpaceAndExpandChildren()
           
 void testGetSpaceHomePage()
           
 void testGetSpaceUserPropertiesAndPermissionsExpandedAsAdmin()
           
 void testGetSpaceUserPropertiesExpanded()
           
 void testGetSpaceUserPropertiesExpandedAndPermissions()
           
 void testGetSpaceUserPropertiesNotExpanded()
           
 void testSpaceFields()
           
 
Methods inherited from class com.atlassian.confluence.it.rest.AbstractJUnit3RestAcceptanceTest
baseUrl, configuredBaseUrl, createTestUser, restClient, rpc, serverState, tearDown, users
 
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

RestSpaceAcceptanceTest

public RestSpaceAcceptanceTest()
Method Detail

setUp

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

testGetInvalidSpace

public void testGetInvalidSpace()

testGetSpaceHomePage

public void testGetSpaceHomePage()

testGetSpaceAndExpandChildren

public void testGetSpaceAndExpandChildren()

testGetRootPagesRespectsPermissions

public void testGetRootPagesRespectsPermissions()

testGetRootPagesObservesListMax

public void testGetRootPagesObservesListMax()

testGetSpaceUserPropertiesNotExpanded

public void testGetSpaceUserPropertiesNotExpanded()

testGetSpaceUserPropertiesExpanded

public void testGetSpaceUserPropertiesExpanded()

testGetSpaceUserPropertiesExpandedAndPermissions

public void testGetSpaceUserPropertiesExpandedAndPermissions()

testGetSpaceUserPropertiesAndPermissionsExpandedAsAdmin

public void testGetSpaceUserPropertiesAndPermissionsExpandedAsAdmin()

testAnonymousUserCannotGetSpaces

public void testAnonymousUserCannotGetSpaces()

testSpaceFields

public void testSpaceFields()
                     throws URISyntaxException
Throws:
URISyntaxException


Copyright © 2003–2015 Atlassian. All rights reserved.