Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges83 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.12 secPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.23 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType82 msPassed
getReferenceReturnsReferenceObjectOfRequestedEntityTypeWithIdentifierSet0.11 secPassed
getReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.1 secPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere0.11 secPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere83 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences0.22 secPassed
loadEntityPutsItIntoSecondLevelCache83 msPassed
loadEntitySkipsCacheWhenNothingIsFound0.21 secPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown97 msPassed
persistPersistsPendingAssertionIntoCorrectContext0.25 secPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.97 secPassed
persistSavesPendingReferencedListContainingPersistedInstance0.1 secPassed
persistSavesPendingSimpleListContainingPersistedInstance0.15 secPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes0.17 secPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved89 msPassed
removesEntityWithEmptyDescriptor92 msPassed
testGetEntityFromCacheOrOntologyFromCache83 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances0.1 secPassed
testLoadFieldValue85 msPassed
testLoadFieldValueStorageException0.1 secPassed
testPersistEntity0.18 secPassed
testRegisterInstance0.2 secPassed
throwsStorageAccessWhenRemovingEntity84 msPassed
updateFieldValueRemovesPendingReference87 msPassed
updatesFieldValueInTheOntology97 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.17 secPassed