Skip to content

Test Result : LruCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException1 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor0 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords1 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord1 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier0 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode0 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch0 msPassed
containsWithNullArgumentsReturnsFalse0 msPassed
entryGetsEvictedWhenCacheIsFull1 msPassed
evictAllRemovesAllRecords1 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByClassThrowsNPXForNullArgument1 msPassed
evictByContextRemovesInstanceDescriptors0 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed0 msPassed
evictByContextWithNullArgumentEvictsDefaultContext0 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull0 msPassed
getByUnknownIdReturnsNull1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull1 msPassed
initializationWithInvalidCapacityUsesDefaultValue1 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull1 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext0 msPassed
testAddIntoContext1 msPassed
testAddToDefault0 msPassed
testContainsDefault1 msPassed
testContainsWithContext0 msPassed
testEvictByClass0 msPassed
testEvictByContext1 msPassed
testEvictByContextClassAndPrimaryKey0 msPassed
testGetObject0 msPassed
testInitWithCustomCapacity0 msPassed
testInitWithDefaultCapacity1 msPassed