Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges0.1 secPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown88 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.25 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType0.1 secPassed
getReferenceReturnsReferenceObjectOfRequestedEntityTypeWithIdentifierSet93 msPassed
getReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown93 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere85 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere0.1 secPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences0.18 secPassed
loadEntityPutsItIntoSecondLevelCache0.15 secPassed
loadEntitySkipsCacheWhenNothingIsFound0.17 secPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown91 msPassed
persistPersistsPendingAssertionIntoCorrectContext0.17 secPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.64 secPassed
persistSavesPendingReferencedListContainingPersistedInstance0.1 secPassed
persistSavesPendingSimpleListContainingPersistedInstance0.16 secPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes0.11 secPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved88 msPassed
removesEntityWithEmptyDescriptor87 msPassed
testGetEntityFromCacheOrOntologyFromCache0.1 secPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances83 msPassed
testLoadFieldValue0.1 secPassed
testLoadFieldValueStorageException90 msPassed
testPersistEntity0.16 secPassed
testRegisterInstance0.14 secPassed
throwsStorageAccessWhenRemovingEntity0.1 secPassed
updateFieldValueRemovesPendingReference87 msPassed
updatesFieldValueInTheOntology86 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.16 secPassed