Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
93 tests (±0)
Took 2.9 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded29 msPassed
changesToRemovedObjectAreIgnoredOnCommit40 msPassed
clearCleansUpPersistenceContext35 msPassed
clearResetsCloneBuilder28 msPassed
commitDetachesPersistedInstance36 msPassed
commitEvictsInferredClassesFromCache32 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction29 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances29 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne65 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject30 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull28 msPassed
getManagedOriginalReturnsManagedOriginalInstance28 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects27 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType38 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction66 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance28 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject29 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute40 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject30 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute29 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance54 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject29 msPassed
isLoadedReturnsUnknownForUnregisteredObject27 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded29 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull34 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded29 msPassed
loadFieldLoadsLiteralValueAttribute29 msPassed
loadFieldLoadsManagedTypeAttribute32 msPassed
readAlreadyManagedObjectReturnsTheManagedOne27 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet31 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges29 msPassed
refreshOverwritesChangesSentToRepository29 msPassed
refreshOverwritesObjectPropertyChanges38 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance30 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity29 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance48 msPassed
refreshThrowsIllegalArgumentForRemovedInstance29 msPassed
registerExistingObjectInvokesPostCloneListeners27 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder39 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions30 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities28 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain27 msPassed
restoreDeletedReinsertsObjectIntoRepository45 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged28 msPassed
testAttributeChangedNotRegistered27 msPassed
testAttributeChangedOutsideTransaction27 msPassed
testCalculateDeletedObjects42 msPassed
testCalculateModificationsDataProperty58 msPassed
testCalculateModificationsObjectProperty42 msPassed
testCalculateNewObjects43 msPassed
testClearCacheAfterCommit29 msPassed
testCommitFailed28 msPassed
testCommitInactive29 msPassed
testContains29 msPassed
testGetContexts35 msPassed
testGetOriginal30 msPassed
testGetOriginalNull26 msPassed
testGetState29 msPassed
testGetStateWithDescriptor28 msPassed
testIsConsistent27 msPassed
testIsObjectManaged30 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew27 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered27 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted30 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice27 msPassed
testRegisterNewObject27 msPassed
testRegisterNewObjectNull29 msPassed
testRegisterNewObjectNullDescriptor27 msPassed
testReleaseUnitOfWork27 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache26 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback39 msPassed
testRollbackInactive27 msPassed
testSwitchQueryProcessingOntology27 msPassed
testUnregisterObject46 msPassed
testUseTransactionalOntologyForQueryProcessing30 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit32 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit33 msPassed
unregisterObjectRemovesItFromCloneBuilderCache29 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed