Skip to content

Test Result : ObjectOntologyMapperTest

0 failures (±0)
34 tests (±0)
Took 0.5 sec.

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges11 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown11 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache35 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType11 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere0 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere11 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences21 msPassed
loadEntityPutsItIntoSecondLevelCache11 msPassed
loadEntitySkipsCacheWhenNothingIsFound20 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader14 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection12 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection12 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses12 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown22 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown14 msPassed
persistPersistsPendingAssertionIntoCorrectContext12 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject33 msPassed
persistSavesPendingReferencedListContainingPersistedInstance11 msPassed
persistSavesPendingSimpleListContainingPersistedInstance13 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes30 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved12 msPassed
removesEntityWithEmptyDescriptor7 msPassed
testGetEntityFromCacheOrOntologyFromCache10 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances11 msPassed
testLoadFieldValue13 msPassed
testLoadFieldValueEmpty11 msPassed
testLoadFieldValueStorageException11 msPassed
testPersistEntity18 msPassed
testPersistEntityWithGeneratedURI12 msPassed
testRegisterInstance17 msPassed
throwsStorageAccessWhenRemovingEntity13 msPassed
updateFieldValueRemovesPendingReference13 msPassed
updatesFieldValueInTheOntology11 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes26 msPassed