Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder8 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction11 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject13 msPassed
getManagedOriginalForDifferentContextReturnsNull8 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull8 msPassed
getManagedOriginalReturnsManagedOriginalInstance8 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction14 msPassed
readAlreadyManagedObjectReturnsTheManagedOne10 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState22 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet10 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges11 msPassed
refreshOverwritesChangesSentToRepository19 msPassed
refreshOverwritesObjectPropertyChanges15 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance11 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity9 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance8 msPassed
refreshThrowsIllegalArgumentForRemovedInstance8 msPassed
registerExistingObjectInvokesPostCloneListeners10 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder11 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions10 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities27 msPassed
restoreDeletedRegistersObjectAgain8 msPassed
restoreDeletedReinsertsObjectIntoRepository10 msPassed
rollbackDetachesAllManagedEntities8 msPassed
testAttributeChanged8 msPassed
testAttributeChangedNotRegistered7 msPassed
testAttributeChangedOutsideTransaction8 msPassed
testCalculateDeletedObjects10 msPassed
testCalculateModificationsDataProperty10 msPassed
testCalculateModificationsObjectProperty12 msPassed
testCalculateNewObjects14 msPassed
testClearCacheAfterCommit12 msPassed
testCommitFailed8 msPassed
testCommitInactive14 msPassed
testContains8 msPassed
testGetContexts8 msPassed
testGetOriginal8 msPassed
testGetOriginalNull11 msPassed
testGetState12 msPassed
testGetStateWithDescriptor5 msPassed
testIsConsistent5 msPassed
testIsObjectManaged9 msPassed
testIsObjectManagerNull7 msPassed
testIsObjectNew8 msPassed
testIsObjectNewWithNullAndManaged8 msPassed
testLoadFieldValue11 msPassed
testLoadFieldValueManagedType9 msPassed
testLoadFieldValueNotRegistered8 msPassed
testReadObjectFromOntology9 msPassed
testReadObjectJustPersisted9 msPassed
testReadObjectNullClass10 msPassed
testReadObjectNullContext8 msPassed
testReadObjectNullPrimaryKey8 msPassed
testRegisterExistingObject8 msPassed
testRegisterExistingObjectTwice19 msPassed
testRegisterNewObject9 msPassed
testRegisterNewObjectNull5 msPassed
testRegisterNewObjectNullDescriptor10 msPassed
testRegisterNewObjectNullPkNotGenerated8 msPassed
testReleaseUnitOfWork8 msPassed
testRemoveNewObject8 msPassed
testRemoveObject8 msPassed
testRemoveObjectFromCache8 msPassed
testRemoveObjectNotRegistered8 msPassed
testRollback24 msPassed
testRollbackInactive16 msPassed
testSwitchQueryProcessingOntology7 msPassed
testUnregisterObject11 msPassed
testUseTransactionalOntologyForQueryProcessing9 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit11 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit14 msPassed
unregisterObjectRemovesItFromCloneBuilderCache25 msPassed
unwrapReturnsItselfWhenClassMatches10 msPassed