Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369507 - Some of the complex use cases fail when merging
Summary: Some of the complex use cases fail when merging
Status: CLOSED FIXED
Alias: None
Product: EMFCompare
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: Kepler   Edit
Assignee: EMF Compare CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-24 07:53 EST by Laurent Goubet CLA
Modified: 2013-01-23 07:30 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Goubet CLA 2012-01-24 07:53:53 EST
Recent developments have greatly improved the coverage of detection/merging use cases, but some of the "complex" use cases are still failing. I've commited a set of unit tests covering one of these use cases. Launch the org.eclipse.emf.compare.tests.merge.complexunmatch.suite.ComplexUnmatchedMergeTestSuite for examples of these failures. This suite is still commented out from the "main" test suite in order not to break the build.

The use case covered by this bug is the case of a reference towards an element that is contained under an unmatched element (for exemple, a class "A" contained in the package "P1" is used as the supertype of another class "B" from package "P2", while "P1" does not exist in one of the two models).
Comment 1 Laurent Goubet CLA 2012-03-06 10:27:16 EST
I uncommented the test and set it as "ignored" instead. At least it will be reported even though the build will be "stable".
Comment 2 Laurent Goubet CLA 2013-01-18 07:53:01 EST
Stream 2.* is much more stable wrt the merge process. This particular example is one that no longer fails in 2.1.