Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
94 tests (±0)
Took 3.6 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded74 msPassed
changesToRemovedObjectAreIgnoredOnCommit83 msPassed
clearCleansUpPersistenceContext36 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance30 msPassed
commitEvictsInferredClassesFromCache91 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances31 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne80 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject35 msPassed
getManagedOriginalForDifferentContextReturnsNull30 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull36 msPassed
getManagedOriginalReturnsManagedOriginalInstance29 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects75 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType82 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction86 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance40 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject29 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute34 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject33 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute29 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance67 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject30 msPassed
isLoadedReturnsUnknownForUnregisteredObject28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded31 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull34 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded29 msPassed
loadFieldLoadsLiteralValueAttribute45 msPassed
loadFieldLoadsManagedTypeAttribute31 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes31 msPassed
readAlreadyManagedObjectReturnsTheManagedOne37 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState38 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet36 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges30 msPassed
refreshOverwritesChangesSentToRepository31 msPassed
refreshOverwritesObjectPropertyChanges37 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance31 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity31 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance77 msPassed
refreshThrowsIllegalArgumentForRemovedInstance30 msPassed
registerExistingObjectInvokesPostCloneListeners29 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder32 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated33 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions31 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities28 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository29 msPassed
restoreDeletedRegistersObjectAgain29 msPassed
restoreDeletedReinsertsObjectIntoRepository38 msPassed
rollbackDetachesAllManagedEntities30 msPassed
testAttributeChanged44 msPassed
testAttributeChangedNotRegistered29 msPassed
testAttributeChangedOutsideTransaction33 msPassed
testCalculateDeletedObjects33 msPassed
testCalculateModificationsDataProperty65 msPassed
testCalculateModificationsObjectProperty71 msPassed
testCalculateNewObjects86 msPassed
testClearCacheAfterCommit30 msPassed
testCommitFailed30 msPassed
testCommitInactive30 msPassed
testContains53 msPassed
testGetContexts79 msPassed
testGetOriginal28 msPassed
testGetOriginalNull28 msPassed
testGetState33 msPassed
testGetStateWithDescriptor28 msPassed
testIsConsistent29 msPassed
testIsObjectManaged28 msPassed
testIsObjectManagerNull29 msPassed
testIsObjectNew29 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered30 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass32 msPassed
testReadObjectNullContext40 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject29 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject28 msPassed
testRegisterNewObjectNull22 msPassed
testRegisterNewObjectNullDescriptor36 msPassed
testReleaseUnitOfWork28 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache28 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback76 msPassed
testRollbackInactive27 msPassed
testSwitchQueryProcessingOntology27 msPassed
testUnregisterObject29 msPassed
testUseTransactionalOntologyForQueryProcessing32 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit34 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit34 msPassed
unregisterObjectRemovesItFromCloneBuilderCache29 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed