Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges36 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown39 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache64 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType36 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere38 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere38 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences43 msPassed
loadEntityPutsItIntoSecondLevelCache40 msPassed
loadEntitySkipsCacheWhenNothingIsFound50 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader48 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection37 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection37 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses37 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown43 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown34 msPassed
persistPersistsPendingAssertionIntoCorrectContext49 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject60 msPassed
persistSavesPendingReferencedListContainingPersistedInstance36 msPassed
persistSavesPendingSimpleListContainingPersistedInstance42 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes36 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved40 msPassed
removesEntityWithEmptyDescriptor32 msPassed
testGetEntityFromCacheOrOntologyFromCache36 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances36 msPassed
testLoadFieldValue65 msPassed
testLoadFieldValueStorageException38 msPassed
testPersistEntity40 msPassed
testPersistEntityWithGeneratedURI47 msPassed
testRegisterInstance40 msPassed
throwsStorageAccessWhenRemovingEntity38 msPassed
updateFieldValueRemovesPendingReference60 msPassed
updatesFieldValueInTheOntology36 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes50 msPassed