Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext10 msPassed
clearResetsCloneBuilder6 msPassed
commitDetachesPersistedInstance5 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances6 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne5 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject6 msPassed
getManagedOriginalForDifferentContextReturnsNull10 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance5 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne5 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState7 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet6 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges6 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges12 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance6 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity6 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance5 msPassed
refreshThrowsIllegalArgumentForRemovedInstance5 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder8 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated6 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions5 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities5 msPassed
restoreDeletedRegistersObjectAgain5 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged4 msPassed
testAttributeChangedNotRegistered5 msPassed
testAttributeChangedOutsideTransaction5 msPassed
testCalculateDeletedObjects6 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty6 msPassed
testCalculateNewObjects7 msPassed
testClearCacheAfterCommit6 msPassed
testCommitFailed9 msPassed
testCommitInactive9 msPassed
testContains5 msPassed
testGetContexts5 msPassed
testGetOriginal5 msPassed
testGetOriginalNull5 msPassed
testGetState5 msPassed
testGetStateWithDescriptor5 msPassed
testIsConsistent4 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull5 msPassed
testIsObjectNew5 msPassed
testIsObjectNewWithNullAndManaged5 msPassed
testLoadFieldValue6 msPassed
testLoadFieldValueManagedType6 msPassed
testLoadFieldValueNotRegistered5 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject5 msPassed
testRegisterExistingObjectTwice5 msPassed
testRegisterNewObject5 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject5 msPassed
testRemoveObject5 msPassed
testRemoveObjectFromCache4 msPassed
testRemoveObjectNotRegistered4 msPassed
testRollback5 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology4 msPassed
testUnregisterObject5 msPassed
testUseTransactionalOntologyForQueryProcessing5 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit6 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit7 msPassed
unregisterObjectRemovesItFromCloneBuilderCache6 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed