Fix detection of pseudo conflicts on single-valued attribute changes31/146231/2
commit1998e64ba331e977271a01a57e1e12dbb5a99148
authorlgoubet <laurent.goubet@obeo.fr>
Wed, 17 Jul 2019 08:51:07 +0000 (17 10:51 +0200)
committerlgoubet <laurent.goubet@obeo.fr>
Wed, 17 Jul 2019 09:28:03 +0000 (17 11:28 +0200)
tree05981c5d7cb1ef0b1a1d01e50d9a7ad079e78726
parentc6921d7e119909e179b5920e97739a3666110b07
Fix detection of pseudo conflicts on single-valued attribute changes

Pseudo-conflicts on single-valued attribute changes was populated with
the origin as the changed value even if the left/right side was
non-null.

Change-Id: Id225da76bb381a476715c9af9581cd0bc2b9e47a
plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/FeatureMapMoveDiffTest.java
plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/SingleValuedAttributePseudoConflictTest.java [new file with mode: 0644]
plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/data/featuremapmove/FeatureMapMoveDiffInputData.java [moved from plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/data/FeatureMapMoveDiffInputData.java with 84% similarity]
plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/data/pseudoconflict/SingleValuedAttributePseudoConflictInputData.java [new file with mode: 0644]
plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/data/pseudoconflict/left.nodes [new file with mode: 0644]
plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/data/pseudoconflict/origin.nodes [new file with mode: 0644]
plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/diff/data/pseudoconflict/right.nodes [new file with mode: 0644]
plugins/org.eclipse.emf.compare.uml2.rcp.ui.tests/src/org/eclipse/emf/compare/uml2/rcp/ui/tests/groups/UMLDifferencesOrderTest.java
plugins/org.eclipse.emf.compare.uml2.rcp.ui.tests/src/org/eclipse/emf/compare/uml2/rcp/ui/tests/groups/data/a1/expectedResultWithUMLRefineElementFilter.nodes
plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/diff/DefaultDiffEngine.java