Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
74 tests (±0)
Took 0.58 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext6 msPassed
clearResetsCloneBuilder6 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction7 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject7 msPassed
getManagedOriginalForDifferentContextReturnsNull7 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull6 msPassed
getManagedOriginalReturnsManagedOriginalInstance6 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction8 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState9 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet7 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges6 msPassed
refreshOverwritesChangesSentToRepository6 msPassed
refreshOverwritesObjectPropertyChanges8 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance7 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.13 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance6 msPassed
refreshThrowsIllegalArgumentForRemovedInstance6 msPassed
registerExistingObjectInvokesPostCloneListeners5 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder8 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions6 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities6 msPassed
restoreDeletedRegistersObjectAgain6 msPassed
restoreDeletedReinsertsObjectIntoRepository6 msPassed
rollbackDetachesAllManagedEntities6 msPassed
testAttributeChanged6 msPassed
testAttributeChangedNotRegistered5 msPassed
testAttributeChangedOutsideTransaction5 msPassed
testCalculateDeletedObjects8 msPassed
testCalculateModificationsDataProperty6 msPassed
testCalculateModificationsObjectProperty7 msPassed
testCalculateNewObjects7 msPassed
testClearCacheAfterCommit7 msPassed
testCommitFailed6 msPassed
testCommitInactive9 msPassed
testContains6 msPassed
testGetContexts6 msPassed
testGetOriginal7 msPassed
testGetOriginalNull5 msPassed
testGetState6 msPassed
testGetStateWithDescriptor6 msPassed
testIsConsistent5 msPassed
testIsObjectManaged5 msPassed
testIsObjectManagerNull5 msPassed
testIsObjectNew6 msPassed
testIsObjectNewWithNullAndManaged6 msPassed
testLoadFieldValue6 msPassed
testLoadFieldValueManagedType7 msPassed
testLoadFieldValueNotRegistered7 msPassed
testReadObjectFromOntology5 msPassed
testReadObjectJustPersisted6 msPassed
testReadObjectNullClass5 msPassed
testReadObjectNullContext9 msPassed
testReadObjectNullPrimaryKey5 msPassed
testRegisterExistingObject6 msPassed
testRegisterExistingObjectTwice6 msPassed
testRegisterNewObject6 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor5 msPassed
testRegisterNewObjectNullPkNotGenerated6 msPassed
testReleaseUnitOfWork5 msPassed
testRemoveNewObject6 msPassed
testRemoveObject6 msPassed
testRemoveObjectFromCache5 msPassed
testRemoveObjectNotRegistered5 msPassed
testRollback6 msPassed
testRollbackInactive6 msPassed
testSwitchQueryProcessingOntology5 msPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing5 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit8 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit8 msPassed
unregisterObjectRemovesItFromCloneBuilderCache6 msPassed
unwrapReturnsItselfWhenClassMatches5 msPassed