Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges94 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.1 secPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.18 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType88 msPassed
getReferenceReturnsReferenceObjectOfRequestedEntityTypeWithIdentifierSet0.15 secPassed
getReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.1 secPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere0.1 secPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere89 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences0.11 secPassed
loadEntityPutsItIntoSecondLevelCache0.13 secPassed
loadEntitySkipsCacheWhenNothingIsFound0.11 secPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.16 secPassed
persistPersistsPendingAssertionIntoCorrectContext0.1 secPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.55 secPassed
persistSavesPendingReferencedListContainingPersistedInstance87 msPassed
persistSavesPendingSimpleListContainingPersistedInstance0.1 secPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes0.1 secPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved0.1 secPassed
removesEntityWithEmptyDescriptor86 msPassed
testGetEntityFromCacheOrOntologyFromCache85 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances85 msPassed
testLoadFieldValue0.1 secPassed
testLoadFieldValueStorageException0.1 secPassed
testPersistEntity0.1 secPassed
testRegisterInstance0.1 secPassed
throwsStorageAccessWhenRemovingEntity86 msPassed
updateFieldValueRemovesPendingReference0.1 secPassed
updatesFieldValueInTheOntology84 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.17 secPassed