Skip to content

Test Result : ObjectOntologyMapperTest

0 failures (±0)
33 tests (±0)
Took 1.8 sec.

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges27 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown27 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.19 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType26 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere31 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere26 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences38 msPassed
loadEntityPutsItIntoSecondLevelCache27 msPassed
loadEntitySkipsCacheWhenNothingIsFound72 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader36 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection27 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection85 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses26 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown49 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown37 msPassed
persistPersistsPendingAssertionIntoCorrectContext29 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.47 secPassed
persistSavesPendingReferencedListContainingPersistedInstance28 msPassed
persistSavesPendingSimpleListContainingPersistedInstance32 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes30 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved26 msPassed
removesEntityWithEmptyDescriptor29 msPassed
testGetEntityFromCacheOrOntologyFromCache25 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances26 msPassed
testLoadFieldValue27 msPassed
testLoadFieldValueStorageException59 msPassed
testPersistEntity28 msPassed
testPersistEntityWithGeneratedURI26 msPassed
testRegisterInstance25 msPassed
throwsStorageAccessWhenRemovingEntity28 msPassed
updateFieldValueRemovesPendingReference27 msPassed
updatesFieldValueInTheOntology30 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.14 secPassed