Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded40 msPassed
changesToRemovedObjectAreIgnoredOnCommit40 msPassed
clearCleansUpPersistenceContext33 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance31 msPassed
commitEvictsInferredClassesFromCache28 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances37 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne33 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject33 msPassed
getManagedOriginalForDifferentContextReturnsNull28 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull28 msPassed
getManagedOriginalReturnsManagedOriginalInstance28 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects40 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType42 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction37 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance27 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject26 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute40 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject54 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute31 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance40 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject42 msPassed
isLoadedReturnsUnknownForUnregisteredObject30 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded33 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull37 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded29 msPassed
loadFieldLoadsLiteralValueAttribute29 msPassed
loadFieldLoadsManagedTypeAttribute31 msPassed
readAlreadyManagedObjectReturnsTheManagedOne30 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState50 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet39 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges29 msPassed
refreshOverwritesChangesSentToRepository33 msPassed
refreshOverwritesObjectPropertyChanges60 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance29 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity29 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance27 msPassed
refreshThrowsIllegalArgumentForRemovedInstance28 msPassed
registerExistingObjectInvokesPostCloneListeners30 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder37 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated35 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions37 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities28 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository33 msPassed
restoreDeletedRegistersObjectAgain31 msPassed
restoreDeletedReinsertsObjectIntoRepository30 msPassed
rollbackDetachesAllManagedEntities30 msPassed
testAttributeChanged28 msPassed
testAttributeChangedNotRegistered29 msPassed
testAttributeChangedOutsideTransaction36 msPassed
testCalculateDeletedObjects38 msPassed
testCalculateModificationsDataProperty40 msPassed
testCalculateModificationsObjectProperty44 msPassed
testCalculateNewObjects31 msPassed
testClearCacheAfterCommit30 msPassed
testCommitFailed27 msPassed
testCommitInactive58 msPassed
testContains28 msPassed
testGetContexts34 msPassed
testGetOriginal29 msPassed
testGetOriginalNull25 msPassed
testGetState36 msPassed
testGetStateWithDescriptor27 msPassed
testIsConsistent26 msPassed
testIsObjectManaged44 msPassed
testIsObjectManagerNull26 msPassed
testIsObjectNew27 msPassed
testIsObjectNewWithNullAndManaged27 msPassed
testLoadFieldValueNotRegistered33 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted30 msPassed
testReadObjectNullClass30 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey27 msPassed
testRegisterExistingObject27 msPassed
testRegisterExistingObjectTwice30 msPassed
testRegisterNewObject27 msPassed
testRegisterNewObjectNull29 msPassed
testRegisterNewObjectNullDescriptor30 msPassed
testReleaseUnitOfWork42 msPassed
testRemoveNewObject30 msPassed
testRemoveObjectFromCache26 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback39 msPassed
testRollbackInactive26 msPassed
testSwitchQueryProcessingOntology34 msPassed
testUnregisterObject30 msPassed
testUseTransactionalOntologyForQueryProcessing36 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit36 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit33 msPassed
unregisterObjectRemovesItFromCloneBuilderCache27 msPassed
unwrapReturnsItselfWhenClassMatches29 msPassed