Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded28 msPassed
changesToRemovedObjectAreIgnoredOnCommit28 msPassed
clearCleansUpPersistenceContext31 msPassed
clearResetsCloneBuilder49 msPassed
commitDetachesPersistedInstance37 msPassed
commitEvictsInferredClassesFromCache35 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction41 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances49 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne39 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject31 msPassed
getManagedOriginalForDifferentContextReturnsNull28 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull36 msPassed
getManagedOriginalReturnsManagedOriginalInstance53 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects27 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType42 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction49 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance36 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject37 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute30 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject28 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute29 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance27 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject49 msPassed
isLoadedReturnsUnknownForUnregisteredObject27 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded34 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded55 msPassed
loadFieldLoadsLiteralValueAttribute37 msPassed
loadFieldLoadsManagedTypeAttribute31 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes30 msPassed
readAlreadyManagedObjectReturnsTheManagedOne33 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState30 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet31 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.11 secPassed
refreshOverwritesChangesSentToRepository49 msPassed
refreshOverwritesObjectPropertyChanges34 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance49 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity29 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance36 msPassed
refreshThrowsIllegalArgumentForRemovedInstance37 msPassed
registerExistingObjectInvokesPostCloneListeners28 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder30 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated29 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions38 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities31 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository37 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository38 msPassed
rollbackDetachesAllManagedEntities43 msPassed
testAttributeChanged37 msPassed
testAttributeChangedNotRegistered50 msPassed
testAttributeChangedOutsideTransaction28 msPassed
testCalculateDeletedObjects29 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty30 msPassed
testCalculateNewObjects40 msPassed
testClearCacheAfterCommit39 msPassed
testCommitFailed42 msPassed
testCommitInactive29 msPassed
testContains36 msPassed
testGetContexts36 msPassed
testGetOriginal52 msPassed
testGetOriginalNull35 msPassed
testGetState38 msPassed
testGetStateWithDescriptor28 msPassed
testIsConsistent41 msPassed
testIsObjectManaged37 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew48 msPassed
testIsObjectNewWithNullAndManaged38 msPassed
testLoadFieldValueNotRegistered45 msPassed
testReadObjectFromOntology37 msPassed
testReadObjectJustPersisted36 msPassed
testReadObjectNullClass28 msPassed
testReadObjectNullContext36 msPassed
testReadObjectNullPrimaryKey50 msPassed
testRegisterExistingObject36 msPassed
testRegisterExistingObjectTwice36 msPassed
testRegisterNewObject41 msPassed
testRegisterNewObjectNull28 msPassed
testRegisterNewObjectNullDescriptor30 msPassed
testReleaseUnitOfWork28 msPassed
testRemoveNewObject37 msPassed
testRemoveObjectFromCache51 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback28 msPassed
testRollbackInactive27 msPassed
testSwitchQueryProcessingOntology46 msPassed
testUnregisterObject30 msPassed
testUseTransactionalOntologyForQueryProcessing27 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit43 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit44 msPassed
unregisterObjectRemovesItFromCloneBuilderCache28 msPassed
unwrapReturnsItselfWhenClassMatches35 msPassed