Skip to content

Test Result : ObjectOntologyMapperTest

0 failures (±0)
34 tests (±0)
Took 1 sec.

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges31 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown30 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache38 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType28 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere25 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere27 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences30 msPassed
loadEntityPutsItIntoSecondLevelCache27 msPassed
loadEntitySkipsCacheWhenNothingIsFound20 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader32 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection28 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection21 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses21 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown41 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown38 msPassed
persistPersistsPendingAssertionIntoCorrectContext23 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject45 msPassed
persistSavesPendingReferencedListContainingPersistedInstance29 msPassed
persistSavesPendingSimpleListContainingPersistedInstance30 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes22 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved26 msPassed
removesEntityWithEmptyDescriptor29 msPassed
testGetEntityFromCacheOrOntologyFromCache30 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances25 msPassed
testLoadFieldValue27 msPassed
testLoadFieldValueEmpty27 msPassed
testLoadFieldValueStorageException57 msPassed
testPersistEntity23 msPassed
testPersistEntityWithGeneratedURI26 msPassed
testRegisterInstance18 msPassed
throwsStorageAccessWhenRemovingEntity27 msPassed
updateFieldValueRemovesPendingReference26 msPassed
updatesFieldValueInTheOntology30 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes52 msPassed