com.atlassian.jira.webtests.ztests.crowd.embedded
Class TestCrowdGroupsResource

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.crowd.acceptance.tests.rest.service.RestCrowdServiceAcceptanceTestCase
              extended by com.atlassian.crowd.acceptance.tests.rest.service.GroupsResourceTest
                  extended by com.atlassian.jira.webtests.ztests.crowd.embedded.TestCrowdGroupsResource
All Implemented Interfaces:
EnvironmentAware, junit.framework.Test

public class TestCrowdGroupsResource
extends com.atlassian.crowd.acceptance.tests.rest.service.GroupsResourceTest
implements EnvironmentAware

Tests the Crowd REST API for the running in JIRA.

Since:
v4.3

Field Summary
 
Fields inherited from class com.atlassian.crowd.acceptance.tests.rest.service.RestCrowdServiceAcceptanceTestCase
APPLICATION_PASSWORD, ATTRIBUTES_RESOURCE, AUTHENTICATION_RESOURCE, GROUPS_RESOURCE, REST_SERVICE_NAME, SESSION_RESOURCE, USERS_RESOURCE
 
Constructor Summary
TestCrowdGroupsResource(String name)
           
 
Method Summary
 void setEnvironmentData(JIRAEnvironmentData environmentData)
           
 void testAddDirectChildGroup_NoNestedGroups()
           
 void testDeleteGroupAttribute()
           
 void testGetGroup_Expanded()
           
 void testGetMembershipsReturnsExactlyExpectedMemberships()
           
 void testStoreGroupAttributes()
           
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.rest.service.GroupsResourceTest
testAddDirectChildGroup_NoChild, testAddDirectChildGroup_NoGroup, testAddDirectChildGroup, testAddDirectParentGroup_NoGroup, testAddDirectParentGroup_NoParent, testAddDirectParentGroup, testAddDirectUser_NoGroup, testAddDirectUser_NoUser, testAddDirectUser, testAddGroup_Unicode, testAddGroup, testDeleteDirectChildGroup_NoChild, testDeleteDirectChildGroup_NoParent, testDeleteDirectChildGroup, testDeleteDirectUser, testDeleteGroup, testGetDirectChildGroups_Expanded, testGetDirectChildGroups_Group, testGetDirectChildGroups, testGetDirectParentGroups_Expanded, testGetDirectParentGroups, testGetDirectUsers_Expanded, testGetDirectUsers_Limit1, testGetDirectUsers_Limit2, testGetDirectUsers_User, testGetDirectUsers, testGetGroup_DoesNotExist, testGetGroup, testGetNestedChildGroups_Expanded, testGetNestedChildGroups, testGetNestedParentGroups_Expanded, testGetNestedParentGroups_Group, testGetNestedParentGroups_NoGroup, testGetNestedParentGroups, testGetNestedUsers_Expanded, testGetNestedUsers_NoUser, testGetNestedUsers_User, testGetNestedUsers, testUpdateGroup_BadDetails, testUpdateGroup
 
Methods inherited from class com.atlassian.crowd.acceptance.tests.rest.service.RestCrowdServiceAcceptanceTestCase
authenticateUser, getBaseUriBuilder, getRootWebResource, getWebResource, setRestServer, setUp, statusToString, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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

TestCrowdGroupsResource

public TestCrowdGroupsResource(String name)
Method Detail

setEnvironmentData

public void setEnvironmentData(JIRAEnvironmentData environmentData)
Specified by:
setEnvironmentData in interface EnvironmentAware

testStoreGroupAttributes

public void testStoreGroupAttributes()
Overrides:
testStoreGroupAttributes in class com.atlassian.crowd.acceptance.tests.rest.service.GroupsResourceTest

testDeleteGroupAttribute

public void testDeleteGroupAttribute()
Overrides:
testDeleteGroupAttribute in class com.atlassian.crowd.acceptance.tests.rest.service.GroupsResourceTest

testGetGroup_Expanded

public void testGetGroup_Expanded()
Overrides:
testGetGroup_Expanded in class com.atlassian.crowd.acceptance.tests.rest.service.GroupsResourceTest

testAddDirectChildGroup_NoNestedGroups

public void testAddDirectChildGroup_NoNestedGroups()
Overrides:
testAddDirectChildGroup_NoNestedGroups in class com.atlassian.crowd.acceptance.tests.rest.service.GroupsResourceTest

testGetMembershipsReturnsExactlyExpectedMemberships

public void testGetMembershipsReturnsExactlyExpectedMemberships()
Overrides:
testGetMembershipsReturnsExactlyExpectedMemberships in class com.atlassian.crowd.acceptance.tests.rest.service.GroupsResourceTest


Copyright © 2002-2012 Atlassian. All Rights Reserved.