Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
93 tests (±0)
Took 2.9 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded28 msPassed
changesToRemovedObjectAreIgnoredOnCommit27 msPassed
clearCleansUpPersistenceContext31 msPassed
clearResetsCloneBuilder28 msPassed
commitDetachesPersistedInstance29 msPassed
commitEvictsInferredClassesFromCache29 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances29 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne30 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject33 msPassed
getManagedOriginalForDifferentContextReturnsNull46 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull28 msPassed
getManagedOriginalReturnsManagedOriginalInstance28 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects30 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType27 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance28 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject28 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute55 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject28 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute28 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance27 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject35 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull32 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded28 msPassed
loadFieldLoadsLiteralValueAttribute29 msPassed
loadFieldLoadsManagedTypeAttribute41 msPassed
readAlreadyManagedObjectReturnsTheManagedOne27 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState30 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet31 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges30 msPassed
refreshOverwritesChangesSentToRepository28 msPassed
refreshOverwritesObjectPropertyChanges33 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance30 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity38 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance27 msPassed
refreshThrowsIllegalArgumentForRemovedInstance36 msPassed
registerExistingObjectInvokesPostCloneListeners31 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder45 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions29 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities36 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository44 msPassed
restoreDeletedRegistersObjectAgain27 msPassed
restoreDeletedReinsertsObjectIntoRepository28 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged26 msPassed
testAttributeChangedNotRegistered27 msPassed
testAttributeChangedOutsideTransaction29 msPassed
testCalculateDeletedObjects35 msPassed
testCalculateModificationsDataProperty27 msPassed
testCalculateModificationsObjectProperty30 msPassed
testCalculateNewObjects32 msPassed
testClearCacheAfterCommit37 msPassed
testCommitFailed40 msPassed
testCommitInactive29 msPassed
testContains27 msPassed
testGetContexts27 msPassed
testGetOriginal28 msPassed
testGetOriginalNull27 msPassed
testGetState32 msPassed
testGetStateWithDescriptor38 msPassed
testIsConsistent27 msPassed
testIsObjectManaged28 msPassed
testIsObjectManagerNull35 msPassed
testIsObjectNew27 msPassed
testIsObjectNewWithNullAndManaged30 msPassed
testLoadFieldValueNotRegistered27 msPassed
testReadObjectFromOntology49 msPassed
testReadObjectJustPersisted26 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext27 msPassed
testReadObjectNullPrimaryKey27 msPassed
testRegisterExistingObject41 msPassed
testRegisterExistingObjectTwice26 msPassed
testRegisterNewObject28 msPassed
testRegisterNewObjectNull31 msPassed
testRegisterNewObjectNullDescriptor28 msPassed
testReleaseUnitOfWork41 msPassed
testRemoveNewObject26 msPassed
testRemoveObjectFromCache27 msPassed
testRemoveObjectNotRegistered35 msPassed
testRollback27 msPassed
testRollbackInactive60 msPassed
testSwitchQueryProcessingOntology28 msPassed
testUnregisterObject27 msPassed
testUseTransactionalOntologyForQueryProcessing27 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit31 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit37 msPassed
unregisterObjectRemovesItFromCloneBuilderCache36 msPassed
unwrapReturnsItselfWhenClassMatches25 msPassed