Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded27 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue29 msPassed
changesToRemovedObjectAreIgnoredOnCommit27 msPassed
clearCleansUpPersistenceContext24 msPassed
clearResetsCloneBuilder22 msPassed
commitDetachesPersistedInstance27 msPassed
commitEvictsInferredClassesFromCache76 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction24 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances24 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne28 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject23 msPassed
getManagedOriginalForDifferentContextReturnsNull27 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull26 msPassed
getManagedOriginalReturnsManagedOriginalInstance22 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects27 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType27 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction32 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper23 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged26 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance22 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject51 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute74 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject23 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute24 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance27 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject23 msPassed
isLoadedReturnsUnknownForUnregisteredObject25 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded24 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull23 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded22 msPassed
loadFieldLoadsLiteralValueAttribute27 msPassed
loadFieldLoadsManagedTypeAttribute29 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes28 msPassed
readAlreadyManagedObjectReturnsTheManagedOne27 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState27 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet25 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges23 msPassed
refreshOverwritesChangesSentToRepository23 msPassed
refreshOverwritesObjectPropertyChanges26 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance27 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity29 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance60 msPassed
refreshThrowsIllegalArgumentForRemovedInstance26 msPassed
registerExistingObjectInvokesPostCloneListeners26 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated23 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions31 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities27 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository26 msPassed
restoreDeletedRegistersObjectAgain22 msPassed
restoreDeletedReinsertsObjectIntoRepository26 msPassed
rollbackDetachesAllManagedEntities25 msPassed
testAttributeChanged23 msPassed
testAttributeChangedNotRegistered22 msPassed
testAttributeChangedOutsideTransaction23 msPassed
testCalculateDeletedObjects24 msPassed
testCalculateModificationsDataProperty27 msPassed
testCalculateModificationsObjectProperty29 msPassed
testCalculateNewObjects40 msPassed
testClearCacheAfterCommit27 msPassed
testCommitFailed27 msPassed
testCommitInactive22 msPassed
testContains22 msPassed
testGetContexts26 msPassed
testGetOriginal22 msPassed
testGetOriginalNull36 msPassed
testGetState23 msPassed
testGetStateWithDescriptor26 msPassed
testIsConsistent22 msPassed
testIsObjectManaged27 msPassed
testIsObjectManagerNull27 msPassed
testIsObjectNew22 msPassed
testIsObjectNewWithNullAndManaged22 msPassed
testLoadFieldValueNotRegistered22 msPassed
testReadObjectFromOntology22 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass22 msPassed
testReadObjectNullContext26 msPassed
testReadObjectNullPrimaryKey22 msPassed
testRegisterExistingObject26 msPassed
testRegisterExistingObjectTwice22 msPassed
testRegisterNewObject22 msPassed
testRegisterNewObjectNull43 msPassed
testRegisterNewObjectNullDescriptor22 msPassed
testReleaseUnitOfWork25 msPassed
testRemoveNewObject26 msPassed
testRemoveObjectFromCache74 msPassed
testRemoveObjectNotRegistered26 msPassed
testRollback27 msPassed
testRollbackInactive26 msPassed
testUnregisterObject24 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit28 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit26 msPassed
unregisterObjectRemovesItFromCloneBuilderCache28 msPassed
unwrapReturnsItselfWhenClassMatches24 msPassed