Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded24 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue26 msPassed
changesToRemovedObjectAreIgnoredOnCommit22 msPassed
clearCleansUpPersistenceContext25 msPassed
clearResetsCloneBuilder22 msPassed
commitDetachesPersistedInstance22 msPassed
commitEvictsInferredClassesFromCache0.13 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction23 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances24 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne23 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject23 msPassed
getManagedOriginalForDifferentContextReturnsNull23 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull20 msPassed
getManagedOriginalReturnsManagedOriginalInstance22 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects22 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType22 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction25 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper23 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged21 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance21 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject22 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute78 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject21 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute53 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance22 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject22 msPassed
isLoadedReturnsUnknownForUnregisteredObject21 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded23 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull22 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded22 msPassed
loadFieldLoadsLiteralValueAttribute22 msPassed
loadFieldLoadsManagedTypeAttribute24 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes40 msPassed
readAlreadyManagedObjectReturnsTheManagedOne17 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState28 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet25 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges23 msPassed
refreshOverwritesChangesSentToRepository23 msPassed
refreshOverwritesObjectPropertyChanges0.12 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance27 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity25 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance21 msPassed
refreshThrowsIllegalArgumentForRemovedInstance23 msPassed
registerExistingObjectInvokesPostCloneListeners21 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated23 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions23 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities22 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository22 msPassed
restoreDeletedRegistersObjectAgain22 msPassed
restoreDeletedReinsertsObjectIntoRepository22 msPassed
rollbackDetachesAllManagedEntities25 msPassed
testAttributeChanged22 msPassed
testAttributeChangedNotRegistered23 msPassed
testAttributeChangedOutsideTransaction22 msPassed
testCalculateDeletedObjects24 msPassed
testCalculateModificationsDataProperty23 msPassed
testCalculateModificationsObjectProperty23 msPassed
testCalculateNewObjects53 msPassed
testClearCacheAfterCommit24 msPassed
testCommitFailed21 msPassed
testCommitInactive47 msPassed
testContains21 msPassed
testGetContexts21 msPassed
testGetOriginal23 msPassed
testGetOriginalNull21 msPassed
testGetState23 msPassed
testGetStateWithDescriptor22 msPassed
testIsConsistent21 msPassed
testIsObjectManaged23 msPassed
testIsObjectManagerNull21 msPassed
testIsObjectNew26 msPassed
testIsObjectNewWithNullAndManaged23 msPassed
testLoadFieldValueNotRegistered22 msPassed
testReadObjectFromOntology22 msPassed
testReadObjectJustPersisted21 msPassed
testReadObjectNullClass21 msPassed
testReadObjectNullContext21 msPassed
testReadObjectNullPrimaryKey18 msPassed
testRegisterExistingObject22 msPassed
testRegisterExistingObjectTwice22 msPassed
testRegisterNewObject22 msPassed
testRegisterNewObjectNull49 msPassed
testRegisterNewObjectNullDescriptor21 msPassed
testReleaseUnitOfWork24 msPassed
testRemoveNewObject26 msPassed
testRemoveObjectFromCache25 msPassed
testRemoveObjectNotRegistered21 msPassed
testRollback24 msPassed
testRollbackInactive22 msPassed
testUnregisterObject21 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit25 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit25 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached24 msPassed
unregisterObjectRemovesItFromCloneBuilderCache22 msPassed
unwrapReturnsItselfWhenClassMatches21 msPassed