Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges6 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown8 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache32 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere7 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere6 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences15 msPassed
loadEntityPutsItIntoSecondLevelCache6 msPassed
loadEntitySkipsCacheWhenNothingIsFound12 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader11 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection12 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection15 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses15 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown28 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown12 msPassed
persistPersistsPendingAssertionIntoCorrectContext13 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject16 msPassed
persistSavesPendingReferencedListContainingPersistedInstance7 msPassed
persistSavesPendingSimpleListContainingPersistedInstance8 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes15 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved6 msPassed
removesEntityWithEmptyDescriptor7 msPassed
testGetEntityFromCacheOrOntologyFromCache7 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances6 msPassed
testLoadFieldValue7 msPassed
testLoadFieldValueEmpty15 msPassed
testLoadFieldValueStorageException7 msPassed
testPersistEntity15 msPassed
testPersistEntityWithGeneratedURI6 msPassed
testRegisterInstance14 msPassed
throwsStorageAccessWhenRemovingEntity8 msPassed
updateFieldValueRemovesPendingReference7 msPassed
updatesFieldValueInTheOntology7 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes18 msPassed