Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
78 tests (±0)
Took 0.87 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder8 msPassed
commitDetachesPersistedInstance13 msPassed
commitEvictsInferredClassesFromCache15 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction9 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances10 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne16 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject13 msPassed
getManagedOriginalForDifferentContextReturnsNull14 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull13 msPassed
getManagedOriginalReturnsManagedOriginalInstance10 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction17 msPassed
readAlreadyManagedObjectReturnsTheManagedOne12 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState10 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet10 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges8 msPassed
refreshOverwritesChangesSentToRepository12 msPassed
refreshOverwritesObjectPropertyChanges13 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance9 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity19 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance14 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners12 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder8 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated8 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions9 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
restoreDeletedRegistersObjectAgain11 msPassed
restoreDeletedReinsertsObjectIntoRepository23 msPassed
rollbackDetachesAllManagedEntities9 msPassed
testAttributeChanged14 msPassed
testAttributeChangedNotRegistered8 msPassed
testAttributeChangedOutsideTransaction10 msPassed
testCalculateDeletedObjects10 msPassed
testCalculateModificationsDataProperty14 msPassed
testCalculateModificationsObjectProperty16 msPassed
testCalculateNewObjects18 msPassed
testClearCacheAfterCommit9 msPassed
testCommitFailed14 msPassed
testCommitInactive9 msPassed
testContains13 msPassed
testGetContexts13 msPassed
testGetOriginal8 msPassed
testGetOriginalNull7 msPassed
testGetState8 msPassed
testGetStateWithDescriptor11 msPassed
testIsConsistent7 msPassed
testIsObjectManaged8 msPassed
testIsObjectManagerNull19 msPassed
testIsObjectNew7 msPassed
testIsObjectNewWithNullAndManaged11 msPassed
testLoadFieldValue14 msPassed
testLoadFieldValueManagedType15 msPassed
testLoadFieldValueNotRegistered8 msPassed
testReadObjectFromOntology8 msPassed
testReadObjectJustPersisted11 msPassed
testReadObjectNullClass11 msPassed
testReadObjectNullContext13 msPassed
testReadObjectNullPrimaryKey8 msPassed
testRegisterExistingObject13 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject8 msPassed
testRegisterNewObjectNull8 msPassed
testRegisterNewObjectNullDescriptor11 msPassed
testReleaseUnitOfWork13 msPassed
testRemoveNewObject11 msPassed
testRemoveObject14 msPassed
testRemoveObjectFromCache8 msPassed
testRemoveObjectNotRegistered15 msPassed
testRollback14 msPassed
testRollbackInactive15 msPassed
testSwitchQueryProcessingOntology7 msPassed
testUnregisterObject12 msPassed
testUseTransactionalOntologyForQueryProcessing8 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit10 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit11 msPassed
unregisterObjectRemovesItFromCloneBuilderCache14 msPassed
unwrapReturnsItselfWhenClassMatches7 msPassed