Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges51 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown37 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache46 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType46 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere54 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere48 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences37 msPassed
loadEntityPutsItIntoSecondLevelCache49 msPassed
loadEntitySkipsCacheWhenNothingIsFound35 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader35 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection34 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection34 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses34 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown42 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown41 msPassed
persistPersistsPendingAssertionIntoCorrectContext35 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject44 msPassed
persistSavesPendingReferencedListContainingPersistedInstance46 msPassed
persistSavesPendingSimpleListContainingPersistedInstance46 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes35 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved34 msPassed
removesEntityWithEmptyDescriptor35 msPassed
testGetEntityFromCacheOrOntologyFromCache45 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances45 msPassed
testLoadFieldValue35 msPassed
testLoadFieldValueStorageException37 msPassed
testPersistEntity34 msPassed
testPersistEntityWithGeneratedURI35 msPassed
testRegisterInstance34 msPassed
throwsStorageAccessWhenRemovingEntity47 msPassed
updateFieldValueRemovesPendingReference35 msPassed
updatesFieldValueInTheOntology45 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes45 msPassed