Skip to content

Test Result : TtlCacheManagerTest

0 failures (±0)
35 tests (±0)
Took 9 sec.

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException2 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother2 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords2 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord1 msPassed
cacheAddWithStringIdentifier1 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
closeShutsDownSweeper5 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch1 msPassed
containsWithNullArgumentsReturnsFalse2 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesInstanceDescriptors2 msPassed
evictByClassThrowsNPXForNullArgument3 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext8 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses2 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull2 msPassed
getByUnknownIdReturnsNull1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch2 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull1 msPassed
testAddIntoContext2 msPassed
testAddToDefault1 msPassed
testConstructorInvalidSweepRate5 msPassed
testConstructorNumberInvalid3 msPassed
testContainsDefault1 msPassed
testContainsWithContext1 msPassed
testEvictByContextClassAndPrimaryKey2 msPassed
testEvictWithSweeper5 secPassed
testGetObject0 msPassed
testRefreshTTL4 secPassed