com.atlassian.cache.ehcache
Class EhCacheHelperTest

java.lang.Object
  extended by com.atlassian.cache.ehcache.EhCacheHelperTest

public class EhCacheHelperTest
extends Object

Unit test of EhCacheHelper.

Since:
2.0

Constructor Summary
EhCacheHelperTest()
           
 
Method Summary
 void cacheCreatedWithAllParametersShouldHaveSpecifiedExpireAfterAccess()
           
 void cacheCreatedWithAllParametersShouldHaveSpecifiedExpireAfterWrite()
           
 void cacheCreatedWithAllParametersShouldHaveSpecifiedMaxEntries()
           
 void cacheCreatedWithAllParametersShouldHaveSpecifiedName()
           
 void cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenLocalAndRmiNotSetUp()
           
 void cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenLocalAndRmiSetUp()
           
 void cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenNotLocalAndRmiNotSetUp()
           
 void cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenNotLocalAndRmiSetUp()
           
 void cacheShouldBeEternalIfNoExpiryIsSetAndDefaultIsTrue()
           
 void cacheShouldDefaultToEHCacheDefaultValues()
           
 void cacheShouldNotBeEternalIfExpireAfterAccessAndExpireAfterWriteAreSet()
           
 void cacheShouldNotBeEternalIfExpireAfterAccessIsSet()
           
 void cacheShouldNotBeEternalIfExpireAfterWriteIsSet()
           
 void cacheShouldNotBeEternalIfNoExpiryIsSetAndDefaultIsFalse()
           
 void selfLoadingCacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenNotLocalAndRmiSetUp()
           
 void setUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhCacheHelperTest

public EhCacheHelperTest()
Method Detail

setUp

public void setUp()

cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenLocalAndRmiSetUp

public void cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenLocalAndRmiSetUp()

cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenLocalAndRmiNotSetUp

public void cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenLocalAndRmiNotSetUp()

cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenNotLocalAndRmiSetUp

public void cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenNotLocalAndRmiSetUp()

selfLoadingCacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenNotLocalAndRmiSetUp

public void selfLoadingCacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenNotLocalAndRmiSetUp()

cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenNotLocalAndRmiNotSetUp

public void cacheCreatedWithLimitedParametersShouldHaveExpectedValuesWhenNotLocalAndRmiNotSetUp()

cacheCreatedWithAllParametersShouldHaveSpecifiedName

public void cacheCreatedWithAllParametersShouldHaveSpecifiedName()

cacheCreatedWithAllParametersShouldHaveSpecifiedMaxEntries

public void cacheCreatedWithAllParametersShouldHaveSpecifiedMaxEntries()

cacheCreatedWithAllParametersShouldHaveSpecifiedExpireAfterAccess

public void cacheCreatedWithAllParametersShouldHaveSpecifiedExpireAfterAccess()

cacheCreatedWithAllParametersShouldHaveSpecifiedExpireAfterWrite

public void cacheCreatedWithAllParametersShouldHaveSpecifiedExpireAfterWrite()

cacheShouldDefaultToEHCacheDefaultValues

public void cacheShouldDefaultToEHCacheDefaultValues()

cacheShouldBeEternalIfNoExpiryIsSetAndDefaultIsTrue

public void cacheShouldBeEternalIfNoExpiryIsSetAndDefaultIsTrue()

cacheShouldNotBeEternalIfNoExpiryIsSetAndDefaultIsFalse

public void cacheShouldNotBeEternalIfNoExpiryIsSetAndDefaultIsFalse()

cacheShouldNotBeEternalIfExpireAfterAccessIsSet

public void cacheShouldNotBeEternalIfExpireAfterAccessIsSet()

cacheShouldNotBeEternalIfExpireAfterWriteIsSet

public void cacheShouldNotBeEternalIfExpireAfterWriteIsSet()

cacheShouldNotBeEternalIfExpireAfterAccessAndExpireAfterWriteAreSet

public void cacheShouldNotBeEternalIfExpireAfterAccessAndExpireAfterWriteAreSet()


Copyright © 2015 Atlassian. All rights reserved.