Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges54 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown73 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.18 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType55 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere57 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere54 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences31 msPassed
loadEntityPutsItIntoSecondLevelCache57 msPassed
loadEntitySkipsCacheWhenNothingIsFound70 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader30 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection29 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection32 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses25 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.15 secPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown76 msPassed
persistPersistsPendingAssertionIntoCorrectContext30 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.32 secPassed
persistSavesPendingReferencedListContainingPersistedInstance53 msPassed
persistSavesPendingSimpleListContainingPersistedInstance59 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes26 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved54 msPassed
removesEntityWithEmptyDescriptor63 msPassed
testGetEntityFromCacheOrOntologyFromCache52 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances54 msPassed
testLoadFieldValue54 msPassed
testLoadFieldValueStorageException82 msPassed
testPersistEntity26 msPassed
testPersistEntityWithGeneratedURI54 msPassed
testRegisterInstance25 msPassed
throwsStorageAccessWhenRemovingEntity54 msPassed
updateFieldValueRemovesPendingReference56 msPassed
updatesFieldValueInTheOntology55 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.16 secPassed