Skip to content

Test Result : LruCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException0 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother0 msPassed
addReplacesInstanceTogetherWithDescriptor0 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords1 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode0 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch1 msPassed
containsWithNullArgumentsReturnsFalse1 msPassed
entryGetsEvictedWhenCacheIsFull1 msPassed
evictAllRemovesAllRecords6 msPassed
evictByClassRemovesClassMapWhenEvictedWasLastItem4 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByClassThrowsNPXForNullArgument0 msPassed
evictByContextRemovesContextMap1 msPassed
evictByContextRemovesInstanceDescriptors0 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed0 msPassed
evictByContextWithNullArgumentEvictsDefaultContext0 msPassed
evictByNullIdentifierThrowsNPX0 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor0 msPassed
getByNonMatchingClassReturnsNull1 msPassed
getByUnknownIdReturnsNull1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull0 msPassed
getWithWrongContextReturnsNull1 msPassed
initializationWithInvalidCapacityUsesDefaultValue0 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull1 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext1 msPassed
testAddIntoContext1 msPassed
testAddToDefault0 msPassed
testContainsDefault1 msPassed
testContainsWithContext0 msPassed
testEvictByClass1 msPassed
testEvictByContext0 msPassed
testEvictByContextClassAndPrimaryKey1 msPassed
testGetObject1 msPassed
testInitWithCustomCapacity0 msPassed
testInitWithDefaultCapacity1 msPassed