Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges36 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown53 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache72 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType35 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere46 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere52 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences53 msPassed
loadEntityPutsItIntoSecondLevelCache48 msPassed
loadEntitySkipsCacheWhenNothingIsFound51 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader46 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection47 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection55 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses46 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown56 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown57 msPassed
persistPersistsPendingAssertionIntoCorrectContext47 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject62 msPassed
persistSavesPendingReferencedListContainingPersistedInstance46 msPassed
persistSavesPendingSimpleListContainingPersistedInstance48 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes51 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved47 msPassed
removesEntityWithEmptyDescriptor51 msPassed
testGetEntityFromCacheOrOntologyFromCache34 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances45 msPassed
testLoadFieldValue51 msPassed
testLoadFieldValueStorageException47 msPassed
testPersistEntity49 msPassed
testPersistEntityWithGeneratedURI53 msPassed
testRegisterInstance49 msPassed
throwsStorageAccessWhenRemovingEntity48 msPassed
updateFieldValueRemovesPendingReference47 msPassed
updatesFieldValueInTheOntology47 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes71 msPassed