com.atlassian.confluence.rest
Class UsersAcceptanceTest

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

public class UsersAcceptanceTest
extends AbstractRestAcceptanceTest

Test the users URL with different users.


Field Summary
 
Fields inherited from class com.atlassian.confluence.it.rest.AbstractRestAcceptanceTest
baseUrl, client, CONTENT_PATH, I18N_PATH, name, rootResource, rpc, serverStateManager, SPACE_PATH, TEST_PAGE, TEST_SPACE, testHelper, userHelper
 
Constructor Summary
UsersAcceptanceTest()
           
 
Method Summary
 void testAdminGetUsers()
           
 void testAnonCannotSee()
           
 void testNormalUserCannotSee()
           
 void testPagination()
           
 
Methods inherited from class com.atlassian.confluence.it.rest.AbstractRestAcceptanceTest
setUp, tearDown
 
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

UsersAcceptanceTest

public UsersAcceptanceTest()
Method Detail

testAdminGetUsers

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

testPagination

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

testAnonCannotSee

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

testNormalUserCannotSee

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.