Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
77 tests (±0)
Took 77 ms.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext2 msPassed
clearResetsCloneBuilder2 msPassed
commitDetachesPersistedInstance1 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction3 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances1 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject1 msPassed
getManagedOriginalForDifferentContextReturnsNull1 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull0 msPassed
getManagedOriginalReturnsManagedOriginalInstance1 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction4 msPassed
readAlreadyManagedObjectReturnsTheManagedOne2 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState3 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet2 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges2 msPassed
refreshOverwritesChangesSentToRepository2 msPassed
refreshOverwritesObjectPropertyChanges4 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance4 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity3 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance0 msPassed
refreshThrowsIllegalArgumentForRemovedInstance1 msPassed
registerExistingObjectInvokesPostCloneListeners1 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder1 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions1 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities1 msPassed
restoreDeletedRegistersObjectAgain1 msPassed
restoreDeletedReinsertsObjectIntoRepository1 msPassed
rollbackDetachesAllManagedEntities1 msPassed
testAttributeChanged1 msPassed
testAttributeChangedNotRegistered0 msPassed
testAttributeChangedOutsideTransaction0 msPassed
testCalculateDeletedObjects2 msPassed
testCalculateModificationsDataProperty0 msPassed
testCalculateModificationsObjectProperty2 msPassed
testCalculateNewObjects4 msPassed
testClearCacheAfterCommit2 msPassed
testCommitFailed0 msPassed
testCommitInactive1 msPassed
testContains1 msPassed
testGetContexts0 msPassed
testGetOriginal1 msPassed
testGetOriginalNull0 msPassed
testGetState1 msPassed
testGetStateWithDescriptor1 msPassed
testIsConsistent0 msPassed
testIsObjectManaged1 msPassed
testIsObjectManagerNull0 msPassed
testIsObjectNew0 msPassed
testIsObjectNewWithNullAndManaged1 msPassed
testLoadFieldValue1 msPassed
testLoadFieldValueManagedType1 msPassed
testLoadFieldValueNotRegistered0 msPassed
testReadObjectFromOntology1 msPassed
testReadObjectJustPersisted0 msPassed
testReadObjectNullClass0 msPassed
testReadObjectNullContext0 msPassed
testReadObjectNullPrimaryKey0 msPassed
testRegisterExistingObject0 msPassed
testRegisterExistingObjectTwice0 msPassed
testRegisterNewObject0 msPassed
testRegisterNewObjectNull0 msPassed
testRegisterNewObjectNullDescriptor0 msPassed
testReleaseUnitOfWork0 msPassed
testRemoveNewObject0 msPassed
testRemoveObject1 msPassed
testRemoveObjectFromCache0 msPassed
testRemoveObjectNotRegistered0 msPassed
testRollback1 msPassed
testRollbackInactive0 msPassed
testSwitchQueryProcessingOntology0 msPassed
testUnregisterObject1 msPassed
testUseTransactionalOntologyForQueryProcessing0 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit4 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit3 msPassed
unregisterObjectRemovesItFromCloneBuilderCache1 msPassed
unwrapReturnsItselfWhenClassMatches0 msPassed