Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded29 msPassed
changesToRemovedObjectAreIgnoredOnCommit29 msPassed
clearCleansUpPersistenceContext30 msPassed
clearResetsCloneBuilder28 msPassed
commitDetachesPersistedInstance28 msPassed
commitEvictsInferredClassesFromCache29 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction57 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances29 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne29 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject30 msPassed
getManagedOriginalForDifferentContextReturnsNull57 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull54 msPassed
getManagedOriginalReturnsManagedOriginalInstance30 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects28 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType28 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction33 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance53 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject64 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute29 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject27 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute27 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance28 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject27 msPassed
isLoadedReturnsUnknownForUnregisteredObject55 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded29 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded40 msPassed
loadFieldLoadsLiteralValueAttribute57 msPassed
loadFieldLoadsManagedTypeAttribute60 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes59 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState30 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet30 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges47 msPassed
refreshOverwritesChangesSentToRepository30 msPassed
refreshOverwritesObjectPropertyChanges32 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance40 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity60 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance27 msPassed
refreshThrowsIllegalArgumentForRemovedInstance57 msPassed
registerExistingObjectInvokesPostCloneListeners27 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder28 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated30 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions57 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities55 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository55 msPassed
restoreDeletedRegistersObjectAgain27 msPassed
restoreDeletedReinsertsObjectIntoRepository27 msPassed
rollbackDetachesAllManagedEntities39 msPassed
testAttributeChanged48 msPassed
testAttributeChangedNotRegistered28 msPassed
testAttributeChangedOutsideTransaction27 msPassed
testCalculateDeletedObjects29 msPassed
testCalculateModificationsDataProperty28 msPassed
testCalculateModificationsObjectProperty31 msPassed
testCalculateNewObjects32 msPassed
testClearCacheAfterCommit58 msPassed
testCommitFailed54 msPassed
testCommitInactive27 msPassed
testContains60 msPassed
testGetContexts27 msPassed
testGetOriginal28 msPassed
testGetOriginalNull72 msPassed
testGetState28 msPassed
testGetStateWithDescriptor56 msPassed
testIsConsistent28 msPassed
testIsObjectManaged55 msPassed
testIsObjectManagerNull55 msPassed
testIsObjectNew46 msPassed
testIsObjectNewWithNullAndManaged76 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology74 msPassed
testReadObjectJustPersisted27 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext56 msPassed
testReadObjectNullPrimaryKey39 msPassed
testRegisterExistingObject62 msPassed
testRegisterExistingObjectTwice27 msPassed
testRegisterNewObject27 msPassed
testRegisterNewObjectNull21 msPassed
testRegisterNewObjectNullDescriptor27 msPassed
testReleaseUnitOfWork54 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache27 msPassed
testRemoveObjectNotRegistered54 msPassed
testRollback29 msPassed
testRollbackInactive55 msPassed
testSwitchQueryProcessingOntology36 msPassed
testUnregisterObject27 msPassed
testUseTransactionalOntologyForQueryProcessing27 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit31 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit63 msPassed
unregisterObjectRemovesItFromCloneBuilderCache55 msPassed
unwrapReturnsItselfWhenClassMatches26 msPassed