Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException0 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor0 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords0 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier1 msPassed
cacheEvictWithStringIdentifier0 msPassed
closeShutsDownSweeper1 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch1 msPassed
containsWithNullArgumentsReturnsFalse0 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors0 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed0 msPassed
evictByContextWithNullArgumentEvictsDefaultContext0 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses0 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull0 msPassed
getByUnknownIdReturnsNull0 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull0 msPassed
getWithWrongContextReturnsNull0 msPassed
testAddIntoContext0 msPassed
testAddToDefault0 msPassed
testConstructorInvalidSweepRate2 msPassed
testConstructorNumberInvalid1 msPassed
testContainsDefault0 msPassed
testContainsWithContext0 msPassed
testEvictByContextClassAndPrimaryKey0 msPassed
testEvictWithSweeper5 secPassed
testGetObject0 msPassed
testRefreshTTL5 secPassed