Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded38 msPassed
changesToRemovedObjectAreIgnoredOnCommit18 msPassed
clearCleansUpPersistenceContext19 msPassed
clearResetsCloneBuilder18 msPassed
commitDetachesPersistedInstance18 msPassed
commitEvictsInferredClassesFromCache42 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction34 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances19 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne19 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject19 msPassed
getManagedOriginalForDifferentContextReturnsNull38 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull38 msPassed
getManagedOriginalReturnsManagedOriginalInstance17 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects40 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType18 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction23 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance39 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject39 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute19 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject17 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute17 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance17 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject17 msPassed
isLoadedReturnsUnknownForUnregisteredObject37 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded19 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull17 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded18 msPassed
loadFieldLoadsLiteralValueAttribute40 msPassed
loadFieldLoadsManagedTypeAttribute43 msPassed
readAlreadyManagedObjectReturnsTheManagedOne17 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState19 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet19 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges18 msPassed
refreshOverwritesChangesSentToRepository19 msPassed
refreshOverwritesObjectPropertyChanges21 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance19 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity41 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance38 msPassed
refreshThrowsIllegalArgumentForRemovedInstance42 msPassed
registerExistingObjectInvokesPostCloneListeners18 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder18 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated17 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions40 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities40 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository74 msPassed
restoreDeletedRegistersObjectAgain17 msPassed
restoreDeletedReinsertsObjectIntoRepository17 msPassed
rollbackDetachesAllManagedEntities18 msPassed
testAttributeChanged41 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction17 msPassed
testCalculateDeletedObjects20 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty20 msPassed
testCalculateNewObjects45 msPassed
testClearCacheAfterCommit41 msPassed
testCommitFailed39 msPassed
testCommitInactive17 msPassed
testContains40 msPassed
testGetContexts17 msPassed
testGetOriginal17 msPassed
testGetOriginalNull30 msPassed
testGetState19 msPassed
testGetStateWithDescriptor40 msPassed
testIsConsistent17 msPassed
testIsObjectManaged39 msPassed
testIsObjectManagerNull36 msPassed
testIsObjectNew17 msPassed
testIsObjectNewWithNullAndManaged32 msPassed
testLoadFieldValueNotRegistered17 msPassed
testReadObjectFromOntology30 msPassed
testReadObjectJustPersisted17 msPassed
testReadObjectNullClass17 msPassed
testReadObjectNullContext39 msPassed
testReadObjectNullPrimaryKey17 msPassed
testRegisterExistingObject40 msPassed
testRegisterExistingObjectTwice17 msPassed
testRegisterNewObject17 msPassed
testRegisterNewObjectNull17 msPassed
testRegisterNewObjectNullDescriptor16 msPassed
testReleaseUnitOfWork37 msPassed
testRemoveNewObject18 msPassed
testRemoveObjectFromCache17 msPassed
testRemoveObjectNotRegistered37 msPassed
testRollback39 msPassed
testRollbackInactive36 msPassed
testSwitchQueryProcessingOntology17 msPassed
testUnregisterObject17 msPassed
testUseTransactionalOntologyForQueryProcessing17 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit21 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit20 msPassed
unregisterObjectRemovesItFromCloneBuilderCache38 msPassed
unwrapReturnsItselfWhenClassMatches16 msPassed