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.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.rest.AbstractRestAcceptanceTest
adminRootResource, baseUrl, client, loginHelper, propertiesManager, rootResource, rpc, serverStateManager, testData, userHelper
 
Constructor Summary
GroupsAcceptanceTest()
           
 
Method Summary
 void testAdminGetUsers()
           
 void testAnonCannotSee()
           
 void testNormalUserCannotSee()
           
 void testPagination()
           
 
Methods inherited from class com.atlassian.confluence.rest.AbstractRestAcceptanceTest
assertLink, doGet, doGet, doPost, doPut, expand, expandWithIndexes, getContentWithId, getResource, getRootResource, getTester, 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 JSONException
Throws:
JSONException

testPagination

public void testPagination()
                    throws JSONException
Throws:
JSONException

testAnonCannotSee

public void testAnonCannotSee()
                       throws JSONException
Throws:
JSONException

testNormalUserCannotSee

public void testNormalUserCannotSee()
                             throws JSONException
Throws:
JSONException


Copyright © 2003-2013 Atlassian. All Rights Reserved.