Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException0 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother2 msPassed
addReplacesInstanceTogetherWithDescriptor0 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords1 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord1 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
closeShutsDownSweeper5 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch0 msPassed
containsWithNullArgumentsReturnsFalse1 msPassed
evictAllRemovesAllRecords2 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext5 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor2 msPassed
getByNonMatchingClassReturnsNull1 msPassed
getByUnknownIdReturnsNull1 msPassed
getLoadStateDescriptorReturnsLoadStateDescriptorAssociatedWithSpecifiedCacheEntry1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull0 msPassed
getWithWrongContextReturnsNull0 msPassed
testAddIntoContext0 msPassed
testAddToDefault1 msPassed
testConstructorInvalidSweepRate2 msPassed
testConstructorNumberInvalid3 msPassed
testContainsDefault1 msPassed
testContainsWithContext1 msPassed
testEvictByContextClassAndIdentifier1 msPassed
testEvictWithSweeper5 secPassed
testGetObject3 msPassed
testRefreshTTL4 secPassed