Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded29 msPassed
changesToRemovedObjectAreIgnoredOnCommit29 msPassed
clearCleansUpPersistenceContext33 msPassed
clearResetsCloneBuilder39 msPassed
commitDetachesPersistedInstance30 msPassed
commitEvictsInferredClassesFromCache30 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction39 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances40 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne30 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject31 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull41 msPassed
getManagedOriginalReturnsManagedOriginalInstance40 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects29 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType30 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction33 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance42 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject37 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute30 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject30 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute30 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance28 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject38 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded30 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull31 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded38 msPassed
loadFieldLoadsLiteralValueAttribute38 msPassed
loadFieldLoadsManagedTypeAttribute31 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes40 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet31 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges39 msPassed
refreshOverwritesChangesSentToRepository32 msPassed
refreshOverwritesObjectPropertyChanges35 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance48 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity30 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance37 msPassed
refreshThrowsIllegalArgumentForRemovedInstance29 msPassed
registerExistingObjectInvokesPostCloneListeners29 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder30 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated29 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions35 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain30 msPassed
restoreDeletedReinsertsObjectIntoRepository29 msPassed
rollbackDetachesAllManagedEntities40 msPassed
testAttributeChanged38 msPassed
testAttributeChangedNotRegistered32 msPassed
testAttributeChangedOutsideTransaction28 msPassed
testCalculateDeletedObjects31 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty31 msPassed
testCalculateNewObjects37 msPassed
testClearCacheAfterCommit31 msPassed
testCommitFailed28 msPassed
testCommitInactive30 msPassed
testContains38 msPassed
testGetContexts28 msPassed
testGetOriginal47 msPassed
testGetOriginalNull37 msPassed
testGetState31 msPassed
testGetStateWithDescriptor29 msPassed
testIsConsistent27 msPassed
testIsObjectManaged28 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew38 msPassed
testIsObjectNewWithNullAndManaged38 msPassed
testLoadFieldValueNotRegistered38 msPassed
testReadObjectFromOntology38 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass28 msPassed
testReadObjectNullContext41 msPassed
testReadObjectNullPrimaryKey33 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject29 msPassed
testRegisterNewObjectNull33 msPassed
testRegisterNewObjectNullDescriptor28 msPassed
testReleaseUnitOfWork37 msPassed
testRemoveNewObject29 msPassed
testRemoveObjectFromCache38 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback29 msPassed
testRollbackInactive35 msPassed
testSwitchQueryProcessingOntology37 msPassed
testUnregisterObject28 msPassed
testUseTransactionalOntologyForQueryProcessing29 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit34 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit43 msPassed
unregisterObjectRemovesItFromCloneBuilderCache28 msPassed
unwrapReturnsItselfWhenClassMatches28 msPassed