com.atlassian.confluence.rest
Class GroupsAcceptanceTest

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

public class GroupsAcceptanceTest
extends AbstractRestAcceptanceTest

Test the groups 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
GroupsAcceptanceTest()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupsAcceptanceTest

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

testNormalUserCannotSee

public void testNormalUserCannotSee()


Copyright © 2003-2014 Atlassian. All Rights Reserved.