Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded28 msPassed
changesToRemovedObjectAreIgnoredOnCommit29 msPassed
clearCleansUpPersistenceContext29 msPassed
clearResetsCloneBuilder47 msPassed
commitDetachesPersistedInstance30 msPassed
commitEvictsInferredClassesFromCache29 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction31 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances52 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne29 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject30 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull28 msPassed
getManagedOriginalReturnsManagedOriginalInstance0.1 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects31 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType29 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance29 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject29 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute30 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject28 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute38 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance28 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject49 msPassed
isLoadedReturnsUnknownForUnregisteredObject27 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded30 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull27 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded31 msPassed
loadFieldLoadsLiteralValueAttribute30 msPassed
loadFieldLoadsManagedTypeAttribute32 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes30 msPassed
readAlreadyManagedObjectReturnsTheManagedOne29 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState29 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet35 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges41 msPassed
refreshOverwritesChangesSentToRepository30 msPassed
refreshOverwritesObjectPropertyChanges32 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance42 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity31 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance28 msPassed
refreshThrowsIllegalArgumentForRemovedInstance29 msPassed
registerExistingObjectInvokesPostCloneListeners29 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder42 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated27 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions30 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities31 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository29 msPassed
restoreDeletedRegistersObjectAgain28 msPassed
restoreDeletedReinsertsObjectIntoRepository29 msPassed
rollbackDetachesAllManagedEntities40 msPassed
testAttributeChanged28 msPassed
testAttributeChangedNotRegistered54 msPassed
testAttributeChangedOutsideTransaction39 msPassed
testCalculateDeletedObjects46 msPassed
testCalculateModificationsDataProperty30 msPassed
testCalculateModificationsObjectProperty31 msPassed
testCalculateNewObjects32 msPassed
testClearCacheAfterCommit31 msPassed
testCommitFailed29 msPassed
testCommitInactive18 msPassed
testContains29 msPassed
testGetContexts28 msPassed
testGetOriginal50 msPassed
testGetOriginalNull28 msPassed
testGetState49 msPassed
testGetStateWithDescriptor29 msPassed
testIsConsistent46 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull29 msPassed
testIsObjectNew39 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered49 msPassed
testReadObjectFromOntology30 msPassed
testReadObjectJustPersisted29 msPassed
testReadObjectNullClass27 msPassed
testReadObjectNullContext28 msPassed
testReadObjectNullPrimaryKey38 msPassed
testRegisterExistingObject28 msPassed
testRegisterExistingObjectTwice28 msPassed
testRegisterNewObject47 msPassed
testRegisterNewObjectNull25 msPassed
testRegisterNewObjectNullDescriptor28 msPassed
testReleaseUnitOfWork28 msPassed
testRemoveNewObject29 msPassed
testRemoveObjectFromCache46 msPassed
testRemoveObjectNotRegistered29 msPassed
testRollback29 msPassed
testRollbackInactive27 msPassed
testSwitchQueryProcessingOntology36 msPassed
testUnregisterObject29 msPassed
testUseTransactionalOntologyForQueryProcessing27 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit33 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit33 msPassed
unregisterObjectRemovesItFromCloneBuilderCache30 msPassed
unwrapReturnsItselfWhenClassMatches27 msPassed