Skip to content

Test Result : ObjectOntologyMapperTest

0 failures
33 tests
Took 1.8 sec.

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges26 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown32 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.15 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType25 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere33 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere25 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences38 msPassed
loadEntityPutsItIntoSecondLevelCache26 msPassed
loadEntitySkipsCacheWhenNothingIsFound70 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader41 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection32 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection27 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses0.12 secPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown47 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown33 msPassed
persistPersistsPendingAssertionIntoCorrectContext29 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.45 secPassed
persistSavesPendingReferencedListContainingPersistedInstance25 msPassed
persistSavesPendingSimpleListContainingPersistedInstance31 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes29 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved26 msPassed
removesEntityWithEmptyDescriptor26 msPassed
testGetEntityFromCacheOrOntologyFromCache25 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances25 msPassed
testLoadFieldValue26 msPassed
testLoadFieldValueStorageException44 msPassed
testPersistEntity46 msPassed
testPersistEntityWithGeneratedURI25 msPassed
testRegisterInstance44 msPassed
throwsStorageAccessWhenRemovingEntity26 msPassed
updateFieldValueRemovesPendingReference26 msPassed
updatesFieldValueInTheOntology24 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.13 secPassed