Skip to content

Test Result : LruCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException0 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother1 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords0 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord1 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier0 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode0 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch1 msPassed
containsWithNullArgumentsReturnsFalse0 msPassed
entryGetsEvictedWhenCacheIsFull1 msPassed
evictAllRemovesAllRecords0 msPassed
evictByClassRemovesClassMapWhenEvictedWasLastItem3 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByClassThrowsNPXForNullArgument0 msPassed
evictByContextRemovesContextMap0 msPassed
evictByContextRemovesInstanceDescriptors0 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext3 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull1 msPassed
getByUnknownIdReturnsNull0 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull0 msPassed
getWithWrongContextReturnsNull1 msPassed
initializationWithInvalidCapacityUsesDefaultValue1 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull1 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext0 msPassed
testAddIntoContext0 msPassed
testAddToDefault0 msPassed
testContainsDefault0 msPassed
testContainsWithContext1 msPassed
testEvictByClass0 msPassed
testEvictByContext0 msPassed
testEvictByContextClassAndPrimaryKey1 msPassed
testGetObject0 msPassed
testInitWithCustomCapacity1 msPassed
testInitWithDefaultCapacity1 msPassed