Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges30 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown33 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache49 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType30 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere30 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere29 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences33 msPassed
loadEntityPutsItIntoSecondLevelCache30 msPassed
loadEntitySkipsCacheWhenNothingIsFound32 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader31 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection29 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection30 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses30 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown36 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown37 msPassed
persistPersistsPendingAssertionIntoCorrectContext29 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject41 msPassed
persistSavesPendingReferencedListContainingPersistedInstance30 msPassed
persistSavesPendingSimpleListContainingPersistedInstance29 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes29 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved29 msPassed
removesEntityWithEmptyDescriptor30 msPassed
testGetEntityFromCacheOrOntologyFromCache30 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances28 msPassed
testLoadFieldValue33 msPassed
testLoadFieldValueStorageException31 msPassed
testPersistEntity31 msPassed
testPersistEntityWithGeneratedURI32 msPassed
testRegisterInstance31 msPassed
throwsStorageAccessWhenRemovingEntity31 msPassed
updateFieldValueRemovesPendingReference32 msPassed
updatesFieldValueInTheOntology29 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes43 msPassed