[493650] Fix order of merged children22/72722/9
commit40bdc32e1427af7253a501fca0d9ce7c2bf137cb
authorLaurent Delaigue <laurent.delaigue@obeo.fr>
Wed, 25 May 2016 15:03:57 +0000 (25 17:03 +0200)
committerLaurent Delaigue <laurent.delaigue@obeo.fr>
Tue, 31 May 2016 08:38:15 +0000 (31 10:38 +0200)
treec7fca543903add51b0edd9a45ef60a5dfab018c6
parentba05fbe16ff981d81606211525810ed4c8b32648
[493650] Fix order of merged children

Improved after discussion with Laurent Goubet.
A test is added to check that when merging every diff
and resolving conflicts by:
- first reject all target side conflicting diffs
- then accepting all other diffs
yields models to be identical on both sides, no matter
in what order the diffs are accepted/rejected.
The test uses Collections2.permutations,
which appeared in guava 12, so an update of the TP was necessary.

Bug: 493650
Change-Id: Ib790b992184f6038806bf890f7af96ae2c447ca7
Signed-off-by: Laurent Delaigue <laurent.delaigue@obeo.fr>
14 files changed:
org.eclipse.emf.compare-parent/targetPlatforms/fragments/orbit.tpd
org.eclipse.emf.compare-parent/targetPlatforms/helios-sdk.target
org.eclipse.emf.compare-parent/targetPlatforms/indigo-sdk.target
org.eclipse.emf.compare-parent/targetPlatforms/juno-4.2-sdk.target
org.eclipse.emf.compare-parent/targetPlatforms/kepler-sdk.target
org.eclipse.emf.compare-parent/targetPlatforms/luna-sdk.target
org.eclipse.emf.compare-parent/targetPlatforms/mars-sdk.target
org.eclipse.emf.compare-parent/targetPlatforms/neon-sdk.target
plugins/org.eclipse.emf.compare.tests/META-INF/MANIFEST.MF
plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/merge/ComplexMergeTest.java [new file with mode: 0644]
plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/merge/FeatureMaps3wayMergeTest.java
plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/merge/MultipleMergeTest.java
plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/suite/AtLeastLunaVersionTests.java
plugins/org.eclipse.emf.compare/src/org/eclipse/emf/compare/internal/utils/DiffUtil.java