Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded28 msPassed
changesToRemovedObjectAreIgnoredOnCommit29 msPassed
clearCleansUpPersistenceContext33 msPassed
clearResetsCloneBuilder28 msPassed
commitDetachesPersistedInstance29 msPassed
commitEvictsInferredClassesFromCache29 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances29 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne29 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject29 msPassed
getManagedOriginalForDifferentContextReturnsNull56 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull57 msPassed
getManagedOriginalReturnsManagedOriginalInstance28 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects27 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType28 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction35 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance57 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject29 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute31 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject28 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute28 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance26 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject30 msPassed
isLoadedReturnsUnknownForUnregisteredObject57 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded30 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded28 msPassed
loadFieldLoadsLiteralValueAttribute57 msPassed
loadFieldLoadsManagedTypeAttribute59 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes41 msPassed
readAlreadyManagedObjectReturnsTheManagedOne29 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet30 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges29 msPassed
refreshOverwritesChangesSentToRepository30 msPassed
refreshOverwritesObjectPropertyChanges33 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance29 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity59 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance27 msPassed
refreshThrowsIllegalArgumentForRemovedInstance29 msPassed
registerExistingObjectInvokesPostCloneListeners30 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder29 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions29 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository29 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged59 msPassed
testAttributeChangedNotRegistered29 msPassed
testAttributeChangedOutsideTransaction28 msPassed
testCalculateDeletedObjects30 msPassed
testCalculateModificationsDataProperty28 msPassed
testCalculateModificationsObjectProperty32 msPassed
testCalculateNewObjects31 msPassed
testClearCacheAfterCommit30 msPassed
testCommitFailed57 msPassed
testCommitInactive28 msPassed
testContains53 msPassed
testGetContexts27 msPassed
testGetOriginal29 msPassed
testGetOriginalNull28 msPassed
testGetState33 msPassed
testGetStateWithDescriptor29 msPassed
testIsConsistent24 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull58 msPassed
testIsObjectNew27 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext55 msPassed
testReadObjectNullPrimaryKey27 msPassed
testRegisterExistingObject55 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject28 msPassed
testRegisterNewObjectNull29 msPassed
testRegisterNewObjectNullDescriptor28 msPassed
testReleaseUnitOfWork50 msPassed
testRemoveNewObject28 msPassed
testRemoveObjectFromCache27 msPassed
testRemoveObjectNotRegistered28 msPassed
testRollback28 msPassed
testRollbackInactive28 msPassed
testSwitchQueryProcessingOntology27 msPassed
testUnregisterObject28 msPassed
testUseTransactionalOntologyForQueryProcessing28 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit33 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit32 msPassed
unregisterObjectRemovesItFromCloneBuilderCache28 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed