@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, testUpdatepublic void fixHiLo()
public void testTokenRemovalWhereTokenDoesNotExist()
throws Exception
Exceptionpublic void testCallingTokenRemovalTwiceDoesNotThrowAnException()
throws Exception
Exceptionprotected TokenDAO getTokenDAO()
getTokenDAO in class TokenDAOTesterCopyright © 2019 Atlassian. All rights reserved.