com.atlassian.crowd.acceptance.tests.persistence.dao.token
Class TokenDAOMemoryTest
java.lang.Object
com.atlassian.crowd.acceptance.tests.persistence.dao.token.TokenDAOTester
com.atlassian.crowd.acceptance.tests.persistence.dao.token.TokenDAOMemoryTest
@ContextConfiguration(locations={"classpath:/applicationContext-config.xml","classpath:/applicationContext-CrowdDAO.xml","classpath:/applicationContext-CrowdEncryption.xml"})
@TestExecutionListeners(value=org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class)
public class TokenDAOMemoryTest- 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 |
TokenDAOMemoryTest
public TokenDAOMemoryTest()
getTestTokens
public static Iterable<Token> getTestTokens()
throws ParseException
- Throws:
ParseException
createObjectUnderTest
public void createObjectUnderTest()
throws Exception
- Throws:
Exception
clearCache
public void clearCache()
throws Exception
- Throws:
Exception
getTokenDAO
protected com.atlassian.crowd.dao.token.TokenDAO getTokenDAO()
- Specified by:
getTokenDAO in class TokenDAOTester
Copyright © 2014 Atlassian. All Rights Reserved.