Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException10 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother9 msPassed
addReplacesInstanceTogetherWithDescriptor14 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords11 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord14 msPassed
cacheAddWithStringIdentifier16 msPassed
cacheEvictWithStringIdentifier25 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode10 msPassed
closeShutsDownSweeper40 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch6 msPassed
containsWithNullArgumentsReturnsFalse14 msPassed
evictAllRemovesAllRecords14 msPassed
evictByClassRemovesInstanceDescriptors8 msPassed
evictByClassThrowsNPXForNullArgument8 msPassed
evictByContextRemovesInstanceDescriptors9 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed12 msPassed
evictByContextWithNullArgumentEvictsDefaultContext14 msPassed
evictByNullIdentifierThrowsNPX5 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses11 msPassed
evictRemovesInstanceDescriptor16 msPassed
getByNonMatchingClassReturnsNull12 msPassed
getByUnknownIdReturnsNull6 msPassed
getReturnsNullWhenDescriptorsDoNotMatch16 msPassed
getWithNullIdReturnsNull7 msPassed
getWithWrongContextReturnsNull14 msPassed
testAddIntoContext8 msPassed
testAddToDefault8 msPassed
testConstructorInvalidSweepRate0 msPassed
testConstructorNumberInvalid22 msPassed
testContainsDefault16 msPassed
testContainsWithContext8 msPassed
testEvictByContextClassAndPrimaryKey10 msPassed
testEvictWithSweeper2.4 secPassed
testGetObject11 msPassed
testRefreshTTL5 secPassed