com.atlassian.crowd.acceptance.tests.persistence.dao.group
Class GroupDaoSearchTest

java.lang.Object
  extended by com.atlassian.crowd.acceptance.tests.persistence.dao.group.GroupDaoSearchTest

@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 GroupDaoSearchTest
extends Object

Integration tests for the search operations of GroupDao. For convenience, the tests of this interface have been split into multiple test classes.

See Also:
GroupDaoCRUDTest, GroupDAOHibernateTest

Constructor Summary
GroupDaoSearchTest()
           
 
Method Summary
 void fixHiLo()
           
 void loadTestData()
           
 void testSearchAllGroupNames()
           
 void testSearchByDescription()
           
 void testSearchByDescriptionWithNoMatches()
           
 void testSearchByMixedName()
           
 void testSearchCountryExact()
           
 void testSearchCountryNoResults()
           
 void testSearchFirstClassConjunction()
           
 void testSearchFirstClassDisjunction()
           
 void testSearchForActiveGroupsUsingBuilder()
           
 void testSearchForInactiveGroupsUsingBuilder()
           
 void testSearchGroupNameStartsWith()
           
 void testSearchGroupsWithLocalTermDoesNotFail()
           
 void testSearchGroupsWithLocalTermReturnsExpectedResults()
           
 void testSearchGroupTypeGroup()
           
 void testSearchGroupTypeRole()
           
 void testSearchMixedClassConjunction()
           
 void testSearchMixedClassDisjunction()
           
 void testSearchNested()
           
 void testSearchNullAttribute()
           
 void testSearchSecondClassConjunction()
           
 void testSearchSecondClassDisjunction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupDaoSearchTest

public GroupDaoSearchTest()
Method Detail

loadTestData

@BeforeTransaction
public void loadTestData()
                  throws Exception
Throws:
Exception

fixHiLo

public void fixHiLo()

testSearchAllGroupNames

public void testSearchAllGroupNames()

testSearchGroupNameStartsWith

public void testSearchGroupNameStartsWith()

testSearchGroupTypeRole

public void testSearchGroupTypeRole()

testSearchGroupTypeGroup

public void testSearchGroupTypeGroup()

testSearchForActiveGroupsUsingBuilder

public void testSearchForActiveGroupsUsingBuilder()

testSearchForInactiveGroupsUsingBuilder

public void testSearchForInactiveGroupsUsingBuilder()

testSearchCountryExact

public void testSearchCountryExact()

testSearchCountryNoResults

public void testSearchCountryNoResults()

testSearchNullAttribute

public void testSearchNullAttribute()

testSearchFirstClassDisjunction

public void testSearchFirstClassDisjunction()

testSearchFirstClassConjunction

public void testSearchFirstClassConjunction()

testSearchSecondClassDisjunction

public void testSearchSecondClassDisjunction()

testSearchSecondClassConjunction

public void testSearchSecondClassConjunction()

testSearchMixedClassDisjunction

public void testSearchMixedClassDisjunction()

testSearchMixedClassConjunction

public void testSearchMixedClassConjunction()

testSearchByDescription

public void testSearchByDescription()

testSearchByDescriptionWithNoMatches

public void testSearchByDescriptionWithNoMatches()

testSearchNested

public void testSearchNested()

testSearchByMixedName

public void testSearchByMixedName()

testSearchGroupsWithLocalTermDoesNotFail

public void testSearchGroupsWithLocalTermDoesNotFail()

testSearchGroupsWithLocalTermReturnsExpectedResults

public void testSearchGroupsWithLocalTermReturnsExpectedResults()
                                                         throws Exception
Throws:
Exception


Copyright © 2013 Atlassian. All Rights Reserved.