Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
95 tests (±0)
Took 4.2 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded36 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue37 msPassed
changesToRemovedObjectAreIgnoredOnCommit36 msPassed
clearCleansUpPersistenceContext49 msPassed
clearResetsCloneBuilder36 msPassed
commitDetachesPersistedInstance35 msPassed
commitEvictsInferredClassesFromCache42 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction37 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances50 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne38 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject49 msPassed
getManagedOriginalForDifferentContextReturnsNull36 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull34 msPassed
getManagedOriginalReturnsManagedOriginalInstance36 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects35 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType35 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction42 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance35 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject53 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute67 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject64 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute38 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance34 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject47 msPassed
isLoadedReturnsUnknownForUnregisteredObject34 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded40 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull67 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded36 msPassed
loadFieldLoadsLiteralValueAttribute36 msPassed
loadFieldLoadsManagedTypeAttribute38 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes37 msPassed
readAlreadyManagedObjectReturnsTheManagedOne49 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState67 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet68 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges38 msPassed
refreshOverwritesChangesSentToRepository37 msPassed
refreshOverwritesObjectPropertyChanges45 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance69 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity38 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance35 msPassed
refreshThrowsIllegalArgumentForRemovedInstance35 msPassed
registerExistingObjectInvokesPostCloneListeners48 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder62 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated64 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions40 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities37 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository37 msPassed
restoreDeletedRegistersObjectAgain45 msPassed
restoreDeletedReinsertsObjectIntoRepository35 msPassed
rollbackDetachesAllManagedEntities36 msPassed
testAttributeChanged36 msPassed
testAttributeChangedNotRegistered47 msPassed
testAttributeChangedOutsideTransaction89 msPassed
testCalculateDeletedObjects66 msPassed
testCalculateModificationsDataProperty36 msPassed
testCalculateModificationsObjectProperty39 msPassed
testCalculateNewObjects38 msPassed
testClearCacheAfterCommit37 msPassed
testCommitFailed35 msPassed
testCommitInactive41 msPassed
testContains35 msPassed
testGetContexts34 msPassed
testGetOriginal47 msPassed
testGetOriginalNull45 msPassed
testGetState87 msPassed
testGetStateWithDescriptor36 msPassed
testIsConsistent85 msPassed
testIsObjectManaged34 msPassed
testIsObjectManagerNull36 msPassed
testIsObjectNew35 msPassed
testIsObjectNewWithNullAndManaged53 msPassed
testLoadFieldValueNotRegistered44 msPassed
testReadObjectFromOntology47 msPassed
testReadObjectJustPersisted57 msPassed
testReadObjectNullClass46 msPassed
testReadObjectNullContext35 msPassed
testReadObjectNullPrimaryKey34 msPassed
testRegisterExistingObject34 msPassed
testRegisterExistingObjectTwice35 msPassed
testRegisterNewObject0.18 secPassed
testRegisterNewObjectNull34 msPassed
testRegisterNewObjectNullDescriptor47 msPassed
testReleaseUnitOfWork37 msPassed
testRemoveNewObject48 msPassed
testRemoveObjectFromCache34 msPassed
testRemoveObjectNotRegistered35 msPassed
testRollback35 msPassed
testRollbackInactive34 msPassed
testSwitchQueryProcessingOntology34 msPassed
testUnregisterObject55 msPassed
testUseTransactionalOntologyForQueryProcessing63 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit40 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit42 msPassed
unregisterObjectRemovesItFromCloneBuilderCache36 msPassed
unwrapReturnsItselfWhenClassMatches35 msPassed