com.atlassian.crowd.acceptance.tests.persistence.dao.token
Class TokenDAOHibernateTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.persistence.dao.token.TokenDAOTester
com.atlassian.crowd.acceptance.tests.persistence.dao.token.TokenDAOHibernateTest
@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 TokenDAOHibernateTest
- extends TokenDAOTester
Methods inherited from class com.atlassian.crowd.acceptance.tests.persistence.dao.token.TokenDAOTester |
testAdd, testAddWithDuplicateIdentifierHash, testFindByIdentifierHash, testFindByKey, testLoadAll, testRemove, testRemoveAll, testRemoveAllByDirectory, testRemoveAllExpiredTokens, testRemoveByName, testRemoveExpiredTokensWithSpecificDurationGreaterThanSessionMaxLife, testRemoveExpiredTokensWithSpecificDurationLessThanSessionMaxLife, testSaveAllWithNoTokens, testSaveAllWithTestTokens, testSearch, testSearchByLastAccessedTime, testSearchForApplicationTokens, testSearchForPrincipalTokenByName, testSearchForPrincipalTokensByDirectoryId, testSearchForSecretNumberWhereSecretNumberIsEmpty, testSearchForTokenBySecretNumber, testSearchWithIndexConstraints, testSearchWithIndexConstraintsSkippingTheFirstResult, testUpdate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenDAOHibernateTest
public TokenDAOHibernateTest()
loadTestData
@BeforeTransaction
public void loadTestData()
throws Exception
- Throws:
Exception
fixHiLo
public void fixHiLo()
testFindByID
public void testFindByID()
throws Exception
- Throws:
Exception
testTokenRemovalWhereTokenDoesNotExist
public void testTokenRemovalWhereTokenDoesNotExist()
throws Exception
- Throws:
Exception
testCallingTokenRemovalTwiceDoesNotThrowAnException
public void testCallingTokenRemovalTwiceDoesNotThrowAnException()
throws Exception
- Throws:
Exception
getTokenDAO
protected TokenDAO getTokenDAO()
- Specified by:
getTokenDAO
in class TokenDAOTester
Copyright © 2013 Atlassian. All Rights Reserved.