Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException1 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords1 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier1 msPassed
closeShutsDownSweeper1 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch2 msPassed
containsWithNullArgumentsReturnsFalse1 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext5 msPassed
evictByNullIdentifierThrowsNPX5 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses3 msPassed
evictRemovesInstanceDescriptor0 msPassed
getByNonMatchingClassReturnsNull0 msPassed
getByUnknownIdReturnsNull4 msPassed
getReturnsNullWhenDescriptorsDoNotMatch4 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull1 msPassed
testAddIntoContext1 msPassed
testAddToDefault1 msPassed
testConstructorInvalidSweepRate13 msPassed
testConstructorNumberInvalid2 msPassed
testContainsDefault0 msPassed
testContainsWithContext1 msPassed
testEvictByContextClassAndPrimaryKey1 msPassed
testEvictWithSweeper5 secPassed
testGetObject0 msPassed
testRefreshTTL5 secPassed