Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException8 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother14 msPassed
addReplacesInstanceTogetherWithDescriptor16 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords8 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord20 msPassed
cacheAddWithStringIdentifier8 msPassed
cacheEvictWithStringIdentifier13 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode17 msPassed
closeShutsDownSweeper25 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch12 msPassed
containsWithNullArgumentsReturnsFalse8 msPassed
evictAllRemovesAllRecords9 msPassed
evictByClassRemovesInstanceDescriptors12 msPassed
evictByClassThrowsNPXForNullArgument16 msPassed
evictByContextRemovesInstanceDescriptors16 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed14 msPassed
evictByContextWithNullArgumentEvictsDefaultContext13 msPassed
evictByNullIdentifierThrowsNPX8 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses14 msPassed
evictRemovesInstanceDescriptor9 msPassed
getByNonMatchingClassReturnsNull8 msPassed
getByUnknownIdReturnsNull5 msPassed
getReturnsNullWhenDescriptorsDoNotMatch5 msPassed
getWithNullIdReturnsNull11 msPassed
getWithWrongContextReturnsNull16 msPassed
testAddIntoContext20 msPassed
testAddToDefault15 msPassed
testConstructorInvalidSweepRate1 msPassed
testConstructorNumberInvalid23 msPassed
testContainsDefault16 msPassed
testContainsWithContext16 msPassed
testEvictByContextClassAndPrimaryKey14 msPassed
testEvictWithSweeper0.25 secPassed
testGetObject8 msPassed
testRefreshTTL5 secPassed