Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges18 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown23 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache28 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType18 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere18 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere19 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences21 msPassed
loadEntityPutsItIntoSecondLevelCache19 msPassed
loadEntitySkipsCacheWhenNothingIsFound20 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader20 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection19 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection23 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses19 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown24 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown25 msPassed
persistPersistsPendingAssertionIntoCorrectContext20 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject27 msPassed
persistSavesPendingReferencedListContainingPersistedInstance19 msPassed
persistSavesPendingSimpleListContainingPersistedInstance18 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes18 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved18 msPassed
removesEntityWithEmptyDescriptor19 msPassed
testGetEntityFromCacheOrOntologyFromCache18 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances18 msPassed
testLoadFieldValue20 msPassed
testLoadFieldValueStorageException19 msPassed
testPersistEntity19 msPassed
testPersistEntityWithGeneratedURI18 msPassed
testRegisterInstance19 msPassed
throwsStorageAccessWhenRemovingEntity19 msPassed
updateFieldValueRemovesPendingReference19 msPassed
updatesFieldValueInTheOntology18 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes27 msPassed