Skip to content

Test Result : LruCacheManagerTest

0 failures (±0)
40 tests (±0)
Took 26 ms.

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException0 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother2 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords1 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier1 msPassed
cacheEvictWithStringIdentifier0 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch1 msPassed
containsWithNullArgumentsReturnsFalse0 msPassed
entryGetsEvictedWhenCacheIsFull0 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesClassMapWhenEvictedWasLastItem0 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByClassThrowsNPXForNullArgument0 msPassed
evictByContextRemovesContextMap0 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext1 msPassed
evictByNullIdentifierThrowsNPX0 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses0 msPassed
evictRemovesInstanceDescriptor0 msPassed
getByNonMatchingClassReturnsNull1 msPassed
getByUnknownIdReturnsNull0 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull0 msPassed
initializationWithInvalidCapacityUsesDefaultValue0 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull0 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext0 msPassed
testAddIntoContext0 msPassed
testAddToDefault0 msPassed
testContainsDefault0 msPassed
testContainsWithContext0 msPassed
testEvictByClass3 msPassed
testEvictByContext0 msPassed
testEvictByContextClassAndPrimaryKey7 msPassed
testGetObject1 msPassed
testInitWithCustomCapacity0 msPassed
testInitWithDefaultCapacity1 msPassed