Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext6 msPassed
clearResetsCloneBuilder6 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject6 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne5 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState73 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet7 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges10 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance11 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity9 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance6 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder10 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions7 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities8 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered5 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects7 msPassed
testCalculateModificationsDataProperty14 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects0.11 secPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed6 msPassed
testCommitInactive14 msPassed
testContains7 msPassed
testGetContexts6 msPassed
testGetOriginal6 msPassed
testGetOriginalNull6 msPassed
testGetState6 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent5 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull5 msPassed
testIsObjectNew6 msPassed
testIsObjectNewWithNullAndManaged7 msPassed
testLoadFieldValue12 msPassed
testLoadFieldValueManagedType13 msPassed
testLoadFieldValueNotRegistered6 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass5 msPassed
testReadObjectNullContext7 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject7 msPassed
testRegisterExistingObjectTwice5 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testRegisterNewObjectNullPkNotGenerated7 msPassed
testReleaseUnitOfWork7 msPassed
testRemoveNewObject5 msPassed
testRemoveObject7 msPassed
testRemoveObjectFromCache7 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback10 msPassed
testRollbackInactive6 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject5 msPassed
testUseTransactionalOntologyForQueryProcessing6 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit7 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit8 msPassed
unregisterObjectRemovesItFromCloneBuilderCache8 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed