com.atlassian.crowd.acceptance.tests.persistence.dao.token
Class TokenDAOMemoryTest

java.lang.Object
  extended by com.atlassian.crowd.acceptance.tests.persistence.dao.token.TokenDAOTester
      extended by 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


Field Summary
 
Fields inherited from class com.atlassian.crowd.acceptance.tests.persistence.dao.token.TokenDAOTester
DIRECTORY_ID, expectedException, RANDOM_NUMBER, TOKEN_ID, TOKEN_KEY, TOKEN1_ID_HASH, TOKEN2_ID_HASH, TOKEN3_ID_HASH
 
Constructor Summary
TokenDAOMemoryTest()
           
 
Method Summary
 void clearCache()
           
 void createObjectUnderTest()
           
static Iterable<Token> getTestTokens()
           
protected  com.atlassian.crowd.dao.token.TokenDAO getTokenDAO()
           
 
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
 

Constructor Detail

TokenDAOMemoryTest

public TokenDAOMemoryTest()
Method Detail

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.