Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
35800100.00%48.31

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.wanghy.cache 600100.00%7.47
org.wanghy.cache.integration.ehcache 400100.00%3.80
org.wanghy.cache.integration.jcs 400100.00%4.13
org.wanghy.cache.integration.lru 400100.00%3.03
org.wanghy.cache.integration.oscache 400100.00%3.01
org.wanghy.cache.interceptor 1300100.00%1.92
org.wanghy.cache.interceptor.caching 4300100.00%4.61
org.wanghy.cache.interceptor.flush 2800100.00%3.20
org.wanghy.cache.interceptor.proxy 1100100.00%0.81
org.wanghy.cache.key 1600100.00%1.23
org.wanghy.cache.provider 3200100.00%1.81
org.wanghy.cache.provider.ehcache 4000100.00%3.20
org.wanghy.cache.provider.jcs 5300100.00%3.98
org.wanghy.cache.provider.lru 5600100.00%3.06
org.wanghy.cache.provider.oscache 3500100.00%2.62
org.wanghy.cache.util 900100.00%0.41

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.wanghy.cache

ClassTestsErrorsFailuresSuccess RateTime
Success AbstractCacheEntryTest 600100.00%7.469

org.wanghy.cache.integration.ehcache

ClassTestsErrorsFailuresSuccess RateTime
Success EhcacheMetadataIntegrationTest 200100.00%2.141
Success EhcacheProxyFactoryIntegrationTest 200100.00%1.656

org.wanghy.cache.integration.jcs

ClassTestsErrorsFailuresSuccess RateTime
Success JcsMetadataIntegerationTest 200100.00%2.360
Success JcsProxyFactoryIntegerationTest 200100.00%1.766

org.wanghy.cache.integration.lru

ClassTestsErrorsFailuresSuccess RateTime
Success LruCacheMetadataIntegrationTest 200100.00%1.640
Success LruCacheProxyFactoryIntegrationTest 200100.00%1.390

org.wanghy.cache.integration.oscache

ClassTestsErrorsFailuresSuccess RateTime
Success OscacheMetadataIntegrationTest 200100.00%1.625
Success OscacheProxyFactoryIntegrationTest 200100.00%1.390

org.wanghy.cache.interceptor

ClassTestsErrorsFailuresSuccess RateTime
Success AbstractMetadataCacheAttributeSourceTest 100100.00%0.391
Success AbstractNameMatchCacheAttributeSourceTest 500100.00%0.844
Success AbstractSingleMetadataCacheAttributeSourceTest 700100.00%0.687

org.wanghy.cache.interceptor.caching

ClassTestsErrorsFailuresSuccess RateTime
Success AbstractCachingAttributeSourceTest 800100.00%0.391
Success CachedTest 700100.00%0.422
Success CachingAttributeEditorTest 100100.00%0.437
Success CachingAttributeSourceAdvisorTest 300100.00%0.578
Success CachingAttributeSourceEditorTest 200100.00%0.578
Success CachingInterceptorTest 1100100.00%0.625
Success MetadataCachingAttributeSourceTest 100100.00%0.453
Success MethodMapCachingAttributeSourceTest 600100.00%0.547
Success NameMatchCachingAttributeSourceTest 400100.00%0.578

org.wanghy.cache.interceptor.flush

ClassTestsErrorsFailuresSuccess RateTime
Success AbstractCacheFlushAttributeSourceTest 500100.00%0.390
Success CacheFlushAttributeEditorTest 300100.00%0.422
Success CacheFlushAttributeSourceAdvisorTest 300100.00%0.453
Success CacheFlushInterceptorTest 500100.00%0.469
Success FlushCacheTest 700100.00%0.422
Success MetadataCacheFlushAttributeSourceTest 100100.00%0.469
Success NameMatchCacheFlushAttributeSourceTest 400100.00%0.578

org.wanghy.cache.interceptor.proxy

ClassTestsErrorsFailuresSuccess RateTime
Success CacheProxyFactoryBeanTest 1100100.00%0.812

org.wanghy.cache.key

ClassTestsErrorsFailuresSuccess RateTime
Success HashCodeCacheKeyGeneratorTest 800100.00%0.453
Success HashCodeCacheKeyTest 700100.00%0.391
Success HashCodeCalculatorTest 100100.00%0.390

org.wanghy.cache.provider

ClassTestsErrorsFailuresSuccess RateTime
Success AbstractCacheProfileEditorTest 100100.00%0.750
Success AbstractCacheProviderFacadeImplTest 3100100.00%1.062

org.wanghy.cache.provider.ehcache

ClassTestsErrorsFailuresSuccess RateTime
Success EhcacheCacheProfileEditorTest 300100.00%0.406
Success EhcacheCacheProfileTest 700100.00%0.422
Success EhcacheCacheProfileValidatorTest 500100.00%0.656
Success EhcacheElementTest 700100.00%0.531
Success EhcacheFacadeTest 1800100.00%1.188

org.wanghy.cache.provider.jcs

ClassTestsErrorsFailuresSuccess RateTime
Success JcsCacheElementTest 700100.00%0.390
Success JcsCacheManagerFactoryBeanTest 700100.00%1.000
Success JcsCacheProfileEditorTest 300100.00%0.406
Success JcsCacheProfileTest 700100.00%0.422
Success JcsCacheProfileValidatorTest 500100.00%0.672
Success JcsFacadeTest 2400100.00%1.094

org.wanghy.cache.provider.lru

ClassTestsErrorsFailuresSuccess RateTime
Success LruCacheFacadeTest 800100.00%0.578
Success LruCacheManagerFactoryBeanTest 600100.00%0.547
Success LruCacheProfileEditorTest 600100.00%0.407
Success LruCacheProfileTest 800100.00%0.422
Success LruCacheProfileValidatorTest 500100.00%0.672
Success LruMapCacheManagerTest 2300100.00%0.438

org.wanghy.cache.provider.oscache

ClassTestsErrorsFailuresSuccess RateTime
Success OscacheCacheProfileEditorTest 500100.00%0.406
Success OscacheCacheProfileTest 800100.00%0.422
Success OscacheCacheProfileValidatorTest 200100.00%0.390
Success OscacheFacadeTest 1300100.00%0.954
Success OscacheManagerFactoryBeanTest 700100.00%0.453

org.wanghy.cache.util

ClassTestsErrorsFailuresSuccess RateTime
Success BracketSeparatedPropertiesParserTest 900100.00%0.407

Test Cases

[ summary] [ package list] [ test cases]

AbstractCacheEntryTest

Success testNeedsRefreshWhenEntryHasNotBeenUpdatedYet0.00
Success testNeedsRefreshWhenLiveTimeIsEqualThanRefreshPeriod2.00
Success testNeedsRefreshWhenLiveTimeIsGreaterThanRefreshPeriod3.00
Success testNeedsRefreshWhenLiveTimeIsLessThanRefreshPeriod2.00
Success testNeedsRefreshWithRefreshPeriodEqualToIndefiniteExpiry0.00
Success testNeedsRefreshWithRefreshPeriodEqualToZero0.00

EhcacheMetadataIntegrationTest

Success testCacheProfileConfiguration1.52
Success testCachingAndCacheFlushing0.14

EhcacheProxyFactoryIntegrationTest

Success testCacheProfileConfiguration1.08
Success testCachingAndCacheFlushing0.17

JcsMetadataIntegerationTest

Success testCacheProfileConfiguration1.72
Success testCachingAndCacheFlushing0.16

JcsProxyFactoryIntegerationTest

Success testCacheProfileConfiguration1.23
Success testCachingAndCacheFlushing0.16

LruCacheMetadataIntegrationTest

Success testCacheProfileConfiguration1.09
Success testCachingAndCacheFlushing0.12

LruCacheProxyFactoryIntegrationTest

Success testCacheProfileConfiguration0.88
Success testCachingAndCacheFlushing0.14

OscacheMetadataIntegrationTest

Success testCacheProfileConfiguration1.11
Success testCachingAndCacheFlushing0.12

OscacheProxyFactoryIntegrationTest

Success testCacheProfileConfiguration0.89
Success testCachingAndCacheFlushing0.14

AbstractMetadataCacheAttributeSourceTest

Success testGetAttributeEntryKey0.00

AbstractNameMatchCacheAttributeSourceTest

Success testIsMatchWithMatchingMethodNameAndMappedNameEndingWithWildcards0.41
Success testIsMatchWithMatchingMethodNameAndMappedNameStartingWithWildcards0.00
Success testIsMatchWithNotMatchingMethodName0.00
Success testSetPropertiesWhenPropertyEditorReturnsCacheAttributeEqualToNull0.03
Success testSetPropertiesWhenPropertyEditorReturnsObjectNotEqualToNull0.02

AbstractSingleMetadataCacheAttributeSourceTest

Success testGetAttributeWhenCacheAttributeFoundIsEqualToNull0.30
Success testGetAttributeWhenCacheAttributeFoundIsNotEqualToNull0.00
Success testGetAttributeWhenCacheAttributeFoundIsNullAttribute0.00
Success testRetrieveAttributeFromMostSpecificMethod0.00
Success testRetrieveAttributeFromMostSpecificMethodWhenMostSpecificMethodAndOriginalMethodAreTheSame0.00
Success testRetrieveAttributeFromOriginalMethod0.00
Success testRetrieveAttributeReturningNull0.00

AbstractCachingAttributeSourceTest

Success testFindAttributeWithCollectionContainingAnInstanceOfCached0.00
Success testFindAttributeWithCollectionEqualToNull0.00
Success testFindAttributeWithEmptyCollection0.00
Success testFindAttributeWithNotEmptyCollectionNotContainingAnInstanceOfMatching0.00
Success testGetCachingAttributeWithCacheableMethod0.00
Success testGetCachingAttributeWithNotCacheableMethod0.00
Success testIsCacheableWithCacheableMethod0.00
Success testIsCacheableWithNotCacheableMethod0.00

CachedTest

Success testEqualsWithEqualObjects0.02
Success testEqualsWithNotEqualObjects0.00
Success testEqualsWithNull0.00
Success testEqualsWithObjectNotInSameClassHierarchy0.00
Success testEqualsWithSame0.00
Success testHashCode0.00
Success testToString0.02

CachingAttributeEditorTest

Success testSetAsTextWithNotEmptyString0.03

CachingAttributeSourceAdvisorTest

Success testConstructorWithMethodInterceptorNotHavingCachingAttributeSource0.16
Success testMatchesWhenAttributeIsNotFound0.05
Success testMatchesWhenNotNullAttributeIsFound0.00

CachingAttributeSourceEditorTest

Success testSetAsText0.20
Success testSetAsTextWithEmptyText0.00

CachingInterceptorTest

Success testAfterPropertiesSetWhenCacheKeyGeneratorIsNotSet0.20
Success testAfterPropertiesSetWhenCacheKeyGeneratorIsSet0.00
Success testGetCachingAttribute0.00
Success testGetCachingAttributeWithMethodInvocationHavingThisObjectEqualToNull0.00
Success testInvokeHavingCachingAttributeEqualToNull0.00
Success testInvokeHavingObjectInCacheEqualToNullEntry0.02
Success testInvokeHavingObjectInCacheNotEqualToNull0.00
Success testInvokeWhenObjectIsNotCachedAndInterceptorHasListener0.02
Success testInvokeWhenObjectIsNotCachedAndProceedReturnsNull0.00
Success testInvokeWhenObjectIsNotCachedAndProceedThrowsThrowable0.00
Success testInvokeWhenThrowingEntryRetrievalException0.00

MetadataCachingAttributeSourceTest

Success testFindAllAttributesMethod0.06

MethodMapCachingAttributeSourceTest

Success testAddCachingAttributeUsingWildcardsBeforeSpecificMethodName0.16
Success testAddCachingAttributeWithNotExistingClass0.00
Success testAddCachingAttributeWithNotMatchingMethod0.02
Success testAddCachingAttributeWithoutFullyQualifiedMethodName0.00
Success testAddCachingAttributeWithSpecificMethodNameBeforeUsingWildcards0.00
Success testGetCachingAttribute0.00

NameMatchCachingAttributeSourceTest

Success testGetCacheAttributeEditor0.14
Success testGetCachingAttributeWithMethodNameMatchingMappedNameWithoutWildCards0.05
Success testGetCachingAttributeWithMethodNameMatchingMappedNameWithWildCards0.00
Success testGetCachingAttributeWithNotMatchingMethodName0.00

AbstractCacheFlushAttributeSourceTest

Success testFindAttributeWithCollectionContainingAnInstanceOfFlushCache0.00
Success testFindAttributeWithCollectionEqualToNull0.00
Success testFindAttributeWithEmptyCollection0.00
Success testFindAttributeWithNotEmptyCollectionNotContainingAnInstanceOfMatching0.00
Success testGetCachingAttributeWithCacheableMethod0.02

CacheFlushAttributeEditorTest

Success testSetAsTextWithFlushBeforeExecutionEqualToTrue0.03
Success testSetAsTextWithFlushBeforeExecutionEqualToYes0.00
Success testSetAsTextWithoutFlushBeforeExecution0.00

CacheFlushAttributeSourceAdvisorTest

Success testConstructorWithMethodInterceptorNotHavingCacheFlushAttributeSource0.02
Success testMatchesWhenAttributeIsNotFound0.06
Success testMatchesWhenNotNullAttributeIsFound0.00

CacheFlushInterceptorTest

Success testGetCacheFlushAttribute0.09
Success testGetCacheFlushAttributeWithMethodInvocationHavingThisObjectEqualToNull0.00
Success testInvokeFlushingAfterProceedIsCalled0.00
Success testInvokeFlushingBeforeProceedIsCalled0.00
Success testInvokeWithoutCacheFlushAttribute0.00

FlushCacheTest

Success testEqualsWithEqualObjects0.02
Success testEqualsWithNotEqualObjects0.00
Success testEqualsWithNull0.00
Success testEqualsWithObjectNotInSameClassHierarchy0.00
Success testEqualsWithSame0.00
Success testHashCode0.00
Success testToString0.03

MetadataCacheFlushAttributeSourceTest

Success testFindAllAttributesMethod0.06

NameMatchCacheFlushAttributeSourceTest

Success testGetCacheAttributeEditor0.14
Success testGetCacheFlushAttributeWithMethodNameMatchingMappedNameWithoutWildCards0.05
Success testGetCacheFlushAttributeWithMethodNameMatchingMappedNameWithWildCards0.00
Success testGetCacheFlushAttributeWithNotMatchingMethodName0.00

CacheProxyFactoryBeanTest

Success testAfterPropertiesSetWithNullTarget0.34
Success testAfterPropertiesSetWithProxyInterfacesEqualToNullAndProxyTargetFlagEqualToFalseAndTargetInstanceOfTargetSource0.03
Success testCreateTargetSourceWithTargetObjectInstanceOfTargetSource0.00
Success testCreateTargetSourceWithTargetObjectNotInstanceOfTargetSource0.02
Success testGetObject0.03
Success testGetObjectTypeWhenProxyIsNotNull0.00
Success testGetObjectTypeWhenProxyIsNullAndTargetIsNotNullAndTargetIsInstanceOfTargetSource0.00
Success testGetObjectTypeWhenProxyIsNullAndTargetIsNotNullAndTargetIsNotInstanceOfTargetSource0.00
Success testGetObjectTypeWhenProxyIsNullAndTargetIsNull0.00
Success testIsSingleton0.00
Success testSetProxyInterfaces0.00

HashCodeCacheKeyGeneratorTest

Success testGenerateKeyWithoutMethodArguments0.06
Success testGetMethodArgumentHashCodeGeneratingHashCode0.00
Success testGetMethodArgumentHashCodeNotGeneratingHashCode0.00
Success testGetMethodArgumentHashCodeWithArgumentEqualToNull0.00
Success testGenerateKeyGeneratesDifferentKeysForNotEqualMethodsWithEqualArguments0.02
Success testGenerateKeyGeneratesDifferentKeysForNotEqualMethodsWithNotEqualArguments0.00
Success testGenerateKeyGeneratesDifferentKeysForSameMethodWithNotEqualArguments0.00
Success testGenerateKeyGeneratesSameKeyForSameMethodAndEqualArguments0.00

HashCodeCacheKeyTest

Success testEqualsWithEqualObjects0.02
Success testEqualsWithNotEqualObjects0.00
Success testEqualsWithNull0.00
Success testEqualsWithObjectNotInSameClassHierarchy0.00
Success testEqualsWithSame0.00
Success testHashCode0.00
Success testToString0.00

HashCodeCalculatorTest

Success testAppend0.02

AbstractCacheProfileEditorTest

Success testSetAsText0.38

AbstractCacheProviderFacadeImplTest

Success testAfterPropertiesSetWhenCacheProfilesHaveBeenValidated0.55
Success testAfterPropertiesSetWhenCacheProfilesHaveNotBeenValidated0.03
Success testAfterPropertiesSetWhenMapOfCacheProfilesIsEmpty0.00
Success testAfterPropertiesSetWhenValidationOfCacheProfilesThrowsException0.00
Success testCancelCacheUpdate0.02
Success testCancelCacheUpdateWhenCacheAccessThrowsExceptionAndFailQuietlyIsEnabled0.02
Success testCancelCacheUpdateWhenCacheAccessThrowsExceptionAndFailQuietlyIsNotEnabled0.00
Success testFlushCacheWhenAccessToCacheThrowsExceptionAndFailQuietlyIsEnabled0.00
Success testFlushCacheWhenAccessToCacheThrowsExceptionAndFailQuietlyIsNotEnabled0.00
Success testFlushCacheWithArrayOfProfileIdsEqualToNull0.02
Success testFlushCacheWithEmptyArrayOfProfileIds0.00
Success testFlushCacheWithNotEmptyArrayOfProfileIdsAndExistingProfileId0.00
Success testFlushCacheWithNotEmptyArrayOfProfileIdsAndNotExistingProfileId0.00
Success testGetCacheProfilesReturnsAnUnmodifiableMap0.00
Success testGetCacheProfileWithEmptyProfileId0.00
Success testGetCacheProfileWithNotEmptyProfileId0.00
Success testGetCacheProfileWithProfileIdEqualToNull0.00
Success testGetFromCacheCacheKeyWhenAccessToCacheThrowsExceptionAndFailQuietlyIsEnabled0.00
Success testGetFromCacheCacheKeyWhenAccessToCacheThrowsExceptionAndFailQuietlyIsNotEnabled0.00
Success testGetFromCacheCacheKeyWithExistingProfileId0.02
Success testGetFromCacheCacheKeyWithNotExistingProfileId0.00
Success testHandleCacheAccessExceptionWhenFailedQuietlyIsEnableAndExceptionIsNotNull0.00
Success testHandleCacheAccessExceptionWhenFailedQuietlyIsNotEnableAndExceptionIsNotNull0.00
Success testPutInCacheWhenAccessToCacheThrowsExceptionAndFailQuietlyIsEnabled0.00
Success testPutInCacheWhenAccessToCacheThrowsExceptionAndFailQuietlyIsNotEnabled0.00
Success testPutInCacheWithExistingProfileId0.00
Success testPutInCacheWithNotExistingProfileId0.00
Success testSetCacheProfilesWhenCacheProfileEditorThrowsException0.00
Success testSetCacheProfilesWithEmptySetOfProperties0.00
Success testSetCacheProfilesWithMapBeingProperties0.00
Success testSetCacheProfilesWithSetOfPropertiesEqualToNull0.00

EhcacheCacheProfileEditorTest

Success testCreateCacheProfileWithEmptySetOfProperties0.02
Success testCreateCacheProfileWithEmptyCacheName0.00
Success testCreateCacheProfileWithNotEmptyGroup0.02

EhcacheCacheProfileTest

Success testEqualsWithEqualObjects0.00
Success testEqualsWithNotEqualObjects0.00
Success testEqualsWithNull0.00
Success testEqualsWithObjectNotInSameClassHierarchy0.00
Success testEqualsWithSame0.00
Success testHashCode0.02
Success testToString0.02

EhcacheCacheProfileValidatorTest

Success testValidateCacheNameWithEmptyString0.02
Success testValidateCacheNameWithNotEmptyString0.00
Success testValidateCacheNameWithStringEqualToNull0.00
Success testValidateCacheProfile0.27
Success testValidateCacheProfileObjectWithObjectNotInstanceOfEhcacheCacheProfile0.00

EhcacheElementTest

Success testEqualsWithEqualObjects0.14
Success testEqualsWithNotEqualObjects0.00
Success testEqualsWithNull0.00
Success testEqualsWithObjectNotInSameClassHierarchy0.00
Success testEqualsWithSame0.00
Success testHashCode0.00
Success testToString0.00

EhcacheFacadeTest

Success testGetCacheProfileEditor0.14
Success testGetCacheProfileValidator0.00
Success testOnFlushCache0.47
Success testOnFlushCacheWhenCacheThrowsException0.05
Success testOnFlushCacheWithCacheProfileHavingNotExistingCacheName0.02
Success testOnGetFromCacheWhenCacheThrowsException0.00
Success testOnGetFromCacheWhenObjectToRetrieveIsCached0.02
Success testOnGetFromCacheWhenObjectToRetrieveIsNotCached0.02
Success testOnGetFromCacheWithCacheProfileHavingNotExistingCacheName0.02
Success testOnPutInCache0.02
Success testOnPutInCacheWithCacheProfileHavingNotExistingCacheName0.00
Success testValidateCacheManagerWithCacheManagerEqualToActive0.02
Success testValidateCacheManagerWithCacheManagerEqualToNull0.00
Success testValidateCacheManagerWithCacheManagerNotAliveAndFailQuietlyIsEnabled0.02
Success testValidateCacheManagerWithCacheManagerNotAliveAndFailQuietlyNotEnabled0.00
Success testRemoveFromCache0.02
Success testRemoveFromCacheWithCacheProfileIsNull0.02
Success testRemoveFromCacheWithEmptyCacheName0.00

JcsCacheElementTest

Success testEqualsWithEqualObjects0.00
Success testEqualsWithNotEqualObjects0.00
Success testEqualsWithNull0.00
Success testEqualsWithObjectNotInSameClassHierarchy0.00
Success testEqualsWithSame0.00
Success testHashCode0.00
Success testToString0.00

JcsCacheManagerFactoryBeanTest

Success testAfterPropertiesSet0.52
Success testAfterPropertiesSetWithConfigLocationEqualToNull0.08
Success testDestroy0.00
Success testDestroyWithCacheManagerEqualToNull0.00
Success testGetObjectType0.00
Success testGetObjectTypeWhenCacheManagerIsNull0.00
Success testIsSingleton0.00

JcsCacheProfileEditorTest

Success testCreateCacheProfileWithEmptySetOfProperties0.02
Success testCreateCacheProfileWithEmptyCacheName0.00
Success testCreateCacheProfile0.02

JcsCacheProfileTest

Success testEqualsWithEqualObjects0.02
Success testEqualsWithNotEqualObjects0.00
Success testEqualsWithNull0.00
Success testEqualsWithObjectNotInSameClassHierarchy0.00
Success testEqualsWithSame0.00
Success testHashCode0.00
Success testToString0.03

JcsCacheProfileValidatorTest

Success testValidateCacheNameWithEmptyString0.02
Success testValidateCacheNameWithNotEmptyString0.00
Success testValidateCacheNameWithStringEqualToNull0.00
Success testValidateCacheProfile0.26
Success testValidateCacheProfileObjectWithObjectNotInstanceOfJcsCacheProfile0.00

JcsFacadeTest

Success testGetCacheProfileEditor0.14
Success testGetCacheProfileValidator0.00
Success testGetKeyWithGroupName0.02
Success testGetKeyWithoutGroupName0.00
Success testOnFlushCache0.50
Success testOnFlushCacheWithCacheEqualToNull0.00
Success testOnFlushCacheWithCacheProfileHavingEmptyCacheName0.00
Success testOnFlushCacheWithEmptyGroupName0.00
Success testOnFlushCacheWithGroupNameEqualToNull0.00
Success testOnGetFromCacheWhenObjectToRetrieveIsCached0.00
Success testOnGetFromCacheWhenObjectToRetrieveIsNotCached0.00
Success testOnGetFromCacheWithCacheEqualToNull0.00
Success testOnGetFromCacheWithCacheProfileHavingCacheNameEqualToNull0.00
Success testOnGetFromCacheWithCacheProfileHavingEmptyCacheName0.02
Success testOnPutInCache0.02
Success testOnPutInCacheWhenCacheThrowsException0.02
Success testOnPutInCacheWithCacheEqualToNull0.00
Success testOnPutInCacheWithCacheProfileHavingCacheNameEqualToNull0.00
Success testOnPutInCacheWithCacheProfileHavingEmptyCacheName0.00
Success testRemoveFromCache0.00
Success testRemoveFromCacheWithCacheProfileIsNull0.00
Success testRemoveFromCacheWithEmptyCacheName0.00
Success testValidateCacheManagerWithCacheManagerEqualToNull0.00
Success testValidateCacheManagerWithCacheManagerNotEqualToNull0.00

LruCacheFacadeTest

Success testGetCacheProfileEditor0.19
Success testGetCacheProfileValidator0.00
Success testOnFlushCache0.00
Success testOnGetFromCache0.00
Success testOnPutInCache0.02
Success testRemoveFromCache0.00
Success testValidateCacheManagerWithCacheManagerEqualToNull0.00
Success testValidateCacheManagerWithCacheManagerNotEqualToNull0.00

LruCacheManagerFactoryBeanTest

Success testAfterPropertiesSet0.16
Success testDestroy0.00
Success testDestroyWithCacheManagerEqualToNull0.00
Success testGetObjectType0.00
Success testGetObjectTypeWhenCacheManagerIsNull0.00
Success testIsSingleton0.00

LruCacheProfileEditorTest

Success testCreateCacheProfileWithEmptyGroup0.02
Success testCreateCacheProfileWithEmptySetOfProperties0.00
Success testCreateCacheProfileWithNonIntegerRefreshPeriodAndEqualToIndefiniteExpire0.02
Success testCreateCacheProfileWithNotEmptyGroup0.00
Success testCreateCacheProfileWithoutRefreshPeriod0.00
Success testCreateCacheProfileWithRefreshPeriodNotBeingAndInteger0.00

LruCacheProfileTest

Success testConstructorSetsRefreshPeriodToIndefiniteExpiry0.02
Success testEqualsWithEqualObjects0.00
Success testEqualsWithNotEqualObjects0.00
Success testEqualsWithNull0.00
Success testEqualsWithObjectNotInSameClassHierarchy0.00
Success testEqualsWithSame0.00
Success testHashCode0.00
Success testToString0.03

LruCacheProfileValidatorTest

Success testValidateCacheProfileLruCacheProfile0.30
Success testValidateCacheProfileWithObjectNotBeingAnInstanceOfLruCacheProfile0.00
Success testValidateGroupWithEmptyGroupName0.00
Success testValidateGroupWithGroupNameEqualToNull0.00
Success testValidateGroupWithNotEmptyString0.00

LruMapCacheManagerTest

Success testClear0.05
Success testConstructor0.00
Success testConstructorWithMaxSize0.00
Success testConstructorWithMaxSizeAndScanUtilRemovable0.00
Success testGet0.00
Success testGetGroupCount0.00
Success testGetGroupNames0.00
Success testGetSize0.00
Success testGetWithEntryWithRefreshTimeEqualToZero0.00
Success testGetWithNonExistingKey0.00
Success testGetWithNullKey0.00
Success testIsEmptyWithCacheNotEmpty0.00
Success testIsEmptyWithEmptyCache0.00
Success testIsFullWithCacheNotFull0.00
Success testIsFullWithFullCache0.00
Success testPutWhenStoringInExistingGroup0.00
Success testPutWhenStoringInNewGroup0.00
Success testPutWithEmptyGroup0.00
Success testPutWithNullKey0.00
Success testRemove0.00
Success testRemoveGroup0.00
Success testRemoveGroupWithGroupNameEqualToNull0.00
Success testRemoveGroupWithNotExistingGroupName0.00

OscacheCacheProfileEditorTest

Success testCreateCacheProfileWithEmptySetOfProperties0.02
Success testCreateCacheProfileWithNonIntegerRefreshPeriodAndEqualToIndefiniteExpire0.02
Success testCreateCacheProfileWithNotEmptySetOfProperties0.00
Success testCreateCacheProfileWithoutRefreshPeriod0.00
Success testCreateCacheProfileWithRefreshPeriodNotBeingAndInteger0.00

OscacheCacheProfileTest

Success testSetGroupsWithEmptyString0.03
Success testEqualsWithEqualObjects0.00
Success testEqualsWithNotEqualObjects0.00
Success testEqualsWithNull0.00
Success testEqualsWithObjectNotInSameClassHierarchy0.00
Success testEqualsWithSame0.00
Success testHashCode0.00
Success testToString0.02

OscacheCacheProfileValidatorTest

Success testValidateCacheProfileWithInstanceOfOscacheCacheProfile0.00
Success testValidateCacheProfileObjectWithObjectNotInstanceOfOscacheCacheProfile0.00

OscacheFacadeTest

Success testGetCacheProfileEditor0.14
Success testGetCacheProfileValidator0.00
Success testOnCancelCacheUpdate0.41
Success testOnFlushCache0.00
Success testOnFlushCacheWithNoGroups0.00
Success testOnGetFromCacheWithKeyAndRefreshPeriod0.00
Success testOnGetFromCacheWithKeyAndRefreshPeriodAndCronExpression0.00
Success testOnGetFromCacheWithKeyOnly0.00
Success testOnPutInCacheWithGroups0.00
Success testOnPutInCacheWithoutGroups0.00
Success testRemoveFromCache0.02
Success testValidateCacheManagerWithCacheManagerEqualToNull0.00
Success testValidateCacheManagerWithCacheManagerNotEqualToNull0.00

OscacheManagerFactoryBeanTest

Success testAfterPropertiesSet0.06
Success testAfterPropertiesSetWithConfigLocationEqualToNull0.00
Success testDestroy0.02
Success testDestroyWithCacheManagerEqualToNull0.00
Success testGetObjectType0.02
Success testGetObjectTypeWhenCacheAdministratorIsNull0.02
Success testIsSingleton0.00

BracketSeparatedPropertiesParserTest

Success testAddPropertyWithDuplicatedProperties0.02
Success testAddPropertyWithInvalidPropertyString0.00
Success testAddPropertyWithValidPropertyString0.00
Success testParsePropertiesWithEmptyString0.02
Success testParsePropertiesWithStringEqualToNull0.00
Success testParsePropertiesWithStringNotEndingWithBrackets0.00
Success testParsePropertiesWithStringNotStartingAndNotEndingWithBrackets0.00
Success testParsePropertiesWithStringNotStartingWithBracket0.00
Success testParsePropertiesWithValidPropertiesString0.00