com.atlassian.crowd.acceptance.tests.persistence.manager.directory
Class DirectoryManagerGenericNestedGroupsTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.persistence.manager.directory.DirectoryManagerGenericNestedGroupsTest
@ContextConfiguration(locations={"classpath:/applicationContext-config.xml","classpath:/applicationContext-CrowdDAO.xml","classpath:/applicationContext-CrowdManagers.xml","classpath:/applicationContext-CrowdUtils.xml","classpath:/applicationContext-internaldirectoryloader-config.xml"})
@TestExecutionListeners(value={org.springframework.test.context.transaction.TransactionalTestExecutionListener.class,org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class})
@Transactional
public class DirectoryManagerGenericNestedGroupsTest- extends Object
Tests the directory manager against a HSQL-backed InternalDirectory
for the nested groups logic.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
firstName
protected final String firstName
- See Also:
- Constant Field Values
surName
protected final String surName
- See Also:
- Constant Field Values
password
protected final String password
- See Also:
- Constant Field Values
DirectoryManagerGenericNestedGroupsTest
public DirectoryManagerGenericNestedGroupsTest()
loadTestData
@BeforeTransaction
public void loadTestData()
throws Exception
- Throws:
Exception
onSetUp
public void onSetUp()
throws Exception
- Throws:
Exception
addGroup
protected void addGroup(String name)
throws Exception
- Throws:
Exception
addUser
protected void addUser(String name)
throws Exception
- Throws:
Exception
testFindDirectoryById
public void testFindDirectoryById()
throws Exception
- Throws:
Exception
testSearchDirectUserMembersOfGroup
public void testSearchDirectUserMembersOfGroup()
throws Exception
- Throws:
Exception
testSearchDirectGroupMembersOfGroup
public void testSearchDirectGroupMembersOfGroup()
throws Exception
- Throws:
Exception
testSearchDirectGroupMembershipsOfUser
public void testSearchDirectGroupMembershipsOfUser()
throws Exception
- Throws:
Exception
testSearchDirectGroupMembershipsOfGroup
public void testSearchDirectGroupMembershipsOfGroup()
throws Exception
- Throws:
Exception
testSearchNestedGroupMembersOfGroup
public void testSearchNestedGroupMembersOfGroup()
throws Exception
- Throws:
Exception
testSearchNestedUserMembersOfGroup
public void testSearchNestedUserMembersOfGroup()
throws Exception
- Throws:
Exception
testSearchNestedGroupMembershipsOfGroup
public void testSearchNestedGroupMembershipsOfGroup()
throws Exception
- Throws:
Exception
testSearchNestedGroupMembershipsOfUser
public void testSearchNestedGroupMembershipsOfUser()
throws Exception
- Throws:
Exception
testIsUserDirectGroupMember
public void testIsUserDirectGroupMember()
throws Exception
- Throws:
Exception
testIsUserNestedGroupMember
public void testIsUserNestedGroupMember()
throws Exception
- Throws:
Exception
testIsGroupDirectGroupMember
public void testIsGroupDirectGroupMember()
throws Exception
- Throws:
Exception
testIsGroupNestedGroupMember
public void testIsGroupNestedGroupMember()
throws Exception
- Throws:
Exception
testAddGroupToGroupWhenMembershipAlreadyExists
public void testAddGroupToGroupWhenMembershipAlreadyExists()
throws Exception
- Throws:
Exception
testAddGroupToGroupCycleCreationFail
public void testAddGroupToGroupCycleCreationFail()
throws Exception
- Throws:
Exception
testRemoveGroupFromGroupCycleDeletionFail
public void testRemoveGroupFromGroupCycleDeletionFail()
throws Exception
- Throws:
Exception
testRemoveGroupFromGroup
public void testRemoveGroupFromGroup()
throws Exception
- Throws:
Exception
setDirectoryManager
public void setDirectoryManager(DirectoryManager directoryManager)
setDataSource
public void setDataSource(DataSource dataSource)
setResetableHiLoGeneratorHelper
public void setResetableHiLoGeneratorHelper(com.atlassian.hibernate.extras.ResetableHiLoGeneratorHelper resetableHiLoGeneratorHelper)
Copyright © 2014 Atlassian. All Rights Reserved.