Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext24 msPassed
clearResetsCloneBuilder49 msPassed
commitDetachesPersistedInstance9 msPassed
commitEvictsInferredClassesFromCache13 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction9 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances16 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne13 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance11 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState26 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet23 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges8 msPassed
refreshOverwritesChangesSentToRepository8 msPassed
refreshOverwritesObjectPropertyChanges31 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance8 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity8 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance11 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder22 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated23 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions8 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
restoreDeletedRegistersObjectAgain9 msPassed
restoreDeletedReinsertsObjectIntoRepository8 msPassed
rollbackDetachesAllManagedEntities11 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered15 msPassed
testAttributeChangedOutsideTransaction21 msPassed
testCalculateDeletedObjects25 msPassed
testCalculateModificationsDataProperty12 msPassed
testCalculateModificationsObjectProperty12 msPassed
testCalculateNewObjects9 msPassed
testClearCacheAfterCommit8 msPassed
testCommitFailed7 msPassed
testCommitInactive23 msPassed
testContains11 msPassed
testGetContexts11 msPassed
testGetOriginal14 msPassed
testGetOriginalNull6 msPassed
testGetState22 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent17 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull8 msPassed
testIsObjectNew7 msPassed
testIsObjectNewWithNullAndManaged7 msPassed
testLoadFieldValue8 msPassed
testLoadFieldValueManagedType8 msPassed
testLoadFieldValueNotRegistered14 msPassed
testReadObjectFromOntology7 msPassed
testReadObjectJustPersisted7 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey7 msPassed
testRegisterExistingObject7 msPassed
testRegisterExistingObjectTwice8 msPassed
testRegisterNewObject14 msPassed
testRegisterNewObjectNull24 msPassed
testRegisterNewObjectNullDescriptor7 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject7 msPassed
testRemoveObject6 msPassed
testRemoveObjectFromCache5 msPassed
testRemoveObjectNotRegistered7 msPassed
testRollback8 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing26 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit9 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit10 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed