Skip to content

Test Result : ObjectOntologyMapperTest

0 failures (±0)
31 tests (±0)
Took 3.3 sec.

All Tests

Test nameDurationStatus
checkForUnpersistedChangesThrowsPendingPersistExceptionWhenThereArePendingChanges99 msPassed
containsEntityThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.1 secPassed
getEntityFromCacheOrOntologyLoadsEntityWhenItIsNotInCache0.15 secPassed
getEntityFromCacheOrOntologyThrowsEntityExistsWhenObjectIsAlreadyRegisteredUnderDifferentType0.1 secPassed
getReferenceReturnsReferenceObjectOfRequestedEntityTypeWithIdentifierSet0.1 secPassed
getReferencedListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.12 secPassed
loadEntityDeterminesConcreteEntityTypeAndLoadsItFromCacheWhenItIsPresentThere81 msPassed
loadEntityDoesNotPutIntoSecondLevelCacheWhenBypassCache89 msPassed
loadEntityLoadsInstanceFromCacheWhenItIsPresentThere98 msPassed
loadEntityPutsIntoSecondLevelCacheThenEntityAndEntitiesItReferences92 msPassed
loadEntityPutsItIntoSecondLevelCache97 msPassed
loadEntitySkipsCacheWhenNothingIsFound89 msPassed
loadFieldValueRemovesExplicitAxiomsWhenAttributeMappingHasIncludeExplicitFalse78 msPassed
loadSimpleListThrowsStorageAccessExceptionWhenOntoDriverExceptionIsThrown0.1 secPassed
persistPersistsPendingAssertionIntoCorrectContext83 msPassed
persistRemovesPendingAssertionsWithTargetBeingPersistedObject0.43 secPassed
persistSavesPendingReferencedListContainingPersistedInstance78 msPassed
persistSavesPendingSimpleListContainingPersistedInstance0.12 secPassed
removeEntityCreatesDescriptorForRemovalOfAllEntityAttributes85 msPassed
removeEntityRemovesPendingReferenceWhenOwnerIsRemoved79 msPassed
removesEntityWithEmptyDescriptor94 msPassed
testGetEntityFromCacheOrOntologyFromCache0.13 secPassed
testGetEntityFromCacheOrOntologyFromRegisteredInstances80 msPassed
testLoadFieldValue94 msPassed
testLoadFieldValueStorageException87 msPassed
testPersistEntity85 msPassed
testRegisterInstance82 msPassed
throwsStorageAccessWhenRemovingEntity78 msPassed
updateFieldValueRemovesPendingReference80 msPassed
updatesFieldValueInTheOntology79 msPassed
usesTwoStepInstanceLoaderForLoadingInstanceOfEntityWithSubtypes0.14 secPassed