com.atlassian.cache
Class AbstractLazyReferenceTest
java.lang.Object
com.atlassian.cache.AbstractCacheTest
com.atlassian.cache.AbstractLazyReferenceTest
public abstract class AbstractLazyReferenceTest
- extends AbstractCacheTest
Test the Lazy Reference
- Since:
- 2.0
| Methods inherited from class com.atlassian.cache.AbstractCacheTest |
assertEmpty, assertSize, makeCacheUsingLoader, makeExceptionalCache, makeExpiringCache, makeNullReturningCache, makeSimpleCache, makeSizeLimitedCache, makeSizeLimitedCache, makeUnexpiringCache, testRemoveFromCacheWhileLoadingCacheValueReturnsLatestValue, testRemoveSpecificValueFromCacheWhileLoadingCacheValueReturnsLatestValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLazyReferenceTest
public AbstractLazyReferenceTest()
testGetName
public void testGetName()
throws Exception
- Throws:
Exception
testFactoryGeneratedName
public void testFactoryGeneratedName()
throws Exception
- Throws:
Exception
testGet
public void testGet()
throws Exception
- Throws:
Exception
testReset
public void testReset()
throws Exception
- Throws:
Exception
testRemoveTwice
public void testRemoveTwice()
throws Exception
- Throws:
Exception
testClear
public void testClear()
throws Exception
- Throws:
Exception
testNullHandling
public void testNullHandling()
throws Exception
- Throws:
Exception
testExceptionHandling
public void testExceptionHandling()
throws Exception
- Throws:
Exception
testNewInstanceForEveryGet
public void testNewInstanceForEveryGet()
makeReference
protected CachedReference<Long> makeReference()
settingsBuilder
protected CacheSettingsBuilder settingsBuilder()
- Overrides:
settingsBuilder in class AbstractCacheTest
Copyright © 2015 Atlassian. All rights reserved.