Skip to content

Test Result : ObjectOntologyMapperTest

0 failures (±0)
32 tests (±0)
Took 3 sec.

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges61 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown77 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.19 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType72 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere75 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere60 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences0.1 secPassed
loadEntityPutsItIntoSecondLevelCache64 msPassed
loadEntitySkipsCacheWhenNothingIsFound99 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader76 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection80 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection78 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses78 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown84 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown81 msPassed
persistPersistsPendingAssertionIntoCorrectContext82 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.43 secPassed
persistSavesPendingReferencedListContainingPersistedInstance72 msPassed
persistSavesPendingSimpleListContainingPersistedInstance77 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes89 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved0.11 secPassed
removesEntityWithEmptyDescriptor72 msPassed
testGetEntityFromCacheOrOntologyFromCache72 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances70 msPassed
testLoadFieldValue77 msPassed
testLoadFieldValueStorageException81 msPassed
testPersistEntity86 msPassed
testRegisterInstance87 msPassed
throwsStorageAccessWhenRemovingEntity0.1 secPassed
updateFieldValueRemovesPendingReference66 msPassed
updatesFieldValueInTheOntology70 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.15 secPassed