Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges17 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown18 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache26 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType16 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere17 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere17 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences18 msPassed
loadEntityPutsItIntoSecondLevelCache17 msPassed
loadEntitySkipsCacheWhenNothingIsFound18 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader18 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection17 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection16 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses17 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown23 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown22 msPassed
persistPersistsPendingAssertionIntoCorrectContext16 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject26 msPassed
persistSavesPendingReferencedListContainingPersistedInstance19 msPassed
persistSavesPendingSimpleListContainingPersistedInstance18 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes17 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved17 msPassed
removesEntityWithEmptyDescriptor17 msPassed
testGetEntityFromCacheOrOntologyFromCache17 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances20 msPassed
testLoadFieldValue17 msPassed
testLoadFieldValueStorageException17 msPassed
testPersistEntity18 msPassed
testPersistEntityWithGeneratedURI18 msPassed
testRegisterInstance17 msPassed
throwsStorageAccessWhenRemovingEntity18 msPassed
updateFieldValueRemovesPendingReference19 msPassed
updatesFieldValueInTheOntology17 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes26 msPassed