Skip to content

Test Result : ObjectOntologyMapperTest

0 failures (±0)
33 tests (±0)
Took 0.76 sec.

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges21 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown24 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache33 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType20 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere22 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere25 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences23 msPassed
loadEntityPutsItIntoSecondLevelCache21 msPassed
loadEntitySkipsCacheWhenNothingIsFound22 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader21 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection20 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection21 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses22 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown29 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown27 msPassed
persistPersistsPendingAssertionIntoCorrectContext21 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject31 msPassed
persistSavesPendingReferencedListContainingPersistedInstance21 msPassed
persistSavesPendingSimpleListContainingPersistedInstance21 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes22 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved26 msPassed
removesEntityWithEmptyDescriptor22 msPassed
testGetEntityFromCacheOrOntologyFromCache21 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances20 msPassed
testLoadFieldValue21 msPassed
testLoadFieldValueStorageException22 msPassed
testPersistEntity23 msPassed
testPersistEntityWithGeneratedURI22 msPassed
testRegisterInstance21 msPassed
throwsStorageAccessWhenRemovingEntity21 msPassed
updateFieldValueRemovesPendingReference22 msPassed
updatesFieldValueInTheOntology21 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes37 msPassed