Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext10 msPassed
clearResetsCloneBuilder7 msPassed
commitDetachesPersistedInstance14 msPassed
commitEvictsInferredClassesFromCache14 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction9 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances9 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne15 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull12 msPassed
getManagedOriginalReturnsManagedOriginalInstance8 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction17 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState9 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet10 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges8 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges13 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance9 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity10 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance12 msPassed
refreshThrowsIllegalArgumentForRemovedInstance8 msPassed
registerExistingObjectInvokesPostCloneListeners8 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder9 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated8 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions8 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
restoreDeletedRegistersObjectAgain8 msPassed
restoreDeletedReinsertsObjectIntoRepository13 msPassed
rollbackDetachesAllManagedEntities9 msPassed
testAttributeChanged13 msPassed
testAttributeChangedNotRegistered8 msPassed
testAttributeChangedOutsideTransaction11 msPassed
testCalculateDeletedObjects10 msPassed
testCalculateModificationsDataProperty13 msPassed
testCalculateModificationsObjectProperty15 msPassed
testCalculateNewObjects16 msPassed
testClearCacheAfterCommit8 msPassed
testCommitFailed12 msPassed
testCommitInactive9 msPassed
testContains13 msPassed
testGetContexts12 msPassed
testGetOriginal9 msPassed
testGetOriginalNull7 msPassed
testGetState9 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent8 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull10 msPassed
testIsObjectNew7 msPassed
testIsObjectNewWithNullAndManaged8 msPassed
testLoadFieldValue14 msPassed
testLoadFieldValueManagedType14 msPassed
testLoadFieldValueNotRegistered7 msPassed
testReadObjectFromOntology9 msPassed
testReadObjectJustPersisted21 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext12 msPassed
testReadObjectNullPrimaryKey8 msPassed
testRegisterExistingObject12 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject7 msPassed
testRegisterNewObjectNull11 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork7 msPassed
testRemoveNewObject6 msPassed
testRemoveObject12 msPassed
testRemoveObjectFromCache7 msPassed
testRemoveObjectNotRegistered8 msPassed
testRollback13 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology7 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing8 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit11 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit11 msPassed
unregisterObjectRemovesItFromCloneBuilderCache8 msPassed
unwrapReturnsItselfWhenClassMatches7 msPassed