Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded30 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue31 msPassed
changesToRemovedObjectAreIgnoredOnCommit29 msPassed
clearCleansUpPersistenceContext30 msPassed
clearResetsCloneBuilder32 msPassed
commitDetachesPersistedInstance28 msPassed
commitEvictsInferredClassesFromCache29 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction33 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances33 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne28 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject30 msPassed
getManagedOriginalForDifferentContextReturnsNull31 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull27 msPassed
getManagedOriginalReturnsManagedOriginalInstance31 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects28 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType28 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction33 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper32 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged28 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance28 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject32 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute29 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject29 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute29 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance28 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject85 msPassed
isLoadedReturnsUnknownForUnregisteredObject28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded29 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded31 msPassed
loadFieldLoadsLiteralValueAttribute32 msPassed
loadFieldLoadsManagedTypeAttribute33 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes32 msPassed
readAlreadyManagedObjectReturnsTheManagedOne27 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState30 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet32 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges33 msPassed
refreshOverwritesChangesSentToRepository29 msPassed
refreshOverwritesObjectPropertyChanges32 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance30 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity69 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance27 msPassed
refreshThrowsIllegalArgumentForRemovedInstance33 msPassed
registerExistingObjectInvokesPostCloneListeners27 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder29 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated29 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions32 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities49 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository32 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository28 msPassed
rollbackDetachesAllManagedEntities33 msPassed
testAttributeChanged28 msPassed
testAttributeChangedNotRegistered30 msPassed
testAttributeChangedOutsideTransaction29 msPassed
testCalculateDeletedObjects30 msPassed
testCalculateModificationsDataProperty29 msPassed
testCalculateModificationsObjectProperty30 msPassed
testCalculateNewObjects30 msPassed
testClearCacheAfterCommit33 msPassed
testCommitFailed31 msPassed
testCommitInactive28 msPassed
testContains28 msPassed
testGetContexts27 msPassed
testGetOriginal33 msPassed
testGetOriginalNull31 msPassed
testGetState30 msPassed
testGetStateWithDescriptor32 msPassed
testIsConsistent29 msPassed
testIsObjectManaged32 msPassed
testIsObjectManagerNull29 msPassed
testIsObjectNew31 msPassed
testIsObjectNewWithNullAndManaged32 msPassed
testLoadFieldValueNotRegistered34 msPassed
testReadObjectFromOntology31 msPassed
testReadObjectJustPersisted27 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey31 msPassed
testRegisterExistingObject30 msPassed
testRegisterExistingObjectTwice30 msPassed
testRegisterNewObject31 msPassed
testRegisterNewObjectNull28 msPassed
testRegisterNewObjectNullDescriptor27 msPassed
testReleaseUnitOfWork27 msPassed
testRemoveNewObject27 msPassed
testRemoveObjectFromCache32 msPassed
testRemoveObjectNotRegistered28 msPassed
testRollback28 msPassed
testRollbackInactive29 msPassed
testUnregisterObject65 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit32 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit37 msPassed
unregisterObjectRemovesItFromCloneBuilderCache26 msPassed
unwrapReturnsItselfWhenClassMatches25 msPassed