Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException1 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor0 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords2 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier2 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
closeShutsDownSweeper2 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch3 msPassed
containsWithNullArgumentsReturnsFalse0 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors4 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed0 msPassed
evictByContextWithNullArgumentEvictsDefaultContext0 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor3 msPassed
getByNonMatchingClassReturnsNull0 msPassed
getByUnknownIdReturnsNull0 msPassed
getReturnsNullWhenDescriptorsDoNotMatch0 msPassed
getWithNullIdReturnsNull0 msPassed
getWithWrongContextReturnsNull0 msPassed
testAddIntoContext1 msPassed
testAddToDefault1 msPassed
testConstructorInvalidSweepRate2 msPassed
testConstructorNumberInvalid2 msPassed
testContainsDefault0 msPassed
testContainsWithContext1 msPassed
testEvictByContextClassAndPrimaryKey0 msPassed
testEvictWithSweeper5 secPassed
testGetObject0 msPassed
testRefreshTTL4 secPassed