Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
95 tests (±0)
Took 3.7 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded34 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue64 msPassed
changesToRemovedObjectAreIgnoredOnCommit27 msPassed
clearCleansUpPersistenceContext25 msPassed
clearResetsCloneBuilder22 msPassed
commitDetachesPersistedInstance27 msPassed
commitEvictsInferredClassesFromCache25 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction69 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances24 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne27 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject25 msPassed
getManagedOriginalForDifferentContextReturnsNull35 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull25 msPassed
getManagedOriginalReturnsManagedOriginalInstance22 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects26 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType78 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction32 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper66 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged28 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance25 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject51 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute69 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject27 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute24 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance28 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject22 msPassed
isLoadedReturnsUnknownForUnregisteredObject25 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded52 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull22 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.1 secPassed
loadFieldLoadsLiteralValueAttribute26 msPassed
loadFieldLoadsManagedTypeAttribute24 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes62 msPassed
readAlreadyManagedObjectReturnsTheManagedOne26 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState27 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet30 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges68 msPassed
refreshOverwritesChangesSentToRepository32 msPassed
refreshOverwritesObjectPropertyChanges26 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance25 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity60 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance25 msPassed
refreshThrowsIllegalArgumentForRemovedInstance50 msPassed
registerExistingObjectInvokesPostCloneListeners26 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated31 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions54 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities52 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository50 msPassed
restoreDeletedRegistersObjectAgain36 msPassed
restoreDeletedReinsertsObjectIntoRepository27 msPassed
rollbackDetachesAllManagedEntities79 msPassed
testAttributeChanged26 msPassed
testAttributeChangedNotRegistered21 msPassed
testAttributeChangedOutsideTransaction27 msPassed
testCalculateDeletedObjects23 msPassed
testCalculateModificationsDataProperty27 msPassed
testCalculateModificationsObjectProperty30 msPassed
testCalculateNewObjects33 msPassed
testClearCacheAfterCommit53 msPassed
testCommitFailed26 msPassed
testCommitInactive22 msPassed
testContains26 msPassed
testGetContexts27 msPassed
testGetOriginal22 msPassed
testGetOriginalNull53 msPassed
testGetState25 msPassed
testGetStateWithDescriptor63 msPassed
testIsConsistent21 msPassed
testIsObjectManaged51 msPassed
testIsObjectManagerNull25 msPassed
testIsObjectNew0.1 secPassed
testIsObjectNewWithNullAndManaged66 msPassed
testLoadFieldValueNotRegistered22 msPassed
testReadObjectFromOntology62 msPassed
testReadObjectJustPersisted26 msPassed
testReadObjectNullClass22 msPassed
testReadObjectNullContext25 msPassed
testReadObjectNullPrimaryKey64 msPassed
testRegisterExistingObject25 msPassed
testRegisterExistingObjectTwice26 msPassed
testRegisterNewObject21 msPassed
testRegisterNewObjectNull25 msPassed
testRegisterNewObjectNullDescriptor25 msPassed
testReleaseUnitOfWork45 msPassed
testRemoveNewObject22 msPassed
testRemoveObjectFromCache21 msPassed
testRemoveObjectNotRegistered59 msPassed
testRollback30 msPassed
testRollbackInactive58 msPassed
testUnregisterObject22 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit30 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit73 msPassed
unregisterObjectRemovesItFromCloneBuilderCache61 msPassed
unwrapReturnsItselfWhenClassMatches24 msPassed