Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext12 msPassed
clearResetsCloneBuilder10 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction12 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject12 msPassed
getManagedOriginalForDifferentContextReturnsNull6 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance10 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState14 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet12 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges11 msPassed
refreshOverwritesChangesSentToRepository10 msPassed
refreshOverwritesObjectPropertyChanges15 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance11 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity6 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance5 msPassed
refreshThrowsIllegalArgumentForRemovedInstance6 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder13 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
restoreDeletedRegistersObjectAgain8 msPassed
restoreDeletedReinsertsObjectIntoRepository5 msPassed
rollbackDetachesAllManagedEntities10 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered10 msPassed
testAttributeChangedOutsideTransaction9 msPassed
testCalculateDeletedObjects12 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects8 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed6 msPassed
testCommitInactive9 msPassed
testContains6 msPassed
testGetContexts5 msPassed
testGetOriginal9 msPassed
testGetOriginalNull5 msPassed
testGetState11 msPassed
testGetStateWithDescriptor6 msPassed
testIsConsistent9 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew10 msPassed
testIsObjectNewWithNullAndManaged10 msPassed
testLoadFieldValue6 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered10 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass11 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey9 msPassed
testRegisterExistingObject5 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject10 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testRegisterNewObjectNullPkNotGenerated6 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject5 msPassed
testRemoveObject6 msPassed
testRemoveObjectFromCache9 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback6 msPassed
testRollbackInactive6 msPassed
testSwitchQueryProcessingOntology9 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing9 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit5 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit13 msPassed
unregisterObjectRemovesItFromCloneBuilderCache6 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed