@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
DIRECTORY_ID, expectedException, RANDOM_NUMBER, TOKEN_ID, TOKEN_KEY, TOKEN1_ID_HASH, TOKEN2_ID_HASH, TOKEN3_ID_HASH
Constructor and Description |
---|
TokenDAOHibernateTest() |
Modifier and Type | Method and Description |
---|---|
void |
fixHiLo() |
protected TokenDAO |
getTokenDAO() |
void |
loadTestData() |
void |
testCallingTokenRemovalTwiceDoesNotThrowAnException() |
void |
testFindByID() |
void |
testTokenRemovalWhereTokenDoesNotExist() |
testAdd, testAddWithDuplicateIdentifierHash, testFindByIdentifierHash, testFindByKey, testLoadAll, testRemove, testRemoveAll, testRemoveAllByDirectory, testRemoveAllExpiredTokens, testRemoveByName, testRemoveExpiredTokensWithSpecificDurationGreaterThanSessionMaxLife, testRemoveExpiredTokensWithSpecificDurationLessThanSessionMaxLife, testSaveAllWithNoTokens, testSaveAllWithTestTokens, testSearch, testSearchByLastAccessedTime, testSearchForApplicationTokens, testSearchForPrincipalTokenByName, testSearchForPrincipalTokensByDirectoryId, testSearchForSecretNumberWhereSecretNumberIsEmpty, testSearchForTokenBySecretNumber, testSearchWithIndexConstraints, testSearchWithIndexConstraintsSkippingTheFirstResult, testUpdate
public void fixHiLo()
public void testTokenRemovalWhereTokenDoesNotExist() throws Exception
Exception
public void testCallingTokenRemovalTwiceDoesNotThrowAnException() throws Exception
Exception
protected TokenDAO getTokenDAO()
getTokenDAO
in class TokenDAOTester
Copyright © 2016 Atlassian. All rights reserved.