Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder12 msPassed
commitDetachesPersistedInstance8 msPassed
commitEvictsInferredClassesFromCache7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction10 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances10 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne9 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject8 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull7 msPassed
getManagedOriginalReturnsManagedOriginalInstance9 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne7 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState9 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet9 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges8 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges13 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance9 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity8 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance7 msPassed
refreshThrowsIllegalArgumentForRemovedInstance9 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder14 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated10 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions8 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities8 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository21 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities9 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered8 msPassed
testAttributeChangedOutsideTransaction7 msPassed
testCalculateDeletedObjects10 msPassed
testCalculateModificationsDataProperty9 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit10 msPassed
testCommitFailed15 msPassed
testCommitInactive9 msPassed
testContains7 msPassed
testGetContexts9 msPassed
testGetOriginal8 msPassed
testGetOriginalNull6 msPassed
testGetState8 msPassed
testGetStateWithDescriptor8 msPassed
testIsConsistent7 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull7 msPassed
testIsObjectNew7 msPassed
testIsObjectNewWithNullAndManaged7 msPassed
testLoadFieldValue8 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered8 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext7 msPassed
testReadObjectNullPrimaryKey7 msPassed
testRegisterExistingObject8 msPassed
testRegisterExistingObjectTwice7 msPassed
testRegisterNewObject8 msPassed
testRegisterNewObjectNull8 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork7 msPassed
testRemoveNewObject7 msPassed
testRemoveObjectFromCache9 msPassed
testRemoveObjectNotRegistered7 msPassed
testRollback7 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology7 msPassed
testUnregisterObject7 msPassed
testUseTransactionalOntologyForQueryProcessing7 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit10 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit10 msPassed
unregisterObjectRemovesItFromCloneBuilderCache8 msPassed
unwrapReturnsItselfWhenClassMatches7 msPassed