Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded29 msPassed
changesToRemovedObjectAreIgnoredOnCommit30 msPassed
clearCleansUpPersistenceContext62 msPassed
clearResetsCloneBuilder38 msPassed
commitDetachesPersistedInstance28 msPassed
commitEvictsInferredClassesFromCache35 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction52 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances39 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne30 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject30 msPassed
getManagedOriginalForDifferentContextReturnsNull28 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull25 msPassed
getManagedOriginalReturnsManagedOriginalInstance41 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects28 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType29 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance27 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject52 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute61 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject58 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute62 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance29 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject38 msPassed
isLoadedReturnsUnknownForUnregisteredObject37 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded30 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull62 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded55 msPassed
loadFieldLoadsLiteralValueAttribute32 msPassed
loadFieldLoadsManagedTypeAttribute41 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState64 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet65 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges40 msPassed
refreshOverwritesChangesSentToRepository34 msPassed
refreshOverwritesObjectPropertyChanges81 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance41 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity41 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance37 msPassed
refreshThrowsIllegalArgumentForRemovedInstance31 msPassed
registerExistingObjectInvokesPostCloneListeners29 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder63 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated59 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions49 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities38 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository37 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository29 msPassed
rollbackDetachesAllManagedEntities45 msPassed
testAttributeChanged45 msPassed
testAttributeChangedNotRegistered0.25 secPassed
testAttributeChangedOutsideTransaction58 msPassed
testCalculateDeletedObjects64 msPassed
testCalculateModificationsDataProperty32 msPassed
testCalculateModificationsObjectProperty32 msPassed
testCalculateNewObjects44 msPassed
testClearCacheAfterCommit38 msPassed
testCommitFailed29 msPassed
testCommitInactive62 msPassed
testContains37 msPassed
testGetContexts28 msPassed
testGetOriginal38 msPassed
testGetOriginalNull48 msPassed
testGetState61 msPassed
testGetStateWithDescriptor32 msPassed
testIsConsistent57 msPassed
testIsObjectManaged37 msPassed
testIsObjectManagerNull38 msPassed
testIsObjectNew37 msPassed
testIsObjectNewWithNullAndManaged43 msPassed
testLoadFieldValueNotRegistered37 msPassed
testReadObjectFromOntology39 msPassed
testReadObjectJustPersisted27 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey37 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice37 msPassed
testRegisterNewObject58 msPassed
testRegisterNewObjectNull60 msPassed
testRegisterNewObjectNullDescriptor28 msPassed
testReleaseUnitOfWork36 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache38 msPassed
testRemoveObjectNotRegistered37 msPassed
testRollback29 msPassed
testRollbackInactive37 msPassed
testSwitchQueryProcessingOntology36 msPassed
testUnregisterObject29 msPassed
testUseTransactionalOntologyForQueryProcessing58 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit46 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit46 msPassed
unregisterObjectRemovesItFromCloneBuilderCache46 msPassed
unwrapReturnsItselfWhenClassMatches36 msPassed