Skip to content

Test Result : LruCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException1 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother0 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords0 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch0 msPassed
containsWithNullArgumentsReturnsFalse0 msPassed
entryGetsEvictedWhenCacheIsFull1 msPassed
evictAllRemovesAllRecords2 msPassed
evictByClassRemovesClassMapWhenEvictedWasLastItem3 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesContextMap1 msPassed
evictByContextRemovesInstanceDescriptors0 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext0 msPassed
evictByNullIdentifierThrowsNPX0 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor0 msPassed
getByNonMatchingClassReturnsNull0 msPassed
getByUnknownIdReturnsNull0 msPassed
getReturnsNullWhenDescriptorsDoNotMatch12 msPassed
getWithNullIdReturnsNull0 msPassed
getWithWrongContextReturnsNull1 msPassed
initializationWithInvalidCapacityUsesDefaultValue1 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull1 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext1 msPassed
testAddIntoContext0 msPassed
testAddToDefault1 msPassed
testContainsDefault0 msPassed
testContainsWithContext0 msPassed
testEvictByClass1 msPassed
testEvictByContext1 msPassed
testEvictByContextClassAndPrimaryKey0 msPassed
testGetObject0 msPassed
testInitWithCustomCapacity0 msPassed
testInitWithDefaultCapacity0 msPassed