Skip to content

Test Result : ObjectOntologyMapperTest

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

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges21 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown22 msPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache32 msPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType20 msPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere20 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere20 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences23 msPassed
loadEntityPutsItIntoSecondLevelCache21 msPassed
loadEntitySkipsCacheWhenNothingIsFound22 msPassed
loadReferenceRetrievesEntityReferenceViaDefaultInstanceLoader21 msPassed
loadReferenceUsesContextWhenGettingDataFromConnection20 msPassed
loadReferenceUsesContextWhenGettingTypesFromConnection20 msPassed
loadReferenceUsesTwoStepLoaderWhenEntityTypeHasSubclasses21 msPassed
loadReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown26 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown26 msPassed
persistPersistsPendingAssertionIntoCorrectContext21 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject31 msPassed
persistSavesPendingReferencedListContainingPersistedInstance21 msPassed
persistSavesPendingSimpleListContainingPersistedInstance21 msPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes20 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved19 msPassed
removesEntityWithEmptyDescriptor21 msPassed
testGetEntityFromCacheOrOntologyFromCache37 msPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances19 msPassed
testLoadFieldValue22 msPassed
testLoadFieldValueStorageException21 msPassed
testPersistEntity23 msPassed
testPersistEntityWithGeneratedURI20 msPassed
testRegisterInstance20 msPassed
throwsStorageAccessWhenRemovingEntity21 msPassed
updateFieldValueRemovesPendingReference20 msPassed
updatesFieldValueInTheOntology20 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes31 msPassed