Skip to content

Test Result : TtlCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException1 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords1 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier5 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode0 msPassed
closeShutsDownSweeper3 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch1 msPassed
containsWithNullArgumentsReturnsFalse1 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesInstanceDescriptors3 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext3 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull2 msPassed
getByUnknownIdReturnsNull0 msPassed
getLoadStateDescriptorReturnsLoadStateDescriptorAssociatedWithSpecifiedCacheEntry0 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull1 msPassed
testAddIntoContext1 msPassed
testAddToDefault2 msPassed
testConstructorInvalidSweepRate1 msPassed
testConstructorNumberInvalid3 msPassed
testContainsDefault1 msPassed
testContainsWithContext0 msPassed
testEvictByContextClassAndIdentifier1 msPassed
testEvictWithSweeper5 secPassed
testGetObject0 msPassed
testRefreshTTL4 secPassed