Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges20 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown24 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache31 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType20 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere20 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere20 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences22 msPassed
loadEntityPutsItIntoSecondLevelCache21 msPassed
loadEntitySkipsCacheWhenNothingIsFound21 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader22 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection22 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection30 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses20 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown27 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown26 msPassed
persistPersistsPendingAssertionIntoCorrectContext21 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject29 msPassed
persistSavesPendingReferencedListContainingPersistedInstance20 msPassed
persistSavesPendingSimpleListContainingPersistedInstance20 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes21 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved20 msPassed
removesEntityWithEmptyDescriptor20 msPassed
testGetEntityFromCacheOrOntologyFromCache20 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances19 msPassed
testLoadFieldValue21 msPassed
testLoadFieldValueStorageException21 msPassed
testPersistEntity21 msPassed
testPersistEntityWithGeneratedURI20 msPassed
testRegisterInstance20 msPassed
throwsStorageAccessWhenRemovingEntity21 msPassed
updateFieldValueRemovesPendingReference21 msPassed
updatesFieldValueInTheOntology21 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes31 msPassed