com.atlassian.cache
Class AbstractCacheEagerTest

java.lang.Object
  extended by com.atlassian.cache.AbstractCacheEagerTest

public abstract class AbstractCacheEagerTest
extends Object

Test the Eager Cache

Since:
2.0

Field Summary
protected  CacheFactory factory
           
 
Constructor Summary
AbstractCacheEagerTest()
           
 
Method Summary
 void conditionalPutDoesNotPutIfPresent()
           
 void conditionalPutPutsIfAbsent()
           
 void removeDoesNothingWhenNoKeyIsPresent()
           
 void removeDoesNotRemoveWhenValueDoesNotMatch()
           
 void removeRemovesWhenValueMatches()
           
 void replaceDoesNothingWhenValueDoesNotMatch()
           
 void replaceDoesNotReplaceIfAbsent()
           
 void replaceReplacesWhenValueMatches()
           
 void testBothExpireHintsSpecified()
           
 void testClear()
           
 void testFactoryGeneratedName()
           
 void testGet()
           
 void testGetKeys()
           
 void testGetName()
           
 void testMaxEntries()
           
 void testPut()
           
 void testRemove()
           
 void testRemoveAll()
           
 void testRemoveTwice()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected CacheFactory factory
Constructor Detail

AbstractCacheEagerTest

public AbstractCacheEagerTest()
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

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

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 © 2014 Atlassian. All Rights Reserved.