Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded37 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue42 msPassed
changesToRemovedObjectAreIgnoredOnCommit44 msPassed
clearCleansUpPersistenceContext58 msPassed
clearResetsCloneBuilder47 msPassed
commitDetachesPersistedInstance36 msPassed
commitEvictsInferredClassesFromCache36 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction37 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances36 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne36 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject38 msPassed
getManagedOriginalForDifferentContextReturnsNull37 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull34 msPassed
getManagedOriginalReturnsManagedOriginalInstance47 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects36 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType35 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction41 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance35 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject45 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute37 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject33 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute55 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance35 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject34 msPassed
isLoadedReturnsUnknownForUnregisteredObject32 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded39 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull35 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded37 msPassed
loadFieldLoadsLiteralValueAttribute38 msPassed
loadFieldLoadsManagedTypeAttribute36 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes36 msPassed
readAlreadyManagedObjectReturnsTheManagedOne35 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState37 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet37 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges37 msPassed
refreshOverwritesChangesSentToRepository37 msPassed
refreshOverwritesObjectPropertyChanges61 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance37 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity46 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance35 msPassed
refreshThrowsIllegalArgumentForRemovedInstance37 msPassed
registerExistingObjectInvokesPostCloneListeners37 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.12 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated36 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions45 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities37 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository44 msPassed
restoreDeletedRegistersObjectAgain35 msPassed
restoreDeletedReinsertsObjectIntoRepository35 msPassed
rollbackDetachesAllManagedEntities36 msPassed
testAttributeChanged34 msPassed
testAttributeChangedNotRegistered33 msPassed
testAttributeChangedOutsideTransaction34 msPassed
testCalculateDeletedObjects57 msPassed
testCalculateModificationsDataProperty37 msPassed
testCalculateModificationsObjectProperty39 msPassed
testCalculateNewObjects42 msPassed
testClearCacheAfterCommit36 msPassed
testCommitFailed35 msPassed
testCommitInactive55 msPassed
testContains35 msPassed
testGetContexts35 msPassed
testGetOriginal34 msPassed
testGetOriginalNull44 msPassed
testGetState34 msPassed
testGetStateWithDescriptor35 msPassed
testIsConsistent33 msPassed
testIsObjectManaged46 msPassed
testIsObjectManagerNull32 msPassed
testIsObjectNew36 msPassed
testIsObjectNewWithNullAndManaged47 msPassed
testLoadFieldValueNotRegistered51 msPassed
testReadObjectFromOntology45 msPassed
testReadObjectJustPersisted34 msPassed
testReadObjectNullClass34 msPassed
testReadObjectNullContext34 msPassed
testReadObjectNullPrimaryKey35 msPassed
testRegisterExistingObject38 msPassed
testRegisterExistingObjectTwice37 msPassed
testRegisterNewObject33 msPassed
testRegisterNewObjectNull57 msPassed
testRegisterNewObjectNullDescriptor34 msPassed
testReleaseUnitOfWork32 msPassed
testRemoveNewObject34 msPassed
testRemoveObjectFromCache46 msPassed
testRemoveObjectNotRegistered33 msPassed
testRollback43 msPassed
testRollbackInactive33 msPassed
testSwitchQueryProcessingOntology35 msPassed
testUnregisterObject34 msPassed
testUseTransactionalOntologyForQueryProcessing33 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit42 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit49 msPassed
unregisterObjectRemovesItFromCloneBuilderCache35 msPassed
unwrapReturnsItselfWhenClassMatches35 msPassed