Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded21 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue23 msPassed
changesToRemovedObjectAreIgnoredOnCommit23 msPassed
clearCleansUpPersistenceContext23 msPassed
clearResetsCloneBuilder45 msPassed
commitDetachesPersistedInstance22 msPassed
commitEvictsInferredClassesFromCache23 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction28 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances49 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne23 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject27 msPassed
getManagedOriginalForDifferentContextReturnsNull26 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull29 msPassed
getManagedOriginalReturnsManagedOriginalInstance53 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects22 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType22 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction26 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper54 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance26 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject22 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.13 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject65 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute22 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance17 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject46 msPassed
isLoadedReturnsUnknownForUnregisteredObject21 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded27 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull66 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded53 msPassed
loadFieldLoadsLiteralValueAttribute28 msPassed
loadFieldLoadsManagedTypeAttribute26 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes23 msPassed
readAlreadyManagedObjectReturnsTheManagedOne26 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState74 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet50 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges52 msPassed
refreshOverwritesChangesSentToRepository27 msPassed
refreshOverwritesObjectPropertyChanges25 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance71 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity30 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance21 msPassed
refreshThrowsIllegalArgumentForRemovedInstance23 msPassed
registerExistingObjectInvokesPostCloneListeners57 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated68 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions23 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities23 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository23 msPassed
restoreDeletedRegistersObjectAgain26 msPassed
restoreDeletedReinsertsObjectIntoRepository21 msPassed
rollbackDetachesAllManagedEntities60 msPassed
testAttributeChanged27 msPassed
testAttributeChangedNotRegistered46 msPassed
testAttributeChangedOutsideTransaction53 msPassed
testCalculateDeletedObjects22 msPassed
testCalculateModificationsDataProperty23 msPassed
testCalculateModificationsObjectProperty24 msPassed
testCalculateNewObjects26 msPassed
testClearCacheAfterCommit23 msPassed
testCommitFailed26 msPassed
testCommitInactive21 msPassed
testContains27 msPassed
testGetContexts21 msPassed
testGetOriginal47 msPassed
testGetOriginalNull24 msPassed
testGetState47 msPassed
testGetStateWithDescriptor23 msPassed
testIsConsistent42 msPassed
testIsObjectManaged22 msPassed
testIsObjectManagerNull21 msPassed
testIsObjectNew55 msPassed
testIsObjectNewWithNullAndManaged26 msPassed
testLoadFieldValueNotRegistered46 msPassed
testReadObjectFromOntology27 msPassed
testReadObjectJustPersisted22 msPassed
testReadObjectNullClass26 msPassed
testReadObjectNullContext83 msPassed
testReadObjectNullPrimaryKey56 msPassed
testRegisterExistingObject25 msPassed
testRegisterExistingObjectTwice25 msPassed
testRegisterNewObject46 msPassed
testRegisterNewObjectNull22 msPassed
testRegisterNewObjectNullDescriptor25 msPassed
testReleaseUnitOfWork21 msPassed
testRemoveNewObject27 msPassed
testRemoveObjectFromCache42 msPassed
testRemoveObjectNotRegistered21 msPassed
testRollback27 msPassed
testRollbackInactive23 msPassed
testUnregisterObject37 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit30 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit31 msPassed
unregisterObjectRemovesItFromCloneBuilderCache24 msPassed
unwrapReturnsItselfWhenClassMatches24 msPassed