Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
78 tests (±0)
Took 0.68 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder7 msPassed
commitDetachesPersistedInstance8 msPassed
commitEvictsInferredClassesFromCache8 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction9 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances9 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne10 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject12 msPassed
getManagedOriginalForDifferentContextReturnsNull9 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull10 msPassed
getManagedOriginalReturnsManagedOriginalInstance7 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction10 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState9 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet13 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges8 msPassed
refreshOverwritesChangesSentToRepository22 msPassed
refreshOverwritesObjectPropertyChanges15 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance9 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity12 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance7 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder15 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated7 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions10 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
restoreDeletedRegistersObjectAgain13 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities8 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered7 msPassed
testAttributeChangedOutsideTransaction7 msPassed
testCalculateDeletedObjects10 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects10 msPassed
testClearCacheAfterCommit9 msPassed
testCommitFailed10 msPassed
testCommitInactive9 msPassed
testContains7 msPassed
testGetContexts6 msPassed
testGetOriginal9 msPassed
testGetOriginalNull6 msPassed
testGetState8 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent7 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew7 msPassed
testIsObjectNewWithNullAndManaged7 msPassed
testLoadFieldValue8 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered7 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted7 msPassed
testReadObjectNullClass14 msPassed
testReadObjectNullContext7 msPassed
testReadObjectNullPrimaryKey7 msPassed
testRegisterExistingObject12 msPassed
testRegisterExistingObjectTwice15 msPassed
testRegisterNewObject7 msPassed
testRegisterNewObjectNull7 msPassed
testRegisterNewObjectNullDescriptor12 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject7 msPassed
testRemoveObject8 msPassed
testRemoveObjectFromCache7 msPassed
testRemoveObjectNotRegistered7 msPassed
testRollback7 msPassed
testRollbackInactive8 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject10 msPassed
testUseTransactionalOntologyForQueryProcessing7 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit18 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit9 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches12 msPassed