Skip to content

Test Result : LruCacheManagerTest

0 failures (-1)
40 tests (±0)
Took 40 ms.

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException0 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother0 msPassed
addReplacesInstanceTogetherWithDescriptor0 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords1 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier1 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch2 msPassed
containsWithNullArgumentsReturnsFalse0 msPassed
entryGetsEvictedWhenCacheIsFull1 msPassed
evictAllRemovesAllRecords2 msPassed
evictByClassRemovesClassMapWhenEvictedWasLastItem4 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesContextMap0 msPassed
evictByContextRemovesInstanceDescriptors0 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext1 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull1 msPassed
getByUnknownIdReturnsNull1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch13 msFixed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull0 msPassed
initializationWithInvalidCapacityUsesDefaultValue0 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull2 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext1 msPassed
testAddIntoContext0 msPassed
testAddToDefault0 msPassed
testContainsDefault0 msPassed
testContainsWithContext0 msPassed
testEvictByClass0 msPassed
testEvictByContext0 msPassed
testEvictByContextClassAndPrimaryKey0 msPassed
testGetObject1 msPassed
testInitWithCustomCapacity0 msPassed
testInitWithDefaultCapacity0 msPassed