Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded35 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue37 msPassed
changesToRemovedObjectAreIgnoredOnCommit35 msPassed
clearCleansUpPersistenceContext38 msPassed
clearResetsCloneBuilder35 msPassed
commitDetachesPersistedInstance35 msPassed
commitEvictsInferredClassesFromCache36 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction39 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances36 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne36 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject37 msPassed
getManagedOriginalForDifferentContextReturnsNull36 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull34 msPassed
getManagedOriginalReturnsManagedOriginalInstance35 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects37 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType35 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction41 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance35 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject35 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute36 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject33 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute35 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance34 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject35 msPassed
isLoadedReturnsUnknownForUnregisteredObject34 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded39 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull34 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded35 msPassed
loadFieldLoadsLiteralValueAttribute36 msPassed
loadFieldLoadsManagedTypeAttribute37 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes37 msPassed
readAlreadyManagedObjectReturnsTheManagedOne34 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState37 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet36 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges38 msPassed
refreshOverwritesChangesSentToRepository38 msPassed
refreshOverwritesObjectPropertyChanges44 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance37 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity43 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance34 msPassed
refreshThrowsIllegalArgumentForRemovedInstance53 msPassed
registerExistingObjectInvokesPostCloneListeners35 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder35 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated34 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions35 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities56 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository47 msPassed
restoreDeletedRegistersObjectAgain35 msPassed
restoreDeletedReinsertsObjectIntoRepository35 msPassed
rollbackDetachesAllManagedEntities35 msPassed
testAttributeChanged35 msPassed
testAttributeChangedNotRegistered34 msPassed
testAttributeChangedOutsideTransaction35 msPassed
testCalculateDeletedObjects37 msPassed
testCalculateModificationsDataProperty35 msPassed
testCalculateModificationsObjectProperty38 msPassed
testCalculateNewObjects38 msPassed
testClearCacheAfterCommit58 msPassed
testCommitFailed37 msPassed
testCommitInactive33 msPassed
testContains35 msPassed
testGetContexts34 msPassed
testGetOriginal35 msPassed
testGetOriginalNull33 msPassed
testGetState36 msPassed
testGetStateWithDescriptor55 msPassed
testIsConsistent34 msPassed
testIsObjectManaged34 msPassed
testIsObjectManagerNull35 msPassed
testIsObjectNew35 msPassed
testIsObjectNewWithNullAndManaged34 msPassed
testLoadFieldValueNotRegistered35 msPassed
testReadObjectFromOntology34 msPassed
testReadObjectJustPersisted34 msPassed
testReadObjectNullClass34 msPassed
testReadObjectNullContext35 msPassed
testReadObjectNullPrimaryKey34 msPassed
testRegisterExistingObject35 msPassed
testRegisterExistingObjectTwice37 msPassed
testRegisterNewObject36 msPassed
testRegisterNewObjectNull34 msPassed
testRegisterNewObjectNullDescriptor35 msPassed
testReleaseUnitOfWork34 msPassed
testRemoveNewObject39 msPassed
testRemoveObjectFromCache35 msPassed
testRemoveObjectNotRegistered68 msPassed
testRollback35 msPassed
testRollbackInactive71 msPassed
testSwitchQueryProcessingOntology39 msPassed
testUnregisterObject38 msPassed
testUseTransactionalOntologyForQueryProcessing33 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit41 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit40 msPassed
unregisterObjectRemovesItFromCloneBuilderCache65 msPassed
unwrapReturnsItselfWhenClassMatches35 msPassed