Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
94 tests (±0)
Took 3.1 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded58 msPassed
changesToRemovedObjectAreIgnoredOnCommit65 msPassed
clearCleansUpPersistenceContext44 msPassed
clearResetsCloneBuilder27 msPassed
commitDetachesPersistedInstance28 msPassed
commitEvictsInferredClassesFromCache55 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances30 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne29 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject29 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull27 msPassed
getManagedOriginalReturnsManagedOriginalInstance27 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects53 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType29 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction33 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance37 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject27 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute37 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject31 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute44 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance58 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject27 msPassed
isLoadedReturnsUnknownForUnregisteredObject26 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded30 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull32 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded28 msPassed
loadFieldLoadsLiteralValueAttribute28 msPassed
loadFieldLoadsManagedTypeAttribute30 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes29 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState34 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet30 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges29 msPassed
refreshOverwritesChangesSentToRepository28 msPassed
refreshOverwritesObjectPropertyChanges48 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance29 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity29 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance56 msPassed
refreshThrowsIllegalArgumentForRemovedInstance29 msPassed
registerExistingObjectInvokesPostCloneListeners27 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder44 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated31 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions27 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities27 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository27 msPassed
restoreDeletedRegistersObjectAgain27 msPassed
restoreDeletedReinsertsObjectIntoRepository27 msPassed
rollbackDetachesAllManagedEntities28 msPassed
testAttributeChanged43 msPassed
testAttributeChangedNotRegistered28 msPassed
testAttributeChangedOutsideTransaction28 msPassed
testCalculateDeletedObjects45 msPassed
testCalculateModificationsDataProperty58 msPassed
testCalculateModificationsObjectProperty61 msPassed
testCalculateNewObjects64 msPassed
testClearCacheAfterCommit29 msPassed
testCommitFailed27 msPassed
testCommitInactive40 msPassed
testContains58 msPassed
testGetContexts27 msPassed
testGetOriginal27 msPassed
testGetOriginalNull27 msPassed
testGetState29 msPassed
testGetStateWithDescriptor27 msPassed
testIsConsistent26 msPassed
testIsObjectManaged27 msPassed
testIsObjectManagerNull27 msPassed
testIsObjectNew27 msPassed
testIsObjectNewWithNullAndManaged27 msPassed
testLoadFieldValueNotRegistered27 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted29 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext27 msPassed
testReadObjectNullPrimaryKey27 msPassed
testRegisterExistingObject27 msPassed
testRegisterExistingObjectTwice27 msPassed
testRegisterNewObject27 msPassed
testRegisterNewObjectNull30 msPassed
testRegisterNewObjectNullDescriptor27 msPassed
testReleaseUnitOfWork28 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache26 msPassed
testRemoveObjectNotRegistered26 msPassed
testRollback58 msPassed
testRollbackInactive27 msPassed
testSwitchQueryProcessingOntology26 msPassed
testUnregisterObject28 msPassed
testUseTransactionalOntologyForQueryProcessing29 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit32 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit31 msPassed
unregisterObjectRemovesItFromCloneBuilderCache28 msPassed
unwrapReturnsItselfWhenClassMatches26 msPassed