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
addWithSameIdToDifferentContextsRetainsBothRecords3 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord1 msPassed
cacheAddWithStringIdentifier1 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode0 msPassed
closeShutsDownSweeper6 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch0 msPassed
containsWithNullArgumentsReturnsFalse12 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed0 msPassed
evictByContextWithNullArgumentEvictsDefaultContext1 msPassed
evictByNullIdentifierThrowsNPX2 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses3 msPassed
evictRemovesInstanceDescriptor0 msPassed
getByNonMatchingClassReturnsNull2 msPassed
getByUnknownIdReturnsNull0 msPassed
getReturnsNullWhenDescriptorsDoNotMatch0 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull0 msPassed
testAddIntoContext0 msPassed
testAddToDefault1 msPassed
testConstructorInvalidSweepRate3 msPassed
testConstructorNumberInvalid3 msPassed
testContainsDefault1 msPassed
testContainsWithContext0 msPassed
testEvictByContextClassAndPrimaryKey2 msPassed
testEvictWithSweeper5 secPassed
testGetObject1 msPassed
testRefreshTTL4 secPassed