com.atlassian.cache
Class AbstractCacheLazyTest

java.lang.Object
  extended by com.atlassian.cache.AbstractCacheTest
      extended by com.atlassian.cache.AbstractCacheLazyTest

public abstract class AbstractCacheLazyTest
extends AbstractCacheTest

Test the Lazy Cache

Since:
2.0

Field Summary
 
Fields inherited from class com.atlassian.cache.AbstractCacheTest
factory
 
Constructor Summary
AbstractCacheLazyTest()
           
 
Method Summary
 void testClear()
           
 void testConstructExpiringCache()
           
 void testExceptionHandling()
           
 void testFactoryGeneratedName()
           
 void testGet()
           
 void testGetKeys()
           
 void testGetName()
           
 void testMaxEntries()
           
 void testNewInstanceForEveryGet()
           
 void testNullKey()
           
 void testNullValue()
           
 void testPut()
           
 void testRemove()
           
 void testRemoveAll()
           
 void testRemoveTwice()
           
 
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
 

Constructor Detail

AbstractCacheLazyTest

public AbstractCacheLazyTest()
Method Detail

testGetName

public void testGetName()
                 throws Exception
Throws:
Exception

testFactoryGeneratedName

public void testFactoryGeneratedName()
                              throws Exception
Throws:
Exception

testGetKeys

public void testGetKeys()
                 throws Exception
Throws:
Exception

testConstructExpiringCache

public void testConstructExpiringCache()
                                throws Exception
Throws:
Exception

testPut

public void testPut()
             throws Exception
Throws:
Exception

testGet

public void testGet()
             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

testNullKey

public void testNullKey()
                 throws Exception
Throws:
Exception

testNullValue

public void testNullValue()
                   throws Exception
Throws:
Exception

testMaxEntries

public void testMaxEntries()
                    throws Exception
Throws:
Exception

testExceptionHandling

public void testExceptionHandling()
                           throws Exception
Throws:
Exception

testNewInstanceForEveryGet

public void testNewInstanceForEveryGet()


Copyright © 2015 Atlassian. All rights reserved.