Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext11 msPassed
clearResetsCloneBuilder6 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject6 msPassed
getManagedOriginalForDifferentContextReturnsNull5 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull5 msPassed
getManagedOriginalReturnsManagedOriginalInstance6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction7 msPassed
readAlreadyManagedObjectReturnsTheManagedOne5 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState14 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet9 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges12 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance7 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity6 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance5 msPassed
refreshThrowsIllegalArgumentForRemovedInstance9 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder12 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
restoreDeletedRegistersObjectAgain5 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered6 msPassed
testAttributeChangedOutsideTransaction10 msPassed
testCalculateDeletedObjects11 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects7 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed5 msPassed
testCommitInactive13 msPassed
testContains5 msPassed
testGetContexts5 msPassed
testGetOriginal5 msPassed
testGetOriginalNull5 msPassed
testGetState3 msPassed
testGetStateWithDescriptor6 msPassed
testIsConsistent5 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull5 msPassed
testIsObjectNew5 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValue6 msPassed
testLoadFieldValueManagedType6 msPassed
testLoadFieldValueNotRegistered5 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted5 msPassed
testReadObjectNullClass5 msPassed
testReadObjectNullContext5 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject5 msPassed
testRegisterExistingObjectTwice5 msPassed
testRegisterNewObject5 msPassed
testRegisterNewObjectNull8 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testRegisterNewObjectNullPkNotGenerated5 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject5 msPassed
testRemoveObject5 msPassed
testRemoveObjectFromCache5 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback5 msPassed
testRollbackInactive5 msPassed
testSwitchQueryProcessingOntology5 msPassed
testUnregisterObject5 msPassed
testUseTransactionalOntologyForQueryProcessing10 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit7 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit8 msPassed
unregisterObjectRemovesItFromCloneBuilderCache5 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed