Skip to content

Test Result : LruCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException1 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother0 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords1 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord1 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier0 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch0 msPassed
containsWithNullArgumentsReturnsFalse0 msPassed
entryGetsEvictedWhenCacheIsFull0 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesClassMapWhenEvictedWasLastItem4 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByClassThrowsNPXForNullArgument2 msPassed
evictByContextRemovesContextMap1 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext1 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses0 msPassed
evictRemovesInstanceDescriptor0 msPassed
getByNonMatchingClassReturnsNull0 msPassed
getByUnknownIdReturnsNull1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch10 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull1 msPassed
initializationWithInvalidCapacityUsesDefaultValue1 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull1 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext1 msPassed
testAddIntoContext1 msPassed
testAddToDefault1 msPassed
testContainsDefault1 msPassed
testContainsWithContext0 msPassed
testEvictByClass0 msPassed
testEvictByContext1 msPassed
testEvictByContextClassAndPrimaryKey1 msPassed
testGetObject0 msPassed
testInitWithCustomCapacity0 msPassed
testInitWithDefaultCapacity0 msPassed