Skip to content

Test Result : ObjectOntologyMapperTest

0 failures (±0)
35 tests (+4)
Took 5 sec.

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges0.1 secPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.13 secPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.18 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType0.1 secPassed
getReferenceReturnsReferenceObjectOfRequestedEntityTypeWithIdentifierSet0.18 secPassed
getReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.17 secPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere0.11 secPassed
loadEntityDoesNotPutIntoSecondLevelCacheWhenBypassCache0.17 secPassed
loadEntityFromAxiomsPutsLoadedEntityToCache0.11 secPassed
loadEntityFromAxiomsReconstructsEntityFromAxiomsAndReturnsIt0.14 secPassed
loadEntityFromAxiomsResolvesConcreteClassForEntityTypeWithSubTypes0.1 secPassed
loadEntityFromAxiomsReturnsNullWhenAxiomsAreEmpty0.21 secPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere0.1 secPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences0.15 secPassed
loadEntityPutsItIntoSecondLevelCache0.1 secPassed
loadEntitySkipsCacheWhenNothingIsFound0.11 secPassed
loadFieldValueRemovesExplicitAxiomsWhenAttributeMappingHasIncludeExplicitFalse95 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.17 secPassed
persistPersistsPendingAssertionIntoCorrectContext0.11 secPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.49 secPassed
persistSavesPendingReferencedListContainingPersistedInstance93 msPassed
persistSavesPendingSimpleListContainingPersistedInstance94 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes0.13 secPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved0.15 secPassed
removesEntityWithEmptyDescriptor0.17 secPassed
testGetEntityFromCacheOrOntologyFromCache0.13 secPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances90 msPassed
testLoadFieldValue0.18 secPassed
testLoadFieldValueStorageException0.16 secPassed
testPersistEntity0.1 secPassed
testRegisterInstance0.1 secPassed
throwsStorageAccessWhenRemovingEntity93 msPassed
updateFieldValueRemovesPendingReference0.12 secPassed
updatesFieldValueInTheOntology90 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.23 secPassed