|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.user.impl.cache.properties.TestCachingPropertySetFactory
public class TestCachingPropertySetFactory
Test the CachingPropertySetFactory. Initially must test that changes to the property sets are written to the cache, rather than being assumed to be updated in the cache by using the same object.
| Constructor Summary | |
|---|---|
TestCachingPropertySetFactory()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testPropertyModificationsAreVisibleInCache()
|
void |
testPropertySetIsRecachedOnWrite()
|
void |
testUnderlyingPropertySetIsNotRetrievedOnSecondRead()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestCachingPropertySetFactory()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
protected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseException
public void testPropertyModificationsAreVisibleInCache()
throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testPropertySetIsRecachedOnWrite()
throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
public void testUnderlyingPropertySetIsNotRetrievedOnSecondRead()
throws com.atlassian.user.EntityException
com.atlassian.user.EntityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||