Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
93 tests (±0)
Took 3.4 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded32 msPassed
changesToRemovedObjectAreIgnoredOnCommit59 msPassed
clearCleansUpPersistenceContext44 msPassed
clearResetsCloneBuilder39 msPassed
commitDetachesPersistedInstance73 msPassed
commitEvictsInferredClassesFromCache30 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances29 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne61 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject31 msPassed
getManagedOriginalForDifferentContextReturnsNull28 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull27 msPassed
getManagedOriginalReturnsManagedOriginalInstance39 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects28 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType57 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.1 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance27 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject30 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute39 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject27 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute49 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance57 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject28 msPassed
isLoadedReturnsUnknownForUnregisteredObject35 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded32 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull34 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded39 msPassed
loadFieldLoadsLiteralValueAttribute29 msPassed
loadFieldLoadsManagedTypeAttribute30 msPassed
readAlreadyManagedObjectReturnsTheManagedOne57 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState32 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet30 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges31 msPassed
refreshOverwritesChangesSentToRepository33 msPassed
refreshOverwritesObjectPropertyChanges53 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance34 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity30 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance30 msPassed
refreshThrowsIllegalArgumentForRemovedInstance45 msPassed
registerExistingObjectInvokesPostCloneListeners52 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder38 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated23 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions30 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities38 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository31 msPassed
restoreDeletedRegistersObjectAgain31 msPassed
restoreDeletedReinsertsObjectIntoRepository76 msPassed
rollbackDetachesAllManagedEntities40 msPassed
testAttributeChanged29 msPassed
testAttributeChangedNotRegistered28 msPassed
testAttributeChangedOutsideTransaction27 msPassed
testCalculateDeletedObjects41 msPassed
testCalculateModificationsDataProperty63 msPassed
testCalculateModificationsObjectProperty66 msPassed
testCalculateNewObjects34 msPassed
testClearCacheAfterCommit45 msPassed
testCommitFailed27 msPassed
testCommitInactive48 msPassed
testContains29 msPassed
testGetContexts54 msPassed
testGetOriginal28 msPassed
testGetOriginalNull28 msPassed
testGetState29 msPassed
testGetStateWithDescriptor38 msPassed
testIsConsistent28 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull31 msPassed
testIsObjectNew36 msPassed
testIsObjectNewWithNullAndManaged29 msPassed
testLoadFieldValueNotRegistered35 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted68 msPassed
testReadObjectNullClass29 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject27 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject29 msPassed
testRegisterNewObjectNull33 msPassed
testRegisterNewObjectNullDescriptor28 msPassed
testReleaseUnitOfWork35 msPassed
testRemoveNewObject58 msPassed
testRemoveObjectFromCache38 msPassed
testRemoveObjectNotRegistered37 msPassed
testRollback42 msPassed
testRollbackInactive36 msPassed
testSwitchQueryProcessingOntology29 msPassed
testUnregisterObject29 msPassed
testUseTransactionalOntologyForQueryProcessing28 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit36 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit33 msPassed
unregisterObjectRemovesItFromCloneBuilderCache38 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed