Community
Participate
Working Groups
The API should provides the following possibilities : - forbid the merge from right to left and/or left to right - ignore differences on defined features : the API should allow to ignore all differences with this feature OR ignore the differences on this feature only on some elements -> 2 cases to manage: 1/ the difference on the feature is not required by another DiffElement -> easy, we destroy the concerned DiffElement 2/ the difference on the feature is required by another DiffElement -> 2 possibilities : a/ we don't manage this case b/ we destroy all the linked DiffElement to avoid inconsistent merge - these options should be declared in the same map as the othe Compare Options (IGNORE_XMI_ID, ...)
R8654 : Commit the possibilities to forbid the merge (left to right and/or right to left) + JUnit tests for standalone comparisons (works) and nested comparisons (don't work)
R8678 : Commit to support the following options : declared features that should be ignored during the comparison. - currently it doesn't work for ModelElementChangeLeft/Right - not JUnit test are provided, but current tests continue to work fine!
The commit R8678 allows to do work the forbid comparison for the nested comparison -> the Junit tests works now!
This bug can be marked as closed. This framework is now deprecated, according to the bug 501891.