Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException8 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother8 msPassed
addReplacesInstanceTogetherWithDescriptor16 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords8 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord13 msPassed
cacheAddWithStringIdentifier16 msPassed
cacheEvictWithStringIdentifier11 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode8 msPassed
closeShutsDownSweeper25 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch16 msPassed
containsWithNullArgumentsReturnsFalse15 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesInstanceDescriptors8 msPassed
evictByClassThrowsNPXForNullArgument8 msPassed
evictByContextRemovesInstanceDescriptors17 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed16 msPassed
evictByContextWithNullArgumentEvictsDefaultContext16 msPassed
evictByNullIdentifierThrowsNPX12 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses16 msPassed
evictRemovesInstanceDescriptor8 msPassed
getByNonMatchingClassReturnsNull8 msPassed
getByUnknownIdReturnsNull16 msPassed
getReturnsNullWhenDescriptorsDoNotMatch5 msPassed
getWithNullIdReturnsNull19 msPassed
getWithWrongContextReturnsNull8 msPassed
testAddIntoContext16 msPassed
testAddToDefault8 msPassed
testConstructorInvalidSweepRate2 msPassed
testConstructorNumberInvalid21 msPassed
testContainsDefault8 msPassed
testContainsWithContext16 msPassed
testEvictByContextClassAndPrimaryKey4 msPassed
testEvictWithSweeper0.15 secPassed
testGetObject7 msPassed
testRefreshTTL5 secPassed