Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded35 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue38 msPassed
changesToRemovedObjectAreIgnoredOnCommit37 msPassed
clearCleansUpPersistenceContext40 msPassed
clearResetsCloneBuilder36 msPassed
commitDetachesPersistedInstance36 msPassed
commitEvictsInferredClassesFromCache37 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction54 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances38 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne36 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject37 msPassed
getManagedOriginalForDifferentContextReturnsNull38 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull34 msPassed
getManagedOriginalReturnsManagedOriginalInstance37 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects35 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType35 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction41 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance35 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject35 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute39 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject35 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute37 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance35 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject36 msPassed
isLoadedReturnsUnknownForUnregisteredObject38 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded37 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull38 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded37 msPassed
loadFieldLoadsLiteralValueAttribute36 msPassed
loadFieldLoadsManagedTypeAttribute40 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes37 msPassed
readAlreadyManagedObjectReturnsTheManagedOne35 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState39 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet77 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges54 msPassed
refreshOverwritesChangesSentToRepository37 msPassed
refreshOverwritesObjectPropertyChanges41 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance41 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity38 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance34 msPassed
refreshThrowsIllegalArgumentForRemovedInstance38 msPassed
registerExistingObjectInvokesPostCloneListeners55 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder36 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated37 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions35 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities58 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository35 msPassed
restoreDeletedRegistersObjectAgain35 msPassed
restoreDeletedReinsertsObjectIntoRepository36 msPassed
rollbackDetachesAllManagedEntities38 msPassed
testAttributeChanged37 msPassed
testAttributeChangedNotRegistered36 msPassed
testAttributeChangedOutsideTransaction70 msPassed
testCalculateDeletedObjects38 msPassed
testCalculateModificationsDataProperty36 msPassed
testCalculateModificationsObjectProperty38 msPassed
testCalculateNewObjects39 msPassed
testClearCacheAfterCommit42 msPassed
testCommitFailed35 msPassed
testCommitInactive36 msPassed
testContains35 msPassed
testGetContexts35 msPassed
testGetOriginal38 msPassed
testGetOriginalNull34 msPassed
testGetState70 msPassed
testGetStateWithDescriptor50 msPassed
testIsConsistent68 msPassed
testIsObjectManaged42 msPassed
testIsObjectManagerNull36 msPassed
testIsObjectNew36 msPassed
testIsObjectNewWithNullAndManaged48 msPassed
testLoadFieldValueNotRegistered37 msPassed
testReadObjectFromOntology46 msPassed
testReadObjectJustPersisted34 msPassed
testReadObjectNullClass34 msPassed
testReadObjectNullContext41 msPassed
testReadObjectNullPrimaryKey37 msPassed
testRegisterExistingObject35 msPassed
testRegisterExistingObjectTwice34 msPassed
testRegisterNewObject72 msPassed
testRegisterNewObjectNull34 msPassed
testRegisterNewObjectNullDescriptor34 msPassed
testReleaseUnitOfWork40 msPassed
testRemoveNewObject37 msPassed
testRemoveObjectFromCache35 msPassed
testRemoveObjectNotRegistered45 msPassed
testRollback36 msPassed
testRollbackInactive40 msPassed
testSwitchQueryProcessingOntology55 msPassed
testUnregisterObject35 msPassed
testUseTransactionalOntologyForQueryProcessing54 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit41 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit53 msPassed
unregisterObjectRemovesItFromCloneBuilderCache48 msPassed
unwrapReturnsItselfWhenClassMatches34 msPassed