Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded41 msPassed
changesToRemovedObjectAreIgnoredOnCommit31 msPassed
clearCleansUpPersistenceContext31 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance50 msPassed
commitEvictsInferredClassesFromCache48 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances29 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne50 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject50 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull37 msPassed
getManagedOriginalReturnsManagedOriginalInstance28 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects40 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType32 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction57 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance28 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject28 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute30 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject27 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute30 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance39 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject29 msPassed
isLoadedReturnsUnknownForUnregisteredObject42 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded50 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull34 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded29 msPassed
loadFieldLoadsLiteralValueAttribute29 msPassed
loadFieldLoadsManagedTypeAttribute31 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes30 msPassed
readAlreadyManagedObjectReturnsTheManagedOne50 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState42 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet33 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges31 msPassed
refreshOverwritesChangesSentToRepository60 msPassed
refreshOverwritesObjectPropertyChanges33 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance30 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity30 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance28 msPassed
refreshThrowsIllegalArgumentForRemovedInstance30 msPassed
registerExistingObjectInvokesPostCloneListeners47 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder29 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated35 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions31 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain48 msPassed
restoreDeletedReinsertsObjectIntoRepository50 msPassed
rollbackDetachesAllManagedEntities35 msPassed
testAttributeChanged29 msPassed
testAttributeChangedNotRegistered28 msPassed
testAttributeChangedOutsideTransaction28 msPassed
testCalculateDeletedObjects30 msPassed
testCalculateModificationsDataProperty37 msPassed
testCalculateModificationsObjectProperty32 msPassed
testCalculateNewObjects35 msPassed
testClearCacheAfterCommit30 msPassed
testCommitFailed29 msPassed
testCommitInactive29 msPassed
testContains29 msPassed
testGetContexts36 msPassed
testGetOriginal29 msPassed
testGetOriginalNull28 msPassed
testGetState31 msPassed
testGetStateWithDescriptor28 msPassed
testIsConsistent28 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull29 msPassed
testIsObjectNew27 msPassed
testIsObjectNewWithNullAndManaged29 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology29 msPassed
testReadObjectJustPersisted49 msPassed
testReadObjectNullClass47 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice61 msPassed
testRegisterNewObject29 msPassed
testRegisterNewObjectNull37 msPassed
testRegisterNewObjectNullDescriptor48 msPassed
testReleaseUnitOfWork28 msPassed
testRemoveNewObject47 msPassed
testRemoveObjectFromCache28 msPassed
testRemoveObjectNotRegistered32 msPassed
testRollback40 msPassed
testRollbackInactive28 msPassed
testSwitchQueryProcessingOntology27 msPassed
testUnregisterObject47 msPassed
testUseTransactionalOntologyForQueryProcessing28 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit66 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit35 msPassed
unregisterObjectRemovesItFromCloneBuilderCache37 msPassed
unwrapReturnsItselfWhenClassMatches52 msPassed