|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.springframework.test.ConditionalTestCase org.springframework.test.AbstractSpringContextTests org.springframework.test.AbstractSingleSpringContextTests org.springframework.test.AbstractDependencyInjectionSpringContextTests com.atlassian.crowd.acceptance.tests.persistence.manager.token.TokenManagerImplTest
public class TokenManagerImplTest
Field Summary |
---|
Fields inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests |
---|
AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO |
Fields inherited from class org.springframework.test.AbstractSingleSpringContextTests |
---|
applicationContext |
Fields inherited from class org.springframework.test.ConditionalTestCase |
---|
logger |
Constructor Summary | |
---|---|
TokenManagerImplTest()
|
Method Summary | |
---|---|
protected void |
customizeBeanFactory(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory)
|
protected java.lang.String[] |
getConfigLocations()
|
protected void |
onSetUp()
|
protected void |
onTearDown()
|
void |
testAdd()
|
void |
testInvalidSwitch()
|
void |
testSwitch()
|
void |
testSwitchAfterAdd()
|
void |
testSwitchToHibernateVolumeTest()
Makes sure that we can complete test in a 'reasonable' amount of time. |
void |
testSwitchToMemoryVolumeTest()
Makes sure that we can complete test in a 'reasonable' amount of time. |
Methods inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests |
---|
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables |
Methods inherited from class org.springframework.test.AbstractSingleSpringContextTests |
---|
contextKey, createApplicationContext, createBeanDefinitionReader, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDown |
Methods inherited from class org.springframework.test.AbstractSpringContextTests |
---|
addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty |
Methods inherited from class org.springframework.test.ConditionalTestCase |
---|
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBare |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TokenManagerImplTest()
Method Detail |
---|
protected java.lang.String[] getConfigLocations()
getConfigLocations
in class org.springframework.test.AbstractSingleSpringContextTests
protected void customizeBeanFactory(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory)
customizeBeanFactory
in class org.springframework.test.AbstractSingleSpringContextTests
protected void onSetUp() throws java.lang.Exception
onSetUp
in class org.springframework.test.AbstractSingleSpringContextTests
java.lang.Exception
protected void onTearDown() throws java.lang.Exception
onTearDown
in class org.springframework.test.AbstractSingleSpringContextTests
java.lang.Exception
public void testAdd() throws InvalidTokenException
InvalidTokenException
public void testSwitch()
public void testInvalidSwitch()
public void testSwitchAfterAdd() throws InvalidTokenException
InvalidTokenException
public void testSwitchToMemoryVolumeTest() throws InvalidTokenException
InvalidTokenException
public void testSwitchToHibernateVolumeTest() throws InvalidTokenException
InvalidTokenException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |