com.atlassian.crowd.acceptance.tests.persistence.dao.user
Class UserDaoSearchTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.persistence.dao.user.UserDaoSearchTest
@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 UserDaoSearchTest
- extends Object
Integration tests for the search() method of UserDao
. For convenience, the tests
of this interface have been split into multiple test classes.
- See Also:
UserDaoCRUDTest
,
UserDAOHibernateTest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserDaoSearchTest
public UserDaoSearchTest()
loadTestData
@BeforeTransaction
public void loadTestData()
throws Exception
- Throws:
Exception
testSearchAllUserNames
public void testSearchAllUserNames()
testSearchUsernameStartsWith
public void testSearchUsernameStartsWith()
throws Exception
- Throws:
Exception
testSearchEmailContains
public void testSearchEmailContains()
throws Exception
- Throws:
Exception
testSearchFirstNameExact
public void testSearchFirstNameExact()
throws Exception
- Throws:
Exception
testSearchLastNameStartsWith
public void testSearchLastNameStartsWith()
throws Exception
- Throws:
Exception
testSearchLastNameStartsWithUsingBuilder
public void testSearchLastNameStartsWithUsingBuilder()
throws Exception
- Throws:
Exception
testSearchForActiveUsersUsingBuilder
public void testSearchForActiveUsersUsingBuilder()
throws Exception
- Throws:
Exception
testSearchForInactiveUsersUsingBuilder
public void testSearchForInactiveUsersUsingBuilder()
throws Exception
- Throws:
Exception
testSearchDisplayNameContains
public void testSearchDisplayNameContains()
throws Exception
- Throws:
Exception
testSearchColorExact
public void testSearchColorExact()
throws Exception
- Throws:
Exception
testSearchColorNoResults
public void testSearchColorNoResults()
throws Exception
- Throws:
Exception
testSearchNullCustomAttribute
public void testSearchNullCustomAttribute()
testSearchPrimaryAttributeAndNullCustomAttribute
public void testSearchPrimaryAttributeAndNullCustomAttribute()
testSearchMultipleNullValues
public void testSearchMultipleNullValues()
testSearchFirstClassDisjunction
public void testSearchFirstClassDisjunction()
throws Exception
- Throws:
Exception
testSearchFirstClassConjunction
public void testSearchFirstClassConjunction()
throws Exception
- Throws:
Exception
testSearchSecondClassDisjuction
public void testSearchSecondClassDisjuction()
throws Exception
- Throws:
Exception
testSearchSecondClassConjunction
public void testSearchSecondClassConjunction()
throws Exception
- Throws:
Exception
testSearchMixedClassDisjunction
public void testSearchMixedClassDisjunction()
throws Exception
- Throws:
Exception
testSearchMixedClassConjunction
public void testSearchMixedClassConjunction()
throws Exception
- Throws:
Exception
testSearchNested
public void testSearchNested()
testSearchNestedCustomNullAttributes
public void testSearchNestedCustomNullAttributes()
testSearchMixedCaseUsername
public void testSearchMixedCaseUsername()
testSearchMixedCaseUsernameAttributeMatch
public void testSearchMixedCaseUsernameAttributeMatch()
Copyright © 2013 Atlassian. All Rights Reserved.