Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException2 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother6 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords1 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord1 msPassed
cacheAddWithStringIdentifier1 msPassed
cacheEvictWithStringIdentifier1 msPassed
closeShutsDownSweeper1 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch1 msPassed
containsWithNullArgumentsReturnsFalse0 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed3 msPassed
evictByContextWithNullArgumentEvictsDefaultContext1 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses3 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull1 msPassed
getByUnknownIdReturnsNull1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch2 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull1 msPassed
testAddIntoContext1 msPassed
testAddToDefault1 msPassed
testConstructorInvalidSweepRate20 msPassed
testConstructorNumberInvalid2 msPassed
testContainsDefault1 msPassed
testContainsWithContext1 msPassed
testEvictByContextClassAndPrimaryKey4 msPassed
testEvictWithSweeper5 secPassed
testGetObject1 msPassed
testRefreshTTL5 secPassed