Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded34 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue37 msPassed
changesToRemovedObjectAreIgnoredOnCommit35 msPassed
clearCleansUpPersistenceContext41 msPassed
clearResetsCloneBuilder35 msPassed
commitDetachesPersistedInstance34 msPassed
commitEvictsInferredClassesFromCache36 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction37 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances37 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne36 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject38 msPassed
getManagedOriginalForDifferentContextReturnsNull38 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull33 msPassed
getManagedOriginalReturnsManagedOriginalInstance34 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects35 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType34 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction39 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject34 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute37 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject35 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute36 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance34 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject35 msPassed
isLoadedReturnsUnknownForUnregisteredObject54 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded36 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull34 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded34 msPassed
loadFieldLoadsLiteralValueAttribute36 msPassed
loadFieldLoadsManagedTypeAttribute60 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes57 msPassed
readAlreadyManagedObjectReturnsTheManagedOne36 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState36 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet36 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges36 msPassed
refreshOverwritesChangesSentToRepository38 msPassed
refreshOverwritesObjectPropertyChanges39 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance36 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity72 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance34 msPassed
refreshThrowsIllegalArgumentForRemovedInstance35 msPassed
registerExistingObjectInvokesPostCloneListeners37 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder37 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated34 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions35 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities36 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository34 msPassed
restoreDeletedRegistersObjectAgain34 msPassed
restoreDeletedReinsertsObjectIntoRepository35 msPassed
rollbackDetachesAllManagedEntities36 msPassed
testAttributeChanged35 msPassed
testAttributeChangedNotRegistered35 msPassed
testAttributeChangedOutsideTransaction34 msPassed
testCalculateDeletedObjects38 msPassed
testCalculateModificationsDataProperty35 msPassed
testCalculateModificationsObjectProperty38 msPassed
testCalculateNewObjects38 msPassed
testClearCacheAfterCommit40 msPassed
testCommitFailed35 msPassed
testCommitInactive35 msPassed
testContains38 msPassed
testGetContexts33 msPassed
testGetOriginal35 msPassed
testGetOriginalNull33 msPassed
testGetState35 msPassed
testGetStateWithDescriptor36 msPassed
testIsConsistent34 msPassed
testIsObjectManaged35 msPassed
testIsObjectManagerNull56 msPassed
testIsObjectNew35 msPassed
testIsObjectNewWithNullAndManaged34 msPassed
testLoadFieldValueNotRegistered34 msPassed
testReadObjectFromOntology34 msPassed
testReadObjectJustPersisted34 msPassed
testReadObjectNullClass34 msPassed
testReadObjectNullContext35 msPassed
testReadObjectNullPrimaryKey35 msPassed
testRegisterExistingObject34 msPassed
testRegisterExistingObjectTwice34 msPassed
testRegisterNewObject34 msPassed
testRegisterNewObjectNull33 msPassed
testRegisterNewObjectNullDescriptor33 msPassed
testReleaseUnitOfWork53 msPassed
testRemoveNewObject34 msPassed
testRemoveObjectFromCache33 msPassed
testRemoveObjectNotRegistered35 msPassed
testRollback35 msPassed
testRollbackInactive36 msPassed
testSwitchQueryProcessingOntology33 msPassed
testUnregisterObject34 msPassed
testUseTransactionalOntologyForQueryProcessing33 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit38 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit38 msPassed
unregisterObjectRemovesItFromCloneBuilderCache36 msPassed
unwrapReturnsItselfWhenClassMatches33 msPassed