Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext6 msPassed
clearResetsCloneBuilder5 msPassed
commitDetachesPersistedInstance5 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction6 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances6 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne5 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject10 msPassed
getManagedOriginalForDifferentContextReturnsNull5 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull4 msPassed
getManagedOriginalReturnsManagedOriginalInstance5 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne5 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState6 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet6 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges6 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges8 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance6 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity6 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance5 msPassed
refreshThrowsIllegalArgumentForRemovedInstance6 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder8 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated5 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions9 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities10 msPassed
restoreDeletedRegistersObjectAgain5 msPassed
restoreDeletedReinsertsObjectIntoRepository5 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged5 msPassed
testAttributeChangedNotRegistered5 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects7 msPassed
testCalculateModificationsDataProperty5 msPassed
testCalculateModificationsObjectProperty6 msPassed
testCalculateNewObjects7 msPassed
testClearCacheAfterCommit12 msPassed
testCommitFailed5 msPassed
testCommitInactive9 msPassed
testContains5 msPassed
testGetContexts5 msPassed
testGetOriginal6 msPassed
testGetOriginalNull5 msPassed
testGetState5 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent5 msPassed
testIsObjectManaged5 msPassed
testIsObjectManagerNull5 msPassed
testIsObjectNew6 msPassed
testIsObjectNewWithNullAndManaged5 msPassed
testLoadFieldValue5 msPassed
testLoadFieldValueManagedType6 msPassed
testLoadFieldValueNotRegistered5 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext4 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject5 msPassed
testRegisterExistingObjectTwice4 msPassed
testRegisterNewObject5 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject5 msPassed
testRemoveObject6 msPassed
testRemoveObjectFromCache6 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback6 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject5 msPassed
testUseTransactionalOntologyForQueryProcessing5 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit6 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit8 msPassed
unregisterObjectRemovesItFromCloneBuilderCache6 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed