Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
78 tests (+1)
Took 1.4 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext14 msPassed
clearResetsCloneBuilder12 msPassed
commitDetachesPersistedInstance12 msPassed
commitEvictsInferredClassesFromCache12 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction15 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances15 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne13 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject12 msPassed
getManagedOriginalForDifferentContextReturnsNull11 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull11 msPassed
getManagedOriginalReturnsManagedOriginalInstance12 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction15 msPassed
readAlreadyManagedObjectReturnsTheManagedOne11 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState15 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet20 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges13 msPassed
refreshOverwritesChangesSentToRepository12 msPassed
refreshOverwritesObjectPropertyChanges0.18 secPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance14 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity17 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance10 msPassed
refreshThrowsIllegalArgumentForRemovedInstance12 msPassed
registerExistingObjectInvokesPostCloneListeners11 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder22 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated12 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions13 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities12 msPassed
restoreDeletedRegistersObjectAgain18 msPassed
restoreDeletedReinsertsObjectIntoRepository12 msPassed
rollbackDetachesAllManagedEntities14 msPassed
testAttributeChanged11 msPassed
testAttributeChangedNotRegistered12 msPassed
testAttributeChangedOutsideTransaction13 msPassed
testCalculateDeletedObjects16 msPassed
testCalculateModificationsDataProperty12 msPassed
testCalculateModificationsObjectProperty13 msPassed
testCalculateNewObjects14 msPassed
testClearCacheAfterCommit12 msPassed
testCommitFailed16 msPassed
testCommitInactive21 msPassed
testContains10 msPassed
testGetContexts10 msPassed
testGetOriginal13 msPassed
testGetOriginalNull11 msPassed
testGetState13 msPassed
testGetStateWithDescriptor11 msPassed
testIsConsistent12 msPassed
testIsObjectManaged11 msPassed
testIsObjectManagerNull11 msPassed
testIsObjectNew12 msPassed
testIsObjectNewWithNullAndManaged12 msPassed
testLoadFieldValue11 msPassed
testLoadFieldValueManagedType13 msPassed
testLoadFieldValueNotRegistered12 msPassed
testReadObjectFromOntology12 msPassed
testReadObjectJustPersisted11 msPassed
testReadObjectNullClass10 msPassed
testReadObjectNullContext12 msPassed
testReadObjectNullPrimaryKey12 msPassed
testRegisterExistingObject12 msPassed
testRegisterExistingObjectTwice11 msPassed
testRegisterNewObject12 msPassed
testRegisterNewObjectNull0.25 secPassed
testRegisterNewObjectNullDescriptor11 msPassed
testReleaseUnitOfWork11 msPassed
testRemoveNewObject11 msPassed
testRemoveObject11 msPassed
testRemoveObjectFromCache12 msPassed
testRemoveObjectNotRegistered11 msPassed
testRollback11 msPassed
testRollbackInactive11 msPassed
testSwitchQueryProcessingOntology12 msPassed
testUnregisterObject11 msPassed
testUseTransactionalOntologyForQueryProcessing12 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit14 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit16 msPassed
unregisterObjectRemovesItFromCloneBuilderCache12 msPassed
unwrapReturnsItselfWhenClassMatches11 msPassed