Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException2 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother2 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords2 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord2 msPassed
cacheAddWithStringIdentifier1 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode2 msPassed
closeShutsDownSweeper3 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch2 msPassed
containsWithNullArgumentsReturnsFalse2 msPassed
evictAllRemovesAllRecords2 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors2 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed2 msPassed
evictByContextWithNullArgumentEvictsDefaultContext9 msPassed
evictByNullIdentifierThrowsNPX2 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses2 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull1 msPassed
getByUnknownIdReturnsNull2 msPassed
getLoadStateDescriptorReturnsLoadStateDescriptorAssociatedWithSpecifiedCacheEntry1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch2 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull2 msPassed
testAddIntoContext2 msPassed
testAddToDefault2 msPassed
testConstructorInvalidSweepRate3 msPassed
testConstructorNumberInvalid3 msPassed
testContainsDefault2 msPassed
testContainsWithContext2 msPassed
testEvictByContextClassAndIdentifier1 msPassed
testEvictWithSweeper5 secPassed
testGetObject1 msPassed
testRefreshTTL4 secPassed