Skip to content

Test Result : LruCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException1 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother0 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords0 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier1 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode0 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch0 msPassed
containsWithNullArgumentsReturnsFalse0 msPassed
entryGetsEvictedWhenCacheIsFull0 msPassed
evictAllRemovesAllRecords0 msPassed
evictByClassRemovesInstanceDescriptors1 msPassed
evictByClassThrowsNPXForNullArgument0 msPassed
evictByContextRemovesInstanceDescriptors1 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext2 msPassed
evictByNullIdentifierThrowsNPX0 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor0 msPassed
getByNonMatchingClassReturnsNull1 msPassed
getByUnknownIdReturnsNull1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull0 msPassed
getWithWrongContextReturnsNull1 msPassed
initializationWithInvalidCapacityUsesDefaultValue1 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull2 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext1 msPassed
testAddIntoContext1 msPassed
testAddToDefault0 msPassed
testContainsDefault0 msPassed
testContainsWithContext1 msPassed
testEvictByClass1 msPassed
testEvictByContext1 msPassed
testEvictByContextClassAndPrimaryKey0 msPassed
testGetObject0 msPassed
testInitWithCustomCapacity0 msPassed
testInitWithDefaultCapacity0 msPassed