Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext15 msPassed
clearResetsCloneBuilder14 msPassed
commitDetachesPersistedInstance15 msPassed
commitEvictsInferredClassesFromCache14 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction10 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances16 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne19 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject9 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull7 msPassed
getManagedOriginalReturnsManagedOriginalInstance12 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction17 msPassed
readAlreadyManagedObjectReturnsTheManagedOne14 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState14 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet15 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository9 msPassed
refreshOverwritesObjectPropertyChanges22 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance11 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity8 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance13 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners25 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder15 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated13 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions7 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
restoreDeletedRegistersObjectAgain8 msPassed
restoreDeletedReinsertsObjectIntoRepository14 msPassed
rollbackDetachesAllManagedEntities14 msPassed
testAttributeChanged8 msPassed
testAttributeChangedNotRegistered13 msPassed
testAttributeChangedOutsideTransaction13 msPassed
testCalculateDeletedObjects16 msPassed
testCalculateModificationsDataProperty14 msPassed
testCalculateModificationsObjectProperty15 msPassed
testCalculateNewObjects17 msPassed
testClearCacheAfterCommit8 msPassed
testCommitFailed7 msPassed
testCommitInactive15 msPassed
testContains13 msPassed
testGetContexts13 msPassed
testGetOriginal14 msPassed
testGetOriginalNull7 msPassed
testGetState13 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent12 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull9 msPassed
testIsObjectNew11 msPassed
testIsObjectNewWithNullAndManaged7 msPassed
testLoadFieldValue14 msPassed
testLoadFieldValueManagedType17 msPassed
testLoadFieldValueNotRegistered13 msPassed
testReadObjectFromOntology8 msPassed
testReadObjectJustPersisted13 msPassed
testReadObjectNullClass7 msPassed
testReadObjectNullContext7 msPassed
testReadObjectNullPrimaryKey8 msPassed
testRegisterExistingObject8 msPassed
testRegisterExistingObjectTwice8 msPassed
testRegisterNewObject12 msPassed
testRegisterNewObjectNull14 msPassed
testRegisterNewObjectNullDescriptor8 msPassed
testReleaseUnitOfWork7 msPassed
testRemoveNewObject14 msPassed
testRemoveObject7 msPassed
testRemoveObjectFromCache12 msPassed
testRemoveObjectNotRegistered7 msPassed
testRollback15 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject8 msPassed
testUseTransactionalOntologyForQueryProcessing12 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit10 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit10 msPassed
unregisterObjectRemovesItFromCloneBuilderCache8 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed