com.atlassian.crowd.acceptance.tests.persistence.dao.group
Class GroupDaoCRUDTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.persistence.dao.group.GroupDaoCRUDTest
@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 GroupDaoCRUDTest- extends Object
Integration tests for the CRUD operations of GroupDao. For convenience, the tests
of this interface have been split into multiple test classes.
- See Also:
GroupDaoSearchTest,
GroupDAOHibernateTest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupDaoCRUDTest
public GroupDaoCRUDTest()
loadTestData
@BeforeTransaction
public void loadTestData()
throws Exception
- Throws:
Exception
fixHiLo
public void fixHiLo()
testFindByName
public void testFindByName()
throws Exception
- Throws:
Exception
testFindByNameMixedCase
public void testFindByNameMixedCase()
throws Exception
- Throws:
Exception
testFindByNameDoesNotExist
public void testFindByNameDoesNotExist()
throws Exception
- Throws:
Exception
testFindByNameWithAttributes
public void testFindByNameWithAttributes()
throws Exception
- Throws:
Exception
testFindByMixedCaseNameWithAttributes
public void testFindByMixedCaseNameWithAttributes()
throws Exception
- Throws:
Exception
testFindByNameWithAttributesWhenGroupsDoesNotExist
public void testFindByNameWithAttributesWhenGroupsDoesNotExist()
throws Exception
- Throws:
Exception
testAdd
public void testAdd()
throws Exception
- Throws:
Exception
testAddWhenGroupAlreadyExists
public void testAddWhenGroupAlreadyExists()
throws Exception
- Throws:
Exception
testAddWhenGroupAlreadyExistsWithMixedCase
public void testAddWhenGroupAlreadyExistsWithMixedCase()
throws Exception
- Throws:
Exception
testAddLocal
public void testAddLocal()
throws Exception
- Throws:
Exception
testAddLocalWhenGroupAlreadyExists
public void testAddLocalWhenGroupAlreadyExists()
throws Exception
- Throws:
Exception
testAddLocalWhenGroupAlreadyExistsWithMixedCase
public void testAddLocalWhenGroupAlreadyExistsWithMixedCase()
throws Exception
- Throws:
Exception
testUpdate
public void testUpdate()
throws Exception
- Throws:
Exception
testUpdateTypeChangeFail
public void testUpdateTypeChangeFail()
throws Exception
- Throws:
Exception
testUpdateWhenGroupDoesNotExist
public void testUpdateWhenGroupDoesNotExist()
throws Exception
- Throws:
Exception
testRename
public void testRename()
throws Exception
- Throws:
Exception
testRenameWhenGroupDoesNotExist
public void testRenameWhenGroupDoesNotExist()
throws Exception
- Throws:
Exception
testRenameWhenThereIsANameClash
public void testRenameWhenThereIsANameClash()
throws Exception
- Throws:
Exception
testRemove
public void testRemove()
throws Exception
- Throws:
Exception
testRemoveWhenGroupDoesNotExist
public void testRemoveWhenGroupDoesNotExist()
throws Exception
- Throws:
Exception
testStoreAttributesWithUpdateAndInsertForExistingGroup
public void testStoreAttributesWithUpdateAndInsertForExistingGroup()
throws Exception
- Throws:
Exception
testStoreAttributesWhenGroupDoesNotExist
public void testStoreAttributesWhenGroupDoesNotExist()
throws Exception
- Throws:
Exception
testRemoveAttribute
public void testRemoveAttribute()
throws Exception
- Throws:
Exception
testRemoveAttributeWhenGroupDoesNotExist
public void testRemoveAttributeWhenGroupDoesNotExist()
throws Exception
- Throws:
Exception
testRemoteAttributeWhenAttributeDoesNotExist
public void testRemoteAttributeWhenAttributeDoesNotExist()
throws Exception
- Throws:
Exception
testAddAll
public void testAddAll()
throws Exception
- Throws:
Exception
testAddAllWithErrorsAndDuplicates
public void testAddAllWithErrorsAndDuplicates()
throws Exception
- Throws:
Exception
Copyright © 2014 Atlassian. All Rights Reserved.