com.atlassian.crowd.acceptance.tests.persistence.dao.alias
Class AliasDAOHibernateTest

java.lang.Object
  extended by com.atlassian.crowd.acceptance.tests.persistence.dao.alias.AliasDAOHibernateTest

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


Constructor Summary
AliasDAOHibernateTest()
           
 
Method Summary
 void createApplications()
           
 void fixHiLo()
           
 void loadTestData()
           
 void testFindAliasByUsername()
           
 void testFindAliasByUsernameNotFound()
           
 void testFindAll()
           
 void testFindUsernameByAlias()
           
 void testFindUsernameByAliasNotFound()
           
 void testRemoveAlias()
           
 void testRemoveAliases()
           
 void testRemoveAliasSilentlySucceed()
           
 void testSearchByNameContainingAndApplication()
           
 void testSearchByNameContainingWithMixedCase()
           
 void testStoreAliasInvalid()
           
 void testStoreAliasNew()
           
 void testStoreAliasUpdate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AliasDAOHibernateTest

public AliasDAOHibernateTest()
Method Detail

loadTestData

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

fixHiLo

public void fixHiLo()

createApplications

public void createApplications()

testFindAliasByUsername

public void testFindAliasByUsername()

testFindAliasByUsernameNotFound

public void testFindAliasByUsernameNotFound()

testFindUsernameByAlias

public void testFindUsernameByAlias()

testFindUsernameByAliasNotFound

public void testFindUsernameByAliasNotFound()

testStoreAliasNew

public void testStoreAliasNew()

testStoreAliasUpdate

public void testStoreAliasUpdate()

testStoreAliasInvalid

public void testStoreAliasInvalid()

testRemoveAlias

public void testRemoveAlias()

testRemoveAliasSilentlySucceed

public void testRemoveAliasSilentlySucceed()

testRemoveAliases

public void testRemoveAliases()

testFindAll

public void testFindAll()

testSearchByNameContainingWithMixedCase

public void testSearchByNameContainingWithMixedCase()

testSearchByNameContainingAndApplication

public void testSearchByNameContainingAndApplication()


Copyright © 2014 Atlassian. All Rights Reserved.