Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded38 msPassed
changesToRemovedObjectAreIgnoredOnCommit40 msPassed
clearCleansUpPersistenceContext31 msPassed
clearResetsCloneBuilder37 msPassed
commitDetachesPersistedInstance28 msPassed
commitEvictsInferredClassesFromCache37 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances40 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne30 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject31 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull27 msPassed
getManagedOriginalReturnsManagedOriginalInstance30 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects37 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType32 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance28 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject31 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute30 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject32 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute29 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance56 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject37 msPassed
isLoadedReturnsUnknownForUnregisteredObject27 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded34 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded28 msPassed
loadFieldLoadsLiteralValueAttribute30 msPassed
loadFieldLoadsManagedTypeAttribute33 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes30 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState32 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet60 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges30 msPassed
refreshOverwritesChangesSentToRepository43 msPassed
refreshOverwritesObjectPropertyChanges33 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance32 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity30 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance31 msPassed
refreshThrowsIllegalArgumentForRemovedInstance30 msPassed
registerExistingObjectInvokesPostCloneListeners29 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder28 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions30 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities31 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository29 msPassed
restoreDeletedRegistersObjectAgain31 msPassed
restoreDeletedReinsertsObjectIntoRepository29 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged29 msPassed
testAttributeChangedNotRegistered37 msPassed
testAttributeChangedOutsideTransaction37 msPassed
testCalculateDeletedObjects31 msPassed
testCalculateModificationsDataProperty39 msPassed
testCalculateModificationsObjectProperty42 msPassed
testCalculateNewObjects34 msPassed
testClearCacheAfterCommit30 msPassed
testCommitFailed28 msPassed
testCommitInactive28 msPassed
testContains31 msPassed
testGetContexts28 msPassed
testGetOriginal37 msPassed
testGetOriginalNull27 msPassed
testGetState41 msPassed
testGetStateWithDescriptor33 msPassed
testIsConsistent37 msPassed
testIsObjectManaged28 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered37 msPassed
testReadObjectFromOntology29 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass29 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice37 msPassed
testRegisterNewObject37 msPassed
testRegisterNewObjectNull28 msPassed
testRegisterNewObjectNullDescriptor28 msPassed
testReleaseUnitOfWork28 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache33 msPassed
testRemoveObjectNotRegistered29 msPassed
testRollback38 msPassed
testRollbackInactive28 msPassed
testSwitchQueryProcessingOntology28 msPassed
testUnregisterObject29 msPassed
testUseTransactionalOntologyForQueryProcessing30 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit43 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit32 msPassed
unregisterObjectRemovesItFromCloneBuilderCache29 msPassed
unwrapReturnsItselfWhenClassMatches36 msPassed