Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException14 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother15 msPassed
addReplacesInstanceTogetherWithDescriptor8 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords12 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord9 msPassed
cacheAddWithStringIdentifier7 msPassed
cacheEvictWithStringIdentifier24 msPassed
closeShutsDownSweeper25 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch14 msPassed
containsWithNullArgumentsReturnsFalse18 msPassed
evictAllRemovesAllRecords8 msPassed
evictByClassRemovesInstanceDescriptors9 msPassed
evictByClassThrowsNPXForNullArgument3 msPassed
evictByContextRemovesInstanceDescriptors12 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed7 msPassed
evictByContextWithNullArgumentEvictsDefaultContext8 msPassed
evictByNullIdentifierThrowsNPX15 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses6 msPassed
evictRemovesInstanceDescriptor8 msPassed
getByNonMatchingClassReturnsNull6 msPassed
getByUnknownIdReturnsNull20 msPassed
getReturnsNullWhenDescriptorsDoNotMatch15 msPassed
getWithNullIdReturnsNull16 msPassed
getWithWrongContextReturnsNull7 msPassed
testAddIntoContext7 msPassed
testAddToDefault10 msPassed
testConstructorInvalidSweepRate14 msPassed
testConstructorNumberInvalid15 msPassed
testContainsDefault8 msPassed
testContainsWithContext9 msPassed
testEvictByContextClassAndPrimaryKey8 msPassed
testEvictWithSweeper5 secPassed
testGetObject16 msPassed
testRefreshTTL5 secPassed