Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
74 tests (±0)
Took 0.51 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext8 msPassed
clearResetsCloneBuilder7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject12 msPassed
getManagedOriginalForDifferentContextReturnsNull6 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState11 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet7 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges8 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges11 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance7 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity7 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance8 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder9 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions7 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered6 msPassed
testAttributeChangedOutsideTransaction7 msPassed
testCalculateDeletedObjects10 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects10 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed6 msPassed
testCommitInactive11 msPassed
testContains6 msPassed
testGetContexts5 msPassed
testGetOriginal7 msPassed
testGetOriginalNull5 msPassed
testGetState7 msPassed
testGetStateWithDescriptor9 msPassed
testIsConsistent8 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew7 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValue7 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered6 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey6 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject9 msPassed
testRegisterNewObjectNull7 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testRegisterNewObjectNullPkNotGenerated6 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject6 msPassed
testRemoveObject6 msPassed
testRemoveObjectFromCache6 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback6 msPassed
testRollbackInactive6 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit7 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit9 msPassed
unregisterObjectRemovesItFromCloneBuilderCache6 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed