Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded54 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue59 msPassed
changesToRemovedObjectAreIgnoredOnCommit47 msPassed
clearCleansUpPersistenceContext26 msPassed
clearResetsCloneBuilder24 msPassed
commitDetachesPersistedInstance49 msPassed
commitEvictsInferredClassesFromCache56 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction24 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances29 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne49 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject24 msPassed
getManagedOriginalForDifferentContextReturnsNull46 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull60 msPassed
getManagedOriginalReturnsManagedOriginalInstance24 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects53 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType49 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction54 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper23 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged58 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance63 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject29 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute90 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject24 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute25 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance53 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject23 msPassed
isLoadedReturnsUnknownForUnregisteredObject54 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded23 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull26 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded25 msPassed
loadFieldLoadsLiteralValueAttribute86 msPassed
loadFieldLoadsManagedTypeAttribute67 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes61 msPassed
readAlreadyManagedObjectReturnsTheManagedOne28 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState30 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet26 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges24 msPassed
refreshOverwritesChangesSentToRepository24 msPassed
refreshOverwritesObjectPropertyChanges27 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance31 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity55 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance55 msPassed
refreshThrowsIllegalArgumentForRemovedInstance57 msPassed
registerExistingObjectInvokesPostCloneListeners23 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.22 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated25 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions27 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities60 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository66 msPassed
restoreDeletedRegistersObjectAgain22 msPassed
restoreDeletedReinsertsObjectIntoRepository50 msPassed
rollbackDetachesAllManagedEntities27 msPassed
testAttributeChanged99 msPassed
testAttributeChangedNotRegistered23 msPassed
testAttributeChangedOutsideTransaction24 msPassed
testCalculateDeletedObjects33 msPassed
testCalculateModificationsDataProperty44 msPassed
testCalculateModificationsObjectProperty52 msPassed
testCalculateNewObjects64 msPassed
testClearCacheAfterCommit0.1 secPassed
testCommitFailed46 msPassed
testCommitInactive22 msPassed
testContains55 msPassed
testGetContexts47 msPassed
testGetOriginal23 msPassed
testGetOriginalNull43 msPassed
testGetState24 msPassed
testGetStateWithDescriptor59 msPassed
testIsConsistent24 msPassed
testIsObjectManaged0.14 secPassed
testIsObjectManagerNull55 msPassed
testIsObjectNew24 msPassed
testIsObjectNewWithNullAndManaged23 msPassed
testLoadFieldValueNotRegistered20 msPassed
testReadObjectFromOntology49 msPassed
testReadObjectJustPersisted45 msPassed
testReadObjectNullClass21 msPassed
testReadObjectNullContext59 msPassed
testReadObjectNullPrimaryKey22 msPassed
testRegisterExistingObject45 msPassed
testRegisterExistingObjectTwice22 msPassed
testRegisterNewObject23 msPassed
testRegisterNewObjectNull25 msPassed
testRegisterNewObjectNullDescriptor22 msPassed
testReleaseUnitOfWork60 msPassed
testRemoveNewObject45 msPassed
testRemoveObjectFromCache22 msPassed
testRemoveObjectNotRegistered64 msPassed
testRollback57 msPassed
testRollbackInactive53 msPassed
testUnregisterObject22 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit26 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit28 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached26 msPassed
unregisterObjectRemovesItFromCloneBuilderCache56 msPassed
unwrapReturnsItselfWhenClassMatches22 msPassed