com.atlassian.crowd.acceptance.tests.persistence.directory
Class InternalDirectoryIntegrationTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.persistence.directory.InternalDirectoryIntegrationTest
@ContextConfiguration(locations={"classpath:/applicationContext-config.xml","classpath:/applicationContext-CrowdDAO.xml","classpath:/applicationContext-CrowdUtils.xml"})
@TestExecutionListeners(value={org.springframework.test.context.transaction.TransactionalTestExecutionListener.class,org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class})
@Transactional
public class InternalDirectoryIntegrationTest- extends Object
Tests up to JDBC layer.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InternalDirectoryIntegrationTest
public InternalDirectoryIntegrationTest()
loadTestData
@BeforeTransaction
public void loadTestData()
throws Exception
- Throws:
Exception
fixHiLo
public void fixHiLo()
onSetUp
public void onSetUp()
throws Exception
- Throws:
Exception
getInternalDirectory
public InternalDirectory getInternalDirectory()
throws Exception
- Throws:
Exception
testAddUser
public void testAddUser()
throws Exception
- Throws:
Exception
testAddUser_displayNameCalculated
public void testAddUser_displayNameCalculated()
throws Exception
- Throws:
Exception
testAddUser_firstNameLastNameCalculated
public void testAddUser_firstNameLastNameCalculated()
throws Exception
- Throws:
Exception
testAddUser_AllCalculated
public void testAddUser_AllCalculated()
throws Exception
- Throws:
Exception
testUpdateUser_ShouldPreserveExternalId
public void testUpdateUser_ShouldPreserveExternalId()
throws Exception
- Throws:
Exception
testUpdateUser_ShouldFailOnAttemptToChangeExternalId
public void testUpdateUser_ShouldFailOnAttemptToChangeExternalId()
throws Exception
- Throws:
Exception
testUpdateUser_DisplayNameCalculated
public void testUpdateUser_DisplayNameCalculated()
throws Exception
- Throws:
Exception
testUpdateUser_firstNameLastNameCalculated
public void testUpdateUser_firstNameLastNameCalculated()
throws Exception
- Throws:
Exception
testUpdateUser_AllCalculated
public void testUpdateUser_AllCalculated()
throws Exception
- Throws:
Exception
testUpdateCredentialMaintainsCrendentialHistory
public void testUpdateCredentialMaintainsCrendentialHistory()
throws Exception
- Throws:
Exception
testAddGroup
public void testAddGroup()
throws Exception
- Throws:
Exception
testAddGroupInvalidDirectoryId
public void testAddGroupInvalidDirectoryId()
throws Exception
- Throws:
Exception
testUpdateGroup
public void testUpdateGroup()
throws Exception
- Throws:
Exception
testRemoveGroup
public void testRemoveGroup()
throws Exception
- Throws:
Exception
testRemoveUser
public void testRemoveUser()
throws Exception
- Throws:
Exception
testAddRemoveGroupToGroup
public void testAddRemoveGroupToGroup()
throws Exception
- Throws:
Exception
testRemoveGroupFromGroupNotMember
public void testRemoveGroupFromGroupNotMember()
throws Exception
- Throws:
Exception
testAddUserToGroup
public void testAddUserToGroup()
throws Exception
- Throws:
Exception
testRemoveUserFromGroup
public void testRemoveUserFromGroup()
throws Exception
- Throws:
Exception
testAddAllUsers
public void testAddAllUsers()
throws Exception
- Throws:
Exception
testAddAllUsers_displayNameCalculated
public void testAddAllUsers_displayNameCalculated()
throws Exception
- Throws:
Exception
testAddAllUsers_firstNameLastNameCalculated
public void testAddAllUsers_firstNameLastNameCalculated()
throws Exception
- Throws:
Exception
testAddAllUsers_AllCalculated
public void testAddAllUsers_AllCalculated()
throws Exception
- Throws:
Exception
testAddAllUsersToGroup
public void testAddAllUsersToGroup()
throws Exception
- Throws:
Exception
testAddAllGroups
public void testAddAllGroups()
throws Exception
- Throws:
Exception
setDirectoryDao
public void setDirectoryDao(com.atlassian.crowd.embedded.spi.DirectoryDao directoryDao)
setDirectoryInstanceLoader
public void setDirectoryInstanceLoader(DirectoryInstanceLoader directoryInstanceLoader)
setDataSource
public void setDataSource(DataSource dataSource)
setResetableHiLoGeneratorHelper
public void setResetableHiLoGeneratorHelper(com.atlassian.hibernate.extras.ResetableHiLoGeneratorHelper resetableHiLoGeneratorHelper)
Copyright © 2014 Atlassian. All Rights Reserved.