Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges26 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown29 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache39 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType26 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere28 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere27 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences30 msPassed
loadEntityPutsItIntoSecondLevelCache28 msPassed
loadEntitySkipsCacheWhenNothingIsFound28 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader27 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection27 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection27 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses28 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown33 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown36 msPassed
persistPersistsPendingAssertionIntoCorrectContext28 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject34 msPassed
persistSavesPendingReferencedListContainingPersistedInstance28 msPassed
persistSavesPendingSimpleListContainingPersistedInstance27 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes27 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved37 msPassed
removesEntityWithEmptyDescriptor27 msPassed
testGetEntityFromCacheOrOntologyFromCache27 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances28 msPassed
testLoadFieldValue30 msPassed
testLoadFieldValueStorageException29 msPassed
testPersistEntity28 msPassed
testPersistEntityWithGeneratedURI40 msPassed
testRegisterInstance26 msPassed
throwsStorageAccessWhenRemovingEntity29 msPassed
updateFieldValueRemovesPendingReference34 msPassed
updatesFieldValueInTheOntology27 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes40 msPassed