Skip to content

Test Result : LruCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException0 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother0 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords0 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord1 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier0 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch0 msPassed
containsWithNullArgumentsReturnsFalse0 msPassed
entryGetsEvictedWhenCacheIsFull1 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesClassMapWhenEvictedWasLastItem6 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByClassThrowsNPXForNullArgument0 msPassed
evictByContextRemovesContextMap3 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed0 msPassed
evictByContextWithNullArgumentEvictsDefaultContext0 msPassed
evictByNullIdentifierThrowsNPX0 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses0 msPassed
evictRemovesInstanceDescriptor0 msPassed
getByNonMatchingClassReturnsNull1 msPassed
getByUnknownIdReturnsNull0 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull0 msPassed
getWithWrongContextReturnsNull0 msPassed
initializationWithInvalidCapacityUsesDefaultValue1 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull1 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext1 msPassed
testAddIntoContext0 msPassed
testAddToDefault1 msPassed
testContainsDefault0 msPassed
testContainsWithContext1 msPassed
testEvictByClass1 msPassed
testEvictByContext0 msPassed
testEvictByContextClassAndPrimaryKey0 msPassed
testGetObject1 msPassed
testInitWithCustomCapacity0 msPassed
testInitWithDefaultCapacity1 msPassed