com.atlassian.crowd.acceptance.tests.persistence.manager.application
Class ApplicationServiceIntegrationTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.persistence.manager.application.ApplicationServiceIntegrationTest
@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 ApplicationServiceIntegrationTest- extends Object
Integration tests for ApplicationService with Hibernate.
Originally these tests were setup to test that "having two internal directories should persist the mutation calls to both directories".
Now the amalgamation specs have changed and this test will be used to prove integration with hibernate, and the modern almagation expectations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationServiceIntegrationTest
public ApplicationServiceIntegrationTest()
loadTestData
@BeforeTransaction
public void loadTestData()
throws Exception
- Throws:
Exception
testAddPrincipalOverMultipleInternalDirectories
public void testAddPrincipalOverMultipleInternalDirectories()
throws Exception
- Throws:
Exception
testUpdatePrincipalOverMultipleInternalDirectories
public void testUpdatePrincipalOverMultipleInternalDirectories()
throws Exception
- Throws:
Exception
renamePrincipalOverMultipleInternalDirectoriesShouldOnlyRenameOneUser
public void renamePrincipalOverMultipleInternalDirectoriesShouldOnlyRenameOneUser()
throws Exception
- Throws:
Exception
testAddPrincipalAttributeOverMultipleInternalDirectories
public void testAddPrincipalAttributeOverMultipleInternalDirectories()
throws Exception
- Throws:
Exception
testAddGroupOverMultipleInternalDirectories
public void testAddGroupOverMultipleInternalDirectories()
throws Exception
- Throws:
Exception
testStoreAndRemoveUserAttributes
public void testStoreAndRemoveUserAttributes()
throws Exception
- Throws:
Exception
testStoreAndRemoveGroupAttributes
public void testStoreAndRemoveGroupAttributes()
throws Exception
- Throws:
Exception
setApplicationService
public void setApplicationService(ApplicationService applicationService)
setApplicationManager
public void setApplicationManager(ApplicationManager applicationManager)
setDirectoryManager
public void setDirectoryManager(DirectoryManager directoryManager)
setDataSource
public void setDataSource(DataSource dataSource)
Copyright © 2014 Atlassian. All Rights Reserved.