Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded36 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue37 msPassed
changesToRemovedObjectAreIgnoredOnCommit36 msPassed
clearCleansUpPersistenceContext37 msPassed
clearResetsCloneBuilder35 msPassed
commitDetachesPersistedInstance35 msPassed
commitEvictsInferredClassesFromCache35 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction37 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances38 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne37 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject48 msPassed
getManagedOriginalForDifferentContextReturnsNull35 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull33 msPassed
getManagedOriginalReturnsManagedOriginalInstance35 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects34 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType35 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction42 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject35 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute35 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject34 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute34 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance34 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject36 msPassed
isLoadedReturnsUnknownForUnregisteredObject33 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded36 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull35 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded36 msPassed
loadFieldLoadsLiteralValueAttribute36 msPassed
loadFieldLoadsManagedTypeAttribute37 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes37 msPassed
readAlreadyManagedObjectReturnsTheManagedOne43 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState37 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet37 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges93 msPassed
refreshOverwritesChangesSentToRepository37 msPassed
refreshOverwritesObjectPropertyChanges37 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance36 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity37 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance34 msPassed
refreshThrowsIllegalArgumentForRemovedInstance36 msPassed
registerExistingObjectInvokesPostCloneListeners47 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder34 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated34 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions37 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities35 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository35 msPassed
restoreDeletedRegistersObjectAgain42 msPassed
restoreDeletedReinsertsObjectIntoRepository35 msPassed
rollbackDetachesAllManagedEntities36 msPassed
testAttributeChanged35 msPassed
testAttributeChangedNotRegistered35 msPassed
testAttributeChangedOutsideTransaction35 msPassed
testCalculateDeletedObjects35 msPassed
testCalculateModificationsDataProperty35 msPassed
testCalculateModificationsObjectProperty37 msPassed
testCalculateNewObjects39 msPassed
testClearCacheAfterCommit36 msPassed
testCommitFailed34 msPassed
testCommitInactive34 msPassed
testContains34 msPassed
testGetContexts35 msPassed
testGetOriginal35 msPassed
testGetOriginalNull34 msPassed
testGetState35 msPassed
testGetStateWithDescriptor35 msPassed
testIsConsistent35 msPassed
testIsObjectManaged36 msPassed
testIsObjectManagerNull34 msPassed
testIsObjectNew34 msPassed
testIsObjectNewWithNullAndManaged35 msPassed
testLoadFieldValueNotRegistered34 msPassed
testReadObjectFromOntology35 msPassed
testReadObjectJustPersisted36 msPassed
testReadObjectNullClass46 msPassed
testReadObjectNullContext33 msPassed
testReadObjectNullPrimaryKey38 msPassed
testRegisterExistingObject34 msPassed
testRegisterExistingObjectTwice35 msPassed
testRegisterNewObject35 msPassed
testRegisterNewObjectNull29 msPassed
testRegisterNewObjectNullDescriptor45 msPassed
testReleaseUnitOfWork33 msPassed
testRemoveNewObject36 msPassed
testRemoveObjectFromCache33 msPassed
testRemoveObjectNotRegistered34 msPassed
testRollback35 msPassed
testRollbackInactive34 msPassed
testSwitchQueryProcessingOntology61 msPassed
testUnregisterObject51 msPassed
testUseTransactionalOntologyForQueryProcessing34 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit43 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit40 msPassed
unregisterObjectRemovesItFromCloneBuilderCache36 msPassed
unwrapReturnsItselfWhenClassMatches34 msPassed