Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges29 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown31 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache44 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType29 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere30 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere29 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences30 msPassed
loadEntityPutsItIntoSecondLevelCache30 msPassed
loadEntitySkipsCacheWhenNothingIsFound30 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader29 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection29 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection29 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses29 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown36 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown35 msPassed
persistPersistsPendingAssertionIntoCorrectContext28 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject39 msPassed
persistSavesPendingReferencedListContainingPersistedInstance28 msPassed
persistSavesPendingSimpleListContainingPersistedInstance57 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes29 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved35 msPassed
removesEntityWithEmptyDescriptor29 msPassed
testGetEntityFromCacheOrOntologyFromCache28 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances29 msPassed
testLoadFieldValue40 msPassed
testLoadFieldValueStorageException34 msPassed
testPersistEntity29 msPassed
testPersistEntityWithGeneratedURI34 msPassed
testRegisterInstance28 msPassed
throwsStorageAccessWhenRemovingEntity24 msPassed
updateFieldValueRemovesPendingReference34 msPassed
updatesFieldValueInTheOntology29 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes58 msPassed