Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException5 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother0 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords6 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord3 msPassed
cacheAddWithStringIdentifier6 msPassed
cacheEvictWithStringIdentifier6 msPassed
closeShutsDownSweeper55 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch6 msPassed
containsWithNullArgumentsReturnsFalse3 msPassed
evictAllRemovesAllRecords4 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument3 msPassed
evictByContextRemovesInstanceDescriptors2 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed0 msPassed
evictByContextWithNullArgumentEvictsDefaultContext0 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses11 msPassed
evictRemovesInstanceDescriptor4 msPassed
getByNonMatchingClassReturnsNull2 msPassed
getByUnknownIdReturnsNull2 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull30 msPassed
testAddIntoContext2 msPassed
testAddToDefault2 msPassed
testConstructorInvalidSweepRate0 msPassed
testConstructorNumberInvalid26 msPassed
testContainsDefault1 msPassed
testContainsWithContext5 msPassed
testEvictByContextClassAndPrimaryKey3 msPassed
testEvictWithSweeper4.6 secPassed
testGetObject10 msPassed
testRefreshTTL5 secPassed