Skip to content

Test Result : TtlCacheManagerTest

0 failures (±0)
36 tests (±0)
Took 9 sec.

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException1 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords2 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord1 msPassed
cacheAddWithStringIdentifier1 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
closeShutsDownSweeper3 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch1 msPassed
containsWithNullArgumentsReturnsFalse1 msPassed
evictAllRemovesAllRecords2 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext5 msPassed
evictByNullIdentifierThrowsNPX2 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor2 msPassed
getByNonMatchingClassReturnsNull1 msPassed
getByUnknownIdReturnsNull1 msPassed
getLoadStateDescriptorReturnsLoadStateDescriptorAssociatedWithSpecifiedCacheEntry3 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull1 msPassed
testAddIntoContext1 msPassed
testAddToDefault1 msPassed
testConstructorInvalidSweepRate5 msPassed
testConstructorNumberInvalid4 msPassed
testContainsDefault1 msPassed
testContainsWithContext1 msPassed
testEvictByContextClassAndIdentifier2 msPassed
testEvictWithSweeper5 secPassed
testGetObject2 msPassed
testRefreshTTL4 secPassed