Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException3 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother2 msPassed
addReplacesInstanceTogetherWithDescriptor0 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords3 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier1 msPassed
closeShutsDownSweeper4 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch9 msPassed
containsWithNullArgumentsReturnsFalse1 msPassed
evictAllRemovesAllRecords3 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext1 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses3 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull2 msPassed
getByUnknownIdReturnsNull0 msPassed
getReturnsNullWhenDescriptorsDoNotMatch5 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull1 msPassed
testAddIntoContext0 msPassed
testAddToDefault1 msPassed
testConstructorInvalidSweepRate11 msPassed
testConstructorNumberInvalid1 msPassed
testContainsDefault1 msPassed
testContainsWithContext1 msPassed
testEvictByContextClassAndPrimaryKey1 msPassed
testEvictWithSweeper5 secPassed
testGetObject1 msPassed
testRefreshTTL5 secPassed