Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
94 tests (±0)
Took 2.8 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded28 msPassed
changesToRemovedObjectAreIgnoredOnCommit29 msPassed
clearCleansUpPersistenceContext32 msPassed
clearResetsCloneBuilder28 msPassed
commitDetachesPersistedInstance27 msPassed
commitEvictsInferredClassesFromCache30 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances31 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne29 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject30 msPassed
getManagedOriginalForDifferentContextReturnsNull27 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull28 msPassed
getManagedOriginalReturnsManagedOriginalInstance28 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects27 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType29 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction33 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance27 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject30 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute48 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject37 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute29 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance27 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject26 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded29 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull38 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded29 msPassed
loadFieldLoadsLiteralValueAttribute28 msPassed
loadFieldLoadsManagedTypeAttribute30 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes29 msPassed
readAlreadyManagedObjectReturnsTheManagedOne22 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState40 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet41 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges29 msPassed
refreshOverwritesChangesSentToRepository29 msPassed
refreshOverwritesObjectPropertyChanges34 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance29 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity29 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance26 msPassed
refreshThrowsIllegalArgumentForRemovedInstance29 msPassed
registerExistingObjectInvokesPostCloneListeners28 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder30 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated37 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions29 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities28 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository31 msPassed
restoreDeletedRegistersObjectAgain27 msPassed
restoreDeletedReinsertsObjectIntoRepository27 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged27 msPassed
testAttributeChangedNotRegistered28 msPassed
testAttributeChangedOutsideTransaction37 msPassed
testCalculateDeletedObjects31 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty30 msPassed
testCalculateNewObjects31 msPassed
testClearCacheAfterCommit43 msPassed
testCommitFailed31 msPassed
testCommitInactive30 msPassed
testContains28 msPassed
testGetContexts27 msPassed
testGetOriginal28 msPassed
testGetOriginalNull30 msPassed
testGetState40 msPassed
testGetStateWithDescriptor28 msPassed
testIsConsistent39 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged32 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology31 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass26 msPassed
testReadObjectNullContext27 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject30 msPassed
testRegisterNewObjectNull25 msPassed
testRegisterNewObjectNullDescriptor27 msPassed
testReleaseUnitOfWork27 msPassed
testRemoveNewObject27 msPassed
testRemoveObjectFromCache27 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback28 msPassed
testRollbackInactive27 msPassed
testSwitchQueryProcessingOntology28 msPassed
testUnregisterObject27 msPassed
testUseTransactionalOntologyForQueryProcessing37 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit31 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit37 msPassed
unregisterObjectRemovesItFromCloneBuilderCache28 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed