Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
77 tests (±0)
Took 0.55 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext12 msPassed
clearResetsCloneBuilder6 msPassed
commitDetachesPersistedInstance7 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction8 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances8 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction9 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState13 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet8 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges7 msPassed
refreshOverwritesChangesSentToRepository7 msPassed
refreshOverwritesObjectPropertyChanges15 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance8 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity7 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners7 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder15 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated13 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions7 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
restoreDeletedRegistersObjectAgain7 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities8 msPassed
testAttributeChanged7 msPassed
testAttributeChangedNotRegistered7 msPassed
testAttributeChangedOutsideTransaction6 msPassed
testCalculateDeletedObjects8 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty8 msPassed
testCalculateNewObjects8 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed7 msPassed
testCommitInactive6 msPassed
testContains6 msPassed
testGetContexts6 msPassed
testGetOriginal7 msPassed
testGetOriginalNull6 msPassed
testGetState7 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent6 msPassed
testIsObjectManaged6 msPassed
testIsObjectManagerNull6 msPassed
testIsObjectNew6 msPassed
testIsObjectNewWithNullAndManaged7 msPassed
testLoadFieldValue7 msPassed
testLoadFieldValueManagedType8 msPassed
testLoadFieldValueNotRegistered6 msPassed
testReadObjectFromOntology6 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass6 msPassed
testReadObjectNullContext6 msPassed
testReadObjectNullPrimaryKey6 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject7 msPassed
testRegisterNewObjectNull9 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject6 msPassed
testRemoveObject6 msPassed
testRemoveObjectFromCache6 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback7 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology6 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing10 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit8 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit8 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches6 msPassed