Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded30 msPassed
changesToRemovedObjectAreIgnoredOnCommit30 msPassed
clearCleansUpPersistenceContext33 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance33 msPassed
commitEvictsInferredClassesFromCache31 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction31 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances30 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne32 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject54 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull34 msPassed
getManagedOriginalReturnsManagedOriginalInstance28 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects29 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType31 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction35 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance31 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject27 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute32 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject30 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute32 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance29 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded49 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull30 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded29 msPassed
loadFieldLoadsLiteralValueAttribute29 msPassed
loadFieldLoadsManagedTypeAttribute31 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes32 msPassed
readAlreadyManagedObjectReturnsTheManagedOne40 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState32 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet33 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges30 msPassed
refreshOverwritesChangesSentToRepository49 msPassed
refreshOverwritesObjectPropertyChanges34 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance31 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity30 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance31 msPassed
refreshThrowsIllegalArgumentForRemovedInstance28 msPassed
registerExistingObjectInvokesPostCloneListeners52 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder30 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated31 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions28 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities28 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository29 msPassed
restoreDeletedRegistersObjectAgain47 msPassed
restoreDeletedReinsertsObjectIntoRepository30 msPassed
rollbackDetachesAllManagedEntities39 msPassed
testAttributeChanged30 msPassed
testAttributeChangedNotRegistered28 msPassed
testAttributeChangedOutsideTransaction32 msPassed
testCalculateDeletedObjects31 msPassed
testCalculateModificationsDataProperty32 msPassed
testCalculateModificationsObjectProperty34 msPassed
testCalculateNewObjects33 msPassed
testClearCacheAfterCommit30 msPassed
testCommitFailed29 msPassed
testCommitInactive33 msPassed
testContains29 msPassed
testGetContexts30 msPassed
testGetOriginal28 msPassed
testGetOriginalNull26 msPassed
testGetState31 msPassed
testGetStateWithDescriptor28 msPassed
testIsConsistent30 msPassed
testIsObjectManaged28 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology27 msPassed
testReadObjectJustPersisted32 msPassed
testReadObjectNullClass48 msPassed
testReadObjectNullContext29 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice56 msPassed
testRegisterNewObject30 msPassed
testRegisterNewObjectNull31 msPassed
testRegisterNewObjectNullDescriptor56 msPassed
testReleaseUnitOfWork28 msPassed
testRemoveNewObject34 msPassed
testRemoveObjectFromCache27 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback29 msPassed
testRollbackInactive28 msPassed
testSwitchQueryProcessingOntology27 msPassed
testUnregisterObject53 msPassed
testUseTransactionalOntologyForQueryProcessing29 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit62 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit32 msPassed
unregisterObjectRemovesItFromCloneBuilderCache29 msPassed
unwrapReturnsItselfWhenClassMatches56 msPassed