Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext6 msPassed
clearResetsCloneBuilder5 msPassed
commitDetachesPersistedInstance5 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances6 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne5 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject6 msPassed
getManagedOriginalForDifferentContextReturnsNull5 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance5 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne5 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState6 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet6 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges5 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges10 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance6 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity5 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance5 msPassed
refreshThrowsIllegalArgumentForRemovedInstance5 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder6 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated6 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities5 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged5 msPassed
testAttributeChangedNotRegistered5 msPassed
testAttributeChangedOutsideTransaction5 msPassed
testCalculateDeletedObjects9 msPassed
testCalculateModificationsDataProperty5 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects7 msPassed
testClearCacheAfterCommit6 msPassed
testCommitFailed4 msPassed
testCommitInactive9 msPassed
testContains5 msPassed
testGetContexts5 msPassed
testGetOriginal5 msPassed
testGetOriginalNull4 msPassed
testGetState6 msPassed
testGetStateWithDescriptor6 msPassed
testIsConsistent5 msPassed
testIsObjectManaged5 msPassed
testIsObjectManagerNull5 msPassed
testIsObjectNew4 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValue6 msPassed
testLoadFieldValueManagedType6 msPassed
testLoadFieldValueNotRegistered5 msPassed
testReadObjectFromOntology5 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass5 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey4 msPassed
testRegisterExistingObject5 msPassed
testRegisterExistingObjectTwice5 msPassed
testRegisterNewObject5 msPassed
testRegisterNewObjectNull5 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testReleaseUnitOfWork4 msPassed
testRemoveNewObject5 msPassed
testRemoveObject5 msPassed
testRemoveObjectFromCache4 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback5 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology5 msPassed
testUnregisterObject5 msPassed
testUseTransactionalOntologyForQueryProcessing5 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit6 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit7 msPassed
unregisterObjectRemovesItFromCloneBuilderCache5 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed