Skip to content

Test Result : LruCacheManagerTest

0 failures (±0)
38 tests (±0)
Took 30 ms.

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException0 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords0 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier1 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode1 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch1 msPassed
containsWithNullArgumentsReturnsFalse1 msPassed
entryGetsEvictedWhenCacheIsFull2 msPassed
evictAllRemovesAllRecords0 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument0 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext4 msPassed
evictByNullIdentifierThrowsNPX0 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses2 msPassed
evictRemovesInstanceDescriptor0 msPassed
getByNonMatchingClassReturnsNull0 msPassed
getByUnknownIdReturnsNull0 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull2 msPassed
initializationWithInvalidCapacityUsesDefaultValue1 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull3 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext0 msPassed
testAddIntoContext0 msPassed
testAddToDefault1 msPassed
testContainsDefault0 msPassed
testContainsWithContext0 msPassed
testEvictByClass0 msPassed
testEvictByContext0 msPassed
testEvictByContextClassAndPrimaryKey1 msPassed
testGetObject1 msPassed
testInitWithCustomCapacity1 msPassed
testInitWithDefaultCapacity0 msPassed