Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext8 msPassed
clearResetsCloneBuilder8 msPassed
commitDetachesPersistedInstance6 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction6 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances8 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne6 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject6 msPassed
getManagedOriginalForDifferentContextReturnsNull5 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull4 msPassed
getManagedOriginalReturnsManagedOriginalInstance9 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne5 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState10 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet10 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges10 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance6 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity6 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance4 msPassed
refreshThrowsIllegalArgumentForRemovedInstance5 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder9 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated9 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions10 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository5 msPassed
rollbackDetachesAllManagedEntities10 msPassed
testAttributeChanged5 msPassed
testAttributeChangedNotRegistered6 msPassed
testAttributeChangedOutsideTransaction5 msPassed
testCalculateDeletedObjects8 msPassed
testCalculateModificationsDataProperty5 msPassed
testCalculateModificationsObjectProperty6 msPassed
testCalculateNewObjects7 msPassed
testClearCacheAfterCommit8 msPassed
testCommitFailed6 msPassed
testCommitInactive14 msPassed
testContains5 msPassed
testGetContexts5 msPassed
testGetOriginal9 msPassed
testGetOriginalNull10 msPassed
testGetState8 msPassed
testGetStateWithDescriptor5 msPassed
testIsConsistent3 msPassed
testIsObjectManaged5 msPassed
testIsObjectManagerNull4 msPassed
testIsObjectNew9 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValue6 msPassed
testLoadFieldValueManagedType6 msPassed
testLoadFieldValueNotRegistered8 msPassed
testReadObjectFromOntology9 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass5 msPassed
testReadObjectNullContext4 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject5 msPassed
testRegisterExistingObjectTwice5 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull10 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject5 msPassed
testRemoveObject6 msPassed
testRemoveObjectFromCache7 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback6 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology5 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing9 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit6 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit8 msPassed
unregisterObjectRemovesItFromCloneBuilderCache5 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed