com.atlassian.cache
Class AbstractCacheEagerTest
java.lang.Object
com.atlassian.cache.AbstractCacheTest
com.atlassian.cache.AbstractCacheEagerTest
public abstract class AbstractCacheEagerTest
- extends AbstractCacheTest
Test the Eager Cache
- Since:
- 2.0
| Methods inherited from class com.atlassian.cache.AbstractCacheTest |
assertEmpty, assertSize, makeCacheUsingLoader, makeExceptionalCache, makeExpiringCache, makeNullReturningCache, makeSimpleCache, makeSizeLimitedCache, makeSizeLimitedCache, makeUnexpiringCache, settingsBuilder, testRemoveFromCacheWhileLoadingCacheValueReturnsLatestValue, testRemoveSpecificValueFromCacheWhileLoadingCacheValueReturnsLatestValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCacheEagerTest
public AbstractCacheEagerTest()
testGetName
public void testGetName()
throws Exception
- Throws:
Exception
testFactoryGeneratedName
public void testFactoryGeneratedName()
throws Exception
- Throws:
Exception
testGetKeys
public void testGetKeys()
throws Exception
- Throws:
Exception
testPut
public void testPut()
throws Exception
- Throws:
Exception
testGet
public void testGet()
throws Exception
- Throws:
Exception
testGetWithSupplier
public void testGetWithSupplier()
throws Exception
- Throws:
Exception
testRemove
public void testRemove()
throws Exception
- Throws:
Exception
testRemoveTwice
public void testRemoveTwice()
throws Exception
- Throws:
Exception
testRemoveAll
public void testRemoveAll()
throws Exception
- Throws:
Exception
testClear
public void testClear()
throws Exception
- Throws:
Exception
conditionalPutPutsIfAbsent
public void conditionalPutPutsIfAbsent()
conditionalPutDoesNotPutIfPresent
public void conditionalPutDoesNotPutIfPresent()
replaceDoesNotReplaceIfAbsent
public void replaceDoesNotReplaceIfAbsent()
replaceReplacesWhenValueMatches
public void replaceReplacesWhenValueMatches()
replaceDoesNothingWhenValueDoesNotMatch
public void replaceDoesNothingWhenValueDoesNotMatch()
removeDoesNothingWhenNoKeyIsPresent
public void removeDoesNothingWhenNoKeyIsPresent()
removeRemovesWhenValueMatches
public void removeRemovesWhenValueMatches()
removeDoesNotRemoveWhenValueDoesNotMatch
public void removeDoesNotRemoveWhenValueDoesNotMatch()
testMaxEntries
public void testMaxEntries()
throws Exception
- Throws:
Exception
testBothExpireHintsSpecified
public void testBothExpireHintsSpecified()
Copyright © 2015 Atlassian. All rights reserved.