Skip to content

Test Result : TtlCacheManagerTest

0 failures (±0)
34 tests (±0)
Took 10 sec.

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException1 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor0 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords1 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord4 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier1 msPassed
closeShutsDownSweeper1 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch2 msPassed
containsWithNullArgumentsReturnsFalse2 msPassed
evictAllRemovesAllRecords12 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByClassThrowsNPXForNullArgument0 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext1 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses2 msPassed
evictRemovesInstanceDescriptor2 msPassed
getByNonMatchingClassReturnsNull0 msPassed
getByUnknownIdReturnsNull1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch2 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull5 msPassed
testAddIntoContext1 msPassed
testAddToDefault0 msPassed
testConstructorInvalidSweepRate81 msPassed
testConstructorNumberInvalid1 msPassed
testContainsDefault0 msPassed
testContainsWithContext4 msPassed
testEvictByContextClassAndPrimaryKey1 msPassed
testEvictWithSweeper5 secPassed
testGetObject0 msPassed
testRefreshTTL5 secPassed