com.atlassian.crowd.acceptance.tests.persistence.dao.membership
Class MembershipDaoCRUDTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.persistence.dao.membership.MembershipDaoCRUDTest
@ContextConfiguration(locations={"classpath:/applicationContext-config.xml","classpath:/applicationContext-CrowdDAO.xml"})
@TestExecutionListeners(value={org.springframework.test.context.transaction.TransactionalTestExecutionListener.class,org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class})
@Transactional
public class MembershipDaoCRUDTest- extends Object
Integration tests for the CRUD operations of MembershipDao. For convenience, the tests
of this interface have been split into multiple test classes.
- See Also:
MembershipDaoSearchTest,
MembershipDAOHibernateTest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MembershipDaoCRUDTest
public MembershipDaoCRUDTest()
loadTestData
@BeforeTransaction
public void loadTestData()
throws Exception
- Throws:
Exception
fixHiLo
public void fixHiLo()
testIsUserDirectMemberTrueMixedCase
public void testIsUserDirectMemberTrueMixedCase()
testIsUserDirectMemberTrue
public void testIsUserDirectMemberTrue()
testIsUserDirectMemberFalse
public void testIsUserDirectMemberFalse()
testIsGroupDirectMemberTrue
public void testIsGroupDirectMemberTrue()
testIsGroupDirectMemberFalse
public void testIsGroupDirectMemberFalse()
testAddUserToGroup
public void testAddUserToGroup()
throws Exception
- Throws:
Exception
testAddUserToGroupWhereMembershipExists
public void testAddUserToGroupWhereMembershipExists()
throws Exception
- Throws:
Exception
testAddUserToGroupWhereGroupDoesNotExist
public void testAddUserToGroupWhereGroupDoesNotExist()
throws Exception
- Throws:
Exception
testAddUserToGroupWhereUserDoesNotExist
public void testAddUserToGroupWhereUserDoesNotExist()
throws Exception
- Throws:
Exception
testAddUserToGroupWhereUserDoesNotExistPreservesCase
public void testAddUserToGroupWhereUserDoesNotExistPreservesCase()
throws Exception
- Throws:
Exception
testAddAllUsersToGroup
public void testAddAllUsersToGroup()
throws Exception
- Throws:
Exception
testAddAllUsersToGroupIsCaseInsensitive
public void testAddAllUsersToGroupIsCaseInsensitive()
throws Exception
- Throws:
Exception
testAddAllUsersToGroupWhenGroupDoesNotExist
public void testAddAllUsersToGroupWhenGroupDoesNotExist()
throws Exception
- Throws:
Exception
testAddAllUsersToGroupWhenSomeUsersDoNotExist
public void testAddAllUsersToGroupWhenSomeUsersDoNotExist()
throws Exception
- Throws:
Exception
testAddAllUsersToGroupWhenSomeMembershipsAlreadyExist
public void testAddAllUsersToGroupWhenSomeMembershipsAlreadyExist()
throws Exception
- Throws:
Exception
testAddAllUsersToGroupWhenMembershipAlreadyExistIsCaseInsensitive
public void testAddAllUsersToGroupWhenMembershipAlreadyExistIsCaseInsensitive()
throws Exception
- Throws:
Exception
testAddGroupToGroup
public void testAddGroupToGroup()
throws Exception
- Throws:
Exception
testAddGroupToGroupWhereMembershipExists
public void testAddGroupToGroupWhereMembershipExists()
throws Exception
- Throws:
Exception
testAddGroupToGroupWhereChildGroupDoesNotExist
public void testAddGroupToGroupWhereChildGroupDoesNotExist()
throws Exception
- Throws:
Exception
testAddGroupToGroupWhereParentGroupDoesNotExist
public void testAddGroupToGroupWhereParentGroupDoesNotExist()
throws Exception
- Throws:
Exception
testRemoveUserFromGroup
public void testRemoveUserFromGroup()
throws Exception
- Throws:
Exception
testRemoveUserFromGroupWhereGroupDoesNotExist
public void testRemoveUserFromGroupWhereGroupDoesNotExist()
throws Exception
- Throws:
Exception
testRemoveUserFromGroupWhereUserDoesNotExist
public void testRemoveUserFromGroupWhereUserDoesNotExist()
throws Exception
- Throws:
Exception
testRemoveGroupFromGroup
public void testRemoveGroupFromGroup()
throws Exception
- Throws:
Exception
testRemoveGroupFromGroupWhereParentGroupDoesNotExist
public void testRemoveGroupFromGroupWhereParentGroupDoesNotExist()
throws Exception
- Throws:
Exception
testRemoveGroupFromGroupWhereChildGroupDoesNotExist
public void testRemoveGroupFromGroupWhereChildGroupDoesNotExist()
throws Exception
- Throws:
Exception
Copyright © 2014 Atlassian. All Rights Reserved.