Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded48 msPassed
changesToRemovedObjectAreIgnoredOnCommit54 msPassed
clearCleansUpPersistenceContext40 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance29 msPassed
commitEvictsInferredClassesFromCache49 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction33 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances30 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne29 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject30 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull46 msPassed
getManagedOriginalReturnsManagedOriginalInstance30 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects47 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType58 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction33 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance59 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject28 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute39 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject28 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute38 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance57 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject29 msPassed
isLoadedReturnsUnknownForUnregisteredObject28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded29 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull38 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded30 msPassed
loadFieldLoadsLiteralValueAttribute48 msPassed
loadFieldLoadsManagedTypeAttribute32 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes33 msPassed
readAlreadyManagedObjectReturnsTheManagedOne30 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet30 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges32 msPassed
refreshOverwritesChangesSentToRepository30 msPassed
refreshOverwritesObjectPropertyChanges42 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance31 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity30 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance48 msPassed
refreshThrowsIllegalArgumentForRemovedInstance32 msPassed
registerExistingObjectInvokesPostCloneListeners28 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder38 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated37 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions28 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain27 msPassed
restoreDeletedReinsertsObjectIntoRepository28 msPassed
rollbackDetachesAllManagedEntities31 msPassed
testAttributeChanged59 msPassed
testAttributeChangedNotRegistered28 msPassed
testAttributeChangedOutsideTransaction28 msPassed
testCalculateDeletedObjects40 msPassed
testCalculateModificationsDataProperty60 msPassed
testCalculateModificationsObjectProperty63 msPassed
testCalculateNewObjects53 msPassed
testClearCacheAfterCommit31 msPassed
testCommitFailed28 msPassed
testCommitInactive37 msPassed
testContains53 msPassed
testGetContexts28 msPassed
testGetOriginal29 msPassed
testGetOriginalNull28 msPassed
testGetState30 msPassed
testGetStateWithDescriptor29 msPassed
testIsConsistent27 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext57 msPassed
testReadObjectNullPrimaryKey29 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject29 msPassed
testRegisterNewObjectNull36 msPassed
testRegisterNewObjectNullDescriptor27 msPassed
testReleaseUnitOfWork27 msPassed
testRemoveNewObject29 msPassed
testRemoveObjectFromCache28 msPassed
testRemoveObjectNotRegistered28 msPassed
testRollback54 msPassed
testRollbackInactive29 msPassed
testSwitchQueryProcessingOntology32 msPassed
testUnregisterObject29 msPassed
testUseTransactionalOntologyForQueryProcessing28 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit32 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit33 msPassed
unregisterObjectRemovesItFromCloneBuilderCache30 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed