Skip to content

Test Result : LruCacheManagerTest

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

All Tests

Test nameDurationStatus
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier0 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch0 msPassed
containsWithNullArgumentsReturnsFalse1 msPassed
entryGetsEvictedWhenCacheIsFull1 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByContextRemovesInstanceDescriptors0 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictRemovesInstanceDescriptor1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
initializationWithInvalidCapacityUsesDefaultValue0 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull0 msPassed
testAdd1 msPassed
testAddNull1 msPassed
testAddToDefault1 msPassed
testAddWithDuplicateIRI0 msPassed
testAddWithDuplicateIRIToDifferentContexts1 msPassed
testContainsDefault0 msPassed
testContainsWithContext0 msPassed
testEvictAll1 msPassed
testEvictByClass3 msPassed
testEvictByClassNull1 msPassed
testEvictByContext2 msPassed
testEvictByContextAndPrimaryKey1 msPassed
testEvictByContextNull0 msPassed
testEvictByContextUnknownContext0 msPassed
testEvictInferredClass2 msPassed
testGetObject1 msPassed
testGetObjectNull0 msPassed
testGetObjectUnknownClass0 msPassed
testGetObjectUnknownPrimaryKey1 msPassed
testGetObjectWithWrongContext1 msPassed
testInitWithCustomCapacity0 msPassed
testInitWithDefaultCapacity1 msPassed