Skip to content

Test Result : ObjectOntologyMapperTest

0 failures (±0)
29 tests (±0)
Took 3.5 sec.

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges0.15 secPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown68 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.15 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType0.12 secPassed
getReferenceReturnsReferenceObjectOfRequestedEntityTypeWithIdentifierSet74 msPassed
getReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown76 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere0.12 secPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere0.14 secPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences77 msPassed
loadEntityPutsItIntoSecondLevelCache0.19 secPassed
loadEntitySkipsCacheWhenNothingIsFound86 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown71 msPassed
persistPersistsPendingAssertionIntoCorrectContext70 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.45 secPassed
persistSavesPendingReferencedListContainingPersistedInstance0.15 secPassed
persistSavesPendingSimpleListContainingPersistedInstance0.12 secPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes68 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved0.1 secPassed
removesEntityWithEmptyDescriptor67 msPassed
testGetEntityFromCacheOrOntologyFromCache0.12 secPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances0.12 secPassed
testLoadFieldValue67 msPassed
testLoadFieldValueStorageException0.12 secPassed
testPersistEntity68 msPassed
testRegisterInstance66 msPassed
throwsStorageAccessWhenRemovingEntity0.14 secPassed
updateFieldValueRemovesPendingReference0.12 secPassed
updatesFieldValueInTheOntology0.11 secPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.16 secPassed