Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded27 msPassed
changesToRemovedObjectAreIgnoredOnCommit26 msPassed
clearCleansUpPersistenceContext27 msPassed
clearResetsCloneBuilder0.21 secPassed
commitDetachesPersistedInstance26 msPassed
commitEvictsInferredClassesFromCache27 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction29 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances53 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne28 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject28 msPassed
getManagedOriginalForDifferentContextReturnsNull26 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull25 msPassed
getManagedOriginalReturnsManagedOriginalInstance26 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects26 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType26 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction32 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance25 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject26 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute27 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject51 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute25 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance25 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject52 msPassed
isLoadedReturnsUnknownForUnregisteredObject24 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded38 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull25 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded28 msPassed
loadFieldLoadsLiteralValueAttribute28 msPassed
loadFieldLoadsManagedTypeAttribute28 msPassed
readAlreadyManagedObjectReturnsTheManagedOne25 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState52 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet56 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges27 msPassed
refreshOverwritesChangesSentToRepository45 msPassed
refreshOverwritesObjectPropertyChanges29 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance28 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity28 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance27 msPassed
refreshThrowsIllegalArgumentForRemovedInstance26 msPassed
registerExistingObjectInvokesPostCloneListeners25 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder25 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated27 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions27 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities26 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository27 msPassed
restoreDeletedRegistersObjectAgain25 msPassed
restoreDeletedReinsertsObjectIntoRepository26 msPassed
rollbackDetachesAllManagedEntities27 msPassed
testAttributeChanged26 msPassed
testAttributeChangedNotRegistered51 msPassed
testAttributeChangedOutsideTransaction53 msPassed
testCalculateDeletedObjects26 msPassed
testCalculateModificationsDataProperty26 msPassed
testCalculateModificationsObjectProperty28 msPassed
testCalculateNewObjects30 msPassed
testClearCacheAfterCommit27 msPassed
testCommitFailed26 msPassed
testCommitInactive24 msPassed
testContains26 msPassed
testGetContexts24 msPassed
testGetOriginal52 msPassed
testGetOriginalNull25 msPassed
testGetState55 msPassed
testGetStateWithDescriptor27 msPassed
testIsConsistent52 msPassed
testIsObjectManaged26 msPassed
testIsObjectManagerNull25 msPassed
testIsObjectNew26 msPassed
testIsObjectNewWithNullAndManaged25 msPassed
testLoadFieldValueNotRegistered51 msPassed
testReadObjectFromOntology26 msPassed
testReadObjectJustPersisted25 msPassed
testReadObjectNullClass25 msPassed
testReadObjectNullContext25 msPassed
testReadObjectNullPrimaryKey25 msPassed
testRegisterExistingObject26 msPassed
testRegisterExistingObjectTwice33 msPassed
testRegisterNewObject53 msPassed
testRegisterNewObjectNull21 msPassed
testRegisterNewObjectNullDescriptor25 msPassed
testReleaseUnitOfWork25 msPassed
testRemoveNewObject25 msPassed
testRemoveObjectFromCache33 msPassed
testRemoveObjectNotRegistered25 msPassed
testRollback26 msPassed
testRollbackInactive26 msPassed
testSwitchQueryProcessingOntology25 msPassed
testUnregisterObject26 msPassed
testUseTransactionalOntologyForQueryProcessing51 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit40 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit32 msPassed
unregisterObjectRemovesItFromCloneBuilderCache26 msPassed
unwrapReturnsItselfWhenClassMatches33 msPassed