Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded36 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue38 msPassed
changesToRemovedObjectAreIgnoredOnCommit36 msPassed
clearCleansUpPersistenceContext84 msPassed
clearResetsCloneBuilder49 msPassed
commitDetachesPersistedInstance52 msPassed
commitEvictsInferredClassesFromCache49 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction42 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances54 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne39 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject52 msPassed
getManagedOriginalForDifferentContextReturnsNull40 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull54 msPassed
getManagedOriginalReturnsManagedOriginalInstance47 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects43 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType36 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction44 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance48 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject34 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute61 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject44 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute78 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance34 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject40 msPassed
isLoadedReturnsUnknownForUnregisteredObject37 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded49 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull0.13 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded47 msPassed
loadFieldLoadsLiteralValueAttribute40 msPassed
loadFieldLoadsManagedTypeAttribute42 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes46 msPassed
readAlreadyManagedObjectReturnsTheManagedOne49 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState48 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet61 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges47 msPassed
refreshOverwritesChangesSentToRepository45 msPassed
refreshOverwritesObjectPropertyChanges90 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance61 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity38 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance48 msPassed
refreshThrowsIllegalArgumentForRemovedInstance35 msPassed
registerExistingObjectInvokesPostCloneListeners49 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder58 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated45 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions33 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities34 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository33 msPassed
restoreDeletedRegistersObjectAgain50 msPassed
restoreDeletedReinsertsObjectIntoRepository37 msPassed
rollbackDetachesAllManagedEntities47 msPassed
testAttributeChanged51 msPassed
testAttributeChangedNotRegistered41 msPassed
testAttributeChangedOutsideTransaction42 msPassed
testCalculateDeletedObjects61 msPassed
testCalculateModificationsDataProperty36 msPassed
testCalculateModificationsObjectProperty38 msPassed
testCalculateNewObjects54 msPassed
testClearCacheAfterCommit35 msPassed
testCommitFailed37 msPassed
testCommitInactive77 msPassed
testContains49 msPassed
testGetContexts35 msPassed
testGetOriginal39 msPassed
testGetOriginalNull33 msPassed
testGetState49 msPassed
testGetStateWithDescriptor34 msPassed
testIsConsistent36 msPassed
testIsObjectManaged34 msPassed
testIsObjectManagerNull39 msPassed
testIsObjectNew46 msPassed
testIsObjectNewWithNullAndManaged35 msPassed
testLoadFieldValueNotRegistered47 msPassed
testReadObjectFromOntology35 msPassed
testReadObjectJustPersisted41 msPassed
testReadObjectNullClass46 msPassed
testReadObjectNullContext49 msPassed
testReadObjectNullPrimaryKey48 msPassed
testRegisterExistingObject37 msPassed
testRegisterExistingObjectTwice39 msPassed
testRegisterNewObject36 msPassed
testRegisterNewObjectNull68 msPassed
testRegisterNewObjectNullDescriptor49 msPassed
testReleaseUnitOfWork37 msPassed
testRemoveNewObject42 msPassed
testRemoveObjectFromCache47 msPassed
testRemoveObjectNotRegistered34 msPassed
testRollback35 msPassed
testRollbackInactive40 msPassed
testSwitchQueryProcessingOntology46 msPassed
testUnregisterObject51 msPassed
testUseTransactionalOntologyForQueryProcessing45 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit43 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit40 msPassed
unregisterObjectRemovesItFromCloneBuilderCache36 msPassed
unwrapReturnsItselfWhenClassMatches34 msPassed