Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException1 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords2 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord1 msPassed
cacheAddWithStringIdentifier1 msPassed
cacheEvictWithStringIdentifier2 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
closeShutsDownSweeper2 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch2 msPassed
containsWithNullArgumentsReturnsFalse2 msPassed
evictAllRemovesAllRecords2 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext4 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses2 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull1 msPassed
getByUnknownIdReturnsNull1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch2 msPassed
getWithNullIdReturnsNull2 msPassed
getWithWrongContextReturnsNull2 msPassed
testAddIntoContext1 msPassed
testAddToDefault1 msPassed
testConstructorInvalidSweepRate2 msPassed
testConstructorNumberInvalid3 msPassed
testContainsDefault0 msPassed
testContainsWithContext2 msPassed
testEvictByContextClassAndPrimaryKey2 msPassed
testEvictWithSweeper5 secPassed
testGetObject0 msPassed
testRefreshTTL4 secPassed