Skip to content

Test Result : ObjectOntologyMapperTest

0 failures (±0)
31 tests (+2)
Took 4.3 sec.

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges93 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown88 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.19 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType90 msPassed
getReferenceReturnsReferenceObjectOfRequestedEntityTypeWithIdentifierSet0.14 secPassed
getReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown95 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere0.17 secPassed
loadEntityDoesNotPutIntoSecondLevelCacheWhenBypassCache0.15 secPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere89 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences0.1 secPassed
loadEntityPutsItIntoSecondLevelCache88 msPassed
loadEntitySkipsCacheWhenNothingIsFound0.11 secPassed
loadFieldValueRemovesExplicitAxiomsWhenAttributeMappingHasIncludeExplicitFalse91 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.16 secPassed
persistPersistsPendingAssertionIntoCorrectContext0.11 secPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.51 secPassed
persistSavesPendingReferencedListContainingPersistedInstance89 msPassed
persistSavesPendingSimpleListContainingPersistedInstance0.12 secPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes88 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved0.14 secPassed
removesEntityWithEmptyDescriptor0.19 secPassed
testGetEntityFromCacheOrOntologyFromCache89 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances0.1 secPassed
testLoadFieldValue0.18 secPassed
testLoadFieldValueStorageException0.21 secPassed
testPersistEntity0.14 secPassed
testRegisterInstance0.1 secPassed
throwsStorageAccessWhenRemovingEntity92 msPassed
updateFieldValueRemovesPendingReference0.14 secPassed
updatesFieldValueInTheOntology89 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.21 secPassed