Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded28 msPassed
changesToRemovedObjectAreIgnoredOnCommit29 msPassed
clearCleansUpPersistenceContext30 msPassed
clearResetsCloneBuilder28 msPassed
commitDetachesPersistedInstance29 msPassed
commitEvictsInferredClassesFromCache29 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction29 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances31 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne33 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject58 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull27 msPassed
getManagedOriginalReturnsManagedOriginalInstance27 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects28 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType29 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction35 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance27 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject27 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute30 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject28 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute27 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance27 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject27 msPassed
isLoadedReturnsUnknownForUnregisteredObject27 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded57 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull29 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded28 msPassed
loadFieldLoadsLiteralValueAttribute29 msPassed
loadFieldLoadsManagedTypeAttribute31 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes30 msPassed
readAlreadyManagedObjectReturnsTheManagedOne46 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState31 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet31 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges29 msPassed
refreshOverwritesChangesSentToRepository68 msPassed
refreshOverwritesObjectPropertyChanges32 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance29 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity30 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance28 msPassed
refreshThrowsIllegalArgumentForRemovedInstance29 msPassed
registerExistingObjectInvokesPostCloneListeners48 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder29 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated28 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions29 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities28 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain54 msPassed
restoreDeletedReinsertsObjectIntoRepository30 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged29 msPassed
testAttributeChangedNotRegistered28 msPassed
testAttributeChangedOutsideTransaction26 msPassed
testCalculateDeletedObjects28 msPassed
testCalculateModificationsDataProperty30 msPassed
testCalculateModificationsObjectProperty30 msPassed
testCalculateNewObjects31 msPassed
testClearCacheAfterCommit29 msPassed
testCommitFailed29 msPassed
testCommitInactive28 msPassed
testContains27 msPassed
testGetContexts27 msPassed
testGetOriginal29 msPassed
testGetOriginalNull27 msPassed
testGetState29 msPassed
testGetStateWithDescriptor28 msPassed
testIsConsistent27 msPassed
testIsObjectManaged27 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted28 msPassed
testReadObjectNullClass56 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey27 msPassed
testRegisterExistingObject30 msPassed
testRegisterExistingObjectTwice57 msPassed
testRegisterNewObject29 msPassed
testRegisterNewObjectNull25 msPassed
testRegisterNewObjectNullDescriptor55 msPassed
testReleaseUnitOfWork27 msPassed
testRemoveNewObject36 msPassed
testRemoveObjectFromCache27 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback29 msPassed
testRollbackInactive27 msPassed
testSwitchQueryProcessingOntology27 msPassed
testUnregisterObject52 msPassed
testUseTransactionalOntologyForQueryProcessing27 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit67 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit31 msPassed
unregisterObjectRemovesItFromCloneBuilderCache30 msPassed
unwrapReturnsItselfWhenClassMatches54 msPassed