Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
91 tests (±0)
Took 2.7 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded30 msPassed
changesToRemovedObjectAreIgnoredOnCommit37 msPassed
clearCleansUpPersistenceContext5 msPassed
clearResetsCloneBuilder19 msPassed
commitDetachesPersistedInstance37 msPassed
commitEvictsInferredClassesFromCache31 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction31 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances11 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne39 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject40 msPassed
getManagedOriginalForDifferentContextReturnsNull43 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull28 msPassed
getManagedOriginalReturnsManagedOriginalInstance25 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction40 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance47 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject23 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute15 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject10 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute2 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance14 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject51 msPassed
isLoadedReturnsUnknownForUnregisteredObject14 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded38 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull21 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded16 msPassed
loadFieldLoadsLiteralValueAttribute45 msPassed
loadFieldLoadsManagedTypeAttribute39 msPassed
readAlreadyManagedObjectReturnsTheManagedOne11 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState33 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet22 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges27 msPassed
refreshOverwritesChangesSentToRepository13 msPassed
refreshOverwritesObjectPropertyChanges9 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance22 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity43 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance26 msPassed
refreshThrowsIllegalArgumentForRemovedInstance44 msPassed
registerExistingObjectInvokesPostCloneListeners10 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder24 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated14 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions32 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities49 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository36 msPassed
restoreDeletedRegistersObjectAgain22 msPassed
restoreDeletedReinsertsObjectIntoRepository0.31 secPassed
rollbackDetachesAllManagedEntities21 msPassed
testAttributeChanged29 msPassed
testAttributeChangedNotRegistered32 msPassed
testAttributeChangedOutsideTransaction25 msPassed
testCalculateDeletedObjects19 msPassed
testCalculateModificationsDataProperty33 msPassed
testCalculateModificationsObjectProperty32 msPassed
testCalculateNewObjects35 msPassed
testClearCacheAfterCommit50 msPassed
testCommitFailed18 msPassed
testCommitInactive1 msPassed
testContains29 msPassed
testGetContexts29 msPassed
testGetOriginal39 msPassed
testGetOriginalNull10 msPassed
testGetState32 msPassed
testGetStateWithDescriptor47 msPassed
testIsConsistent37 msPassed
testIsObjectManaged41 msPassed
testIsObjectManagerNull14 msPassed
testIsObjectNew17 msPassed
testIsObjectNewWithNullAndManaged22 msPassed
testLoadFieldValueNotRegistered9 msPassed
testReadObjectFromOntology26 msPassed
testReadObjectJustPersisted11 msPassed
testReadObjectNullClass18 msPassed
testReadObjectNullContext26 msPassed
testReadObjectNullPrimaryKey21 msPassed
testRegisterExistingObject33 msPassed
testRegisterExistingObjectTwice35 msPassed
testRegisterNewObject28 msPassed
testRegisterNewObjectNull0 msPassed
testRegisterNewObjectNullDescriptor11 msPassed
testReleaseUnitOfWork28 msPassed
testRemoveNewObject10 msPassed
testRemoveObjectFromCache21 msPassed
testRemoveObjectNotRegistered28 msPassed
testRollback34 msPassed
testRollbackInactive38 msPassed
testSwitchQueryProcessingOntology37 msPassed
testUnregisterObject10 msPassed
testUseTransactionalOntologyForQueryProcessing9 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit46 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit65 msPassed
unregisterObjectRemovesItFromCloneBuilderCache36 msPassed
unwrapReturnsItselfWhenClassMatches25 msPassed