Skip to content

Test Result : LruCacheManagerTest

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

All Tests

Test nameDurationStatus
addNullThrowsNullPointerException0 msPassed
addRemovesOldDescriptorWhenInstanceIsReplacedByAnother0 msPassed
addReplacesInstanceTogetherWithDescriptor1 msPassed
addWithSameIdToDifferentContextsRetainsBothRecords0 msPassed
addingWithDuplicateIdentifierReplacesExistingRecord0 msPassed
cacheAddWithStringIdentifier0 msPassed
cacheEvictWithStringIdentifier1 msPassed
cacheSupportsEntitiesOverridingEqualsAndHashCode0 msPassed
containsReturnsFalseWhenDescriptorsDoNotMatch0 msPassed
containsWithNullArgumentsReturnsFalse1 msPassed
entryGetsEvictedWhenCacheIsFull0 msPassed
evictAllRemovesAllRecords0 msPassed
evictByClassRemovesInstanceDescriptors0 msPassed
evictByClassThrowsNPXForNullArgument0 msPassed
evictByContextRemovesInstanceDescriptors0 msPassed
evictByContextRetainsRecordsWhenUnknownContextIsUsed1 msPassed
evictByContextWithNullArgumentEvictsDefaultContext1 msPassed
evictByNullIdentifierThrowsNPX1 msPassed
evictInferredClassesRemovesInstancesOfInferredClasses1 msPassed
evictRemovesInstanceDescriptor1 msPassed
getByNonMatchingClassReturnsNull0 msPassed
getByUnknownIdReturnsNull1 msPassed
getReturnsNullWhenDescriptorsDoNotMatch1 msPassed
getWithNullIdReturnsNull1 msPassed
getWithWrongContextReturnsNull0 msPassed
initializationWithInvalidCapacityUsesDefaultValue0 msPassed
leastRecentlyUsedEntriesAreEvictedWhenCacheIsFull1 msPassed
leastRecentlyUsedEntryGetsEvictedWhenCacheIsFull_withContext1 msPassed
testAddIntoContext0 msPassed
testAddToDefault0 msPassed
testContainsDefault0 msPassed
testContainsWithContext0 msPassed
testEvictByClass0 msPassed
testEvictByContext1 msPassed
testEvictByContextClassAndPrimaryKey0 msPassed
testGetObject0 msPassed
testInitWithCustomCapacity1 msPassed
testInitWithDefaultCapacity0 msPassed