Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges80 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown72 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.14 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType83 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere73 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere79 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences97 msPassed
loadEntityPutsItIntoSecondLevelCache82 msPassed
loadEntitySkipsCacheWhenNothingIsFound88 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader0.11 secPassed
loadReferenceUsesContextWhenGettingDataFromConnection97 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection94 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses81 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown82 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.13 secPassed
persistPersistsPendingAssertionIntoCorrectContext98 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.48 secPassed
persistSavesPendingReferencedListContainingPersistedInstance81 msPassed
persistSavesPendingSimpleListContainingPersistedInstance80 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes78 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved71 msPassed
removesEntityWithEmptyDescriptor70 msPassed
testGetEntityFromCacheOrOntologyFromCache82 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances74 msPassed
testLoadFieldValue72 msPassed
testLoadFieldValueStorageException71 msPassed
testPersistEntity88 msPassed
testRegisterInstance93 msPassed
throwsStorageAccessWhenRemovingEntity86 msPassed
updateFieldValueRemovesPendingReference72 msPassed
updatesFieldValueInTheOntology77 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.14 secPassed