Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
77 tests (±0)
Took 0.58 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext11 msPassed
clearResetsCloneBuilder6 msPassed
commitDetachesPersistedInstance9 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances7 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne6 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject12 msPassed
getManagedOriginalForDifferentContextReturnsNull9 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState7 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet7 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository12 msPassed
refreshOverwritesObjectPropertyChanges9 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance7 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity6 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance6 msPassed
registerExistingObjectInvokesPostCloneListeners8 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder9 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated8 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
restoreDeletedRegistersObjectAgain12 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities7 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered9 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects7 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects11 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed6 msPassed
testCommitInactive10 msPassed
testContains6 msPassed
testGetContexts6 msPassed
testGetOriginal7 msPassed
testGetOriginalNull6 msPassed
testGetState7 msPassed
testGetStateWithDescriptor6 msPassed
testIsConsistent6 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull0 msPassed
testIsObjectNew6 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValue7 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered5 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass11 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey6 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice12 msPassed
testRegisterNewObject9 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor11 msPassed
testReleaseUnitOfWork20 msPassed
testRemoveNewObject6 msPassed
testRemoveObject6 msPassed
testRemoveObjectFromCache6 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback6 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject11 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit17 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit8 msPassed
unregisterObjectRemovesItFromCloneBuilderCache6 msPassed
unwrapReturnsItselfWhenClassMatches11 msPassed