Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded28 msPassed
changesToRemovedObjectAreIgnoredOnCommit29 msPassed
clearCleansUpPersistenceContext30 msPassed
clearResetsCloneBuilder28 msPassed
commitDetachesPersistedInstance29 msPassed
commitEvictsInferredClassesFromCache30 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction31 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances29 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne30 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject40 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull28 msPassed
getManagedOriginalReturnsManagedOriginalInstance28 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects28 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType29 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance28 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject27 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute29 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject27 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute29 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance27 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject31 msPassed
isLoadedReturnsUnknownForUnregisteredObject27 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded41 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded29 msPassed
loadFieldLoadsLiteralValueAttribute29 msPassed
loadFieldLoadsManagedTypeAttribute31 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes29 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState30 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet30 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges29 msPassed
refreshOverwritesChangesSentToRepository40 msPassed
refreshOverwritesObjectPropertyChanges32 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance30 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity31 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance27 msPassed
refreshThrowsIllegalArgumentForRemovedInstance28 msPassed
registerExistingObjectInvokesPostCloneListeners27 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder28 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions28 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities28 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain40 msPassed
restoreDeletedReinsertsObjectIntoRepository28 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged28 msPassed
testAttributeChangedNotRegistered27 msPassed
testAttributeChangedOutsideTransaction28 msPassed
testCalculateDeletedObjects30 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty31 msPassed
testCalculateNewObjects32 msPassed
testClearCacheAfterCommit29 msPassed
testCommitFailed28 msPassed
testCommitInactive28 msPassed
testContains28 msPassed
testGetContexts27 msPassed
testGetOriginal29 msPassed
testGetOriginalNull27 msPassed
testGetState30 msPassed
testGetStateWithDescriptor28 msPassed
testIsConsistent28 msPassed
testIsObjectManaged27 msPassed
testIsObjectManagerNull27 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology29 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass39 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice36 msPassed
testRegisterNewObject27 msPassed
testRegisterNewObjectNull25 msPassed
testRegisterNewObjectNullDescriptor37 msPassed
testReleaseUnitOfWork27 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache27 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback29 msPassed
testRollbackInactive27 msPassed
testSwitchQueryProcessingOntology28 msPassed
testUnregisterObject48 msPassed
testUseTransactionalOntologyForQueryProcessing28 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit37 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit33 msPassed
unregisterObjectRemovesItFromCloneBuilderCache29 msPassed
unwrapReturnsItselfWhenClassMatches37 msPassed