Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
96 tests (+1)
Took 2.8 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded27 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue29 msPassed
changesToRemovedObjectAreIgnoredOnCommit23 msPassed
clearCleansUpPersistenceContext24 msPassed
clearResetsCloneBuilder24 msPassed
commitDetachesPersistedInstance23 msPassed
commitEvictsInferredClassesFromCache28 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction23 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances26 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne24 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject23 msPassed
getManagedOriginalForDifferentContextReturnsNull47 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull26 msPassed
getManagedOriginalReturnsManagedOriginalInstance24 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects29 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType23 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction27 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper24 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged23 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance28 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject23 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute80 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject21 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute22 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance26 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject23 msPassed
isLoadedReturnsUnknownForUnregisteredObject45 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded24 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull23 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded24 msPassed
loadFieldLoadsLiteralValueAttribute0.12 secPassed
loadFieldLoadsManagedTypeAttribute52 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes30 msPassed
readAlreadyManagedObjectReturnsTheManagedOne23 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState26 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet23 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges26 msPassed
refreshOverwritesChangesSentToRepository23 msPassed
refreshOverwritesObjectPropertyChanges25 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance24 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity52 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance26 msPassed
refreshThrowsIllegalArgumentForRemovedInstance23 msPassed
registerExistingObjectInvokesPostCloneListeners22 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated23 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions23 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities22 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository22 msPassed
restoreDeletedRegistersObjectAgain21 msPassed
restoreDeletedReinsertsObjectIntoRepository22 msPassed
rollbackDetachesAllManagedEntities26 msPassed
testAttributeChanged31 msPassed
testAttributeChangedNotRegistered23 msPassed
testAttributeChangedOutsideTransaction25 msPassed
testCalculateDeletedObjects23 msPassed
testCalculateModificationsDataProperty23 msPassed
testCalculateModificationsObjectProperty25 msPassed
testCalculateNewObjects31 msPassed
testClearCacheAfterCommit23 msPassed
testCommitFailed52 msPassed
testCommitInactive21 msPassed
testContains28 msPassed
testGetContexts22 msPassed
testGetOriginal23 msPassed
testGetOriginalNull22 msPassed
testGetState27 msPassed
testGetStateWithDescriptor22 msPassed
testIsConsistent23 msPassed
testIsObjectManaged22 msPassed
testIsObjectManagerNull50 msPassed
testIsObjectNew22 msPassed
testIsObjectNewWithNullAndManaged23 msPassed
testLoadFieldValueNotRegistered23 msPassed
testReadObjectFromOntology22 msPassed
testReadObjectJustPersisted24 msPassed
testReadObjectNullClass21 msPassed
testReadObjectNullContext27 msPassed
testReadObjectNullPrimaryKey22 msPassed
testRegisterExistingObject59 msPassed
testRegisterExistingObjectTwice22 msPassed
testRegisterNewObject23 msPassed
testRegisterNewObjectNull15 msPassed
testRegisterNewObjectNullDescriptor22 msPassed
testReleaseUnitOfWork49 msPassed
testRemoveNewObject25 msPassed
testRemoveObjectFromCache23 msPassed
testRemoveObjectNotRegistered22 msPassed
testRollback27 msPassed
testRollbackInactive22 msPassed
testUnregisterObject22 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit26 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit26 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached25 msPassed
unregisterObjectRemovesItFromCloneBuilderCache22 msPassed
unwrapReturnsItselfWhenClassMatches21 msPassed