Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext11 msPassed
clearResetsCloneBuilder10 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject10 msPassed
getManagedOriginalForDifferentContextReturnsNull9 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull8 msPassed
getManagedOriginalReturnsManagedOriginalInstance14 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne8 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState15 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet10 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository10 msPassed
refreshOverwritesObjectPropertyChanges13 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance7 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity9 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance7 msPassed
refreshThrowsIllegalArgumentForRemovedInstance6 msPassed
registerExistingObjectInvokesPostCloneListeners9 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder9 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions5 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities5 msPassed
restoreDeletedRegistersObjectAgain9 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities2 msPassed
testAttributeChanged8 msPassed
testAttributeChangedNotRegistered9 msPassed
testAttributeChangedOutsideTransaction9 msPassed
testCalculateDeletedObjects13 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty6 msPassed
testCalculateNewObjects8 msPassed
testClearCacheAfterCommit6 msPassed
testCommitFailed8 msPassed
testCommitInactive11 msPassed
testContains9 msPassed
testGetContexts5 msPassed
testGetOriginal12 msPassed
testGetOriginalNull6 msPassed
testGetState9 msPassed
testGetStateWithDescriptor6 msPassed
testIsConsistent9 msPassed
testIsObjectManaged5 msPassed
testIsObjectManagerNull7 msPassed
testIsObjectNew8 msPassed
testIsObjectNewWithNullAndManaged5 msPassed
testLoadFieldValue6 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered9 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass8 msPassed
testReadObjectNullContext8 msPassed
testReadObjectNullPrimaryKey9 msPassed
testRegisterExistingObject8 msPassed
testRegisterExistingObjectTwice8 msPassed
testRegisterNewObject8 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testRegisterNewObjectNullPkNotGenerated5 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject8 msPassed
testRemoveObject8 msPassed
testRemoveObjectFromCache7 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback6 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology5 msPassed
testUnregisterObject8 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit11 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit9 msPassed
unregisterObjectRemovesItFromCloneBuilderCache5 msPassed
unwrapReturnsItselfWhenClassMatches9 msPassed