Skip to content

Test Result : LruCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException1 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords0 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch0 msPassed
containsWithNullArgumentsReturnsFalse1 msPassed
entryGetsEvictedWhenCacheIsFull0 msPassed
evictAllRemovesAllRecords0 msPassed
evictByClassRemovesClassMapWhenEvictedWasLastItem4 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument0 msPassed
evictByContextRemovesContextMap1 msPassed
evictByContextRemovesInstanceDescriptors0 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext0 msPassed
evictByNullIdentifierThrowsNPX0 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull0 msPassed
getByUnknownIdReturnsNull0 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull0 msPassed
getWithWrongContextReturnsNull0 msPassed
initializationWithInvalidCapacityUsesDefaultValue1 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull2 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext0 msPassed
testAddIntoContext0 msPassed
testAddToDefault1 msPassed
testContainsDefault1 msPassed
testContainsWithContext1 msPassed
testEvictByClass1 msPassed
testEvictByContext1 msPassed
testEvictByContextClassAndPrimaryKey1 msPassed
testGetObject0 msPassed
testInitWithCustomCapacity1 msPassed
testInitWithDefaultCapacity0 msPassed