Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 478878

Summary: Remove the dependencies to Query Legacy from the Tests
Product: [Modeling] Sirius Reporter: Cedric Brun <cedric.brun>
Component: CoreAssignee: Cedric Brun <cedric.brun>
Status: CLOSED FIXED QA Contact: Laurent Redor <laurent.redor>
Severity: enhancement    
Priority: P3 CC: laurent.redor, maxime.porhel, pierre-charles.david
Version: 3.0.0Keywords: triaged
Target Milestone: 4.0.0M6   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/57274
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=79452a2a5aa966fbaee07e6d890a3d196c78ce88
https://git.eclipse.org/r/57384
https://git.eclipse.org/r/63220
https://git.eclipse.org/r/63309
https://git.eclipse.org/r/63308
https://git.eclipse.org/r/63317
https://git.eclipse.org/r/63318
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=672acad1a494ad9a59d07443786635ca61089960
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=37ef425143c56c541f5dec47b84c1ad4b386ea2b
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=e48e9bd394574444fb9df3f1e260cb0d6e2cf890
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2f823f2213ade14c29bdb6f03244fc1740f32fba
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c646fd66dd7cd97429ad5cb45e30034d3bf707ff
https://git.eclipse.org/r/63462
https://git.eclipse.org/r/63469
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=b57d1f6f89e5888c8bd6afb5dcd0265ee68876db
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=3564cb840ceb83e35aa8a6ab9d31e8695dc0a6ef
https://git.eclipse.org/r/63537
https://git.eclipse.org/r/64019
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=69e931e4fd0bbe7ec4e668f69492cc1beb9a7ce9
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=de9114e9ed8ed4a6d0e7e0f5105fdaddba7b64ff
https://git.eclipse.org/r/65186
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=9bf570e3bbe2176e774f219c0fb28c5b44155d64
https://git.eclipse.org/r/65448
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=091d02601c030037e13e5e2d71d4d0830a29fd57
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=aeef8417f78fcc4f73514c373962f58b9dea02b3
https://git.eclipse.org/r/65470
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=01f8f387b443ff89a75d47e9d90a128972586c4f
Whiteboard:
Bug Depends on: 479019    
Bug Blocks:    

Description Cedric Brun CLA 2015-10-02 05:18:50 EDT
This bug is the continuation of Bug: 471547 but instead of focusing on having a significant part of the tests which are depending on AQL, this ticket scope is to completely remove the dependency to Query Legacy. 
The expected benefits are :
- faster tests execution as Query Legacy, just by being present in the classpath introduce a significant overhead when initializing the projects (and this happens *a lot* during the test execution and as AQL is globaly faster than Query Legacy.
- ability to merge the "two steps build" for Sirius (the tests builds consume the result of the binary build) in a single step build which would play nicer with Sonar for instance.

This includes:  
- migrating the legacy expressions which are remaining in the .odesign files
- adapting the legacy queries which are executed in the code
- modifing or removing tests which were focused on specific features of Query Legacy, for instance the support for importing .mt files.
- removing the dependencies in the Bundles
Comment 1 Eclipse Genie CLA 2015-10-02 05:30:43 EDT
New Gerrit change created: https://git.eclipse.org/r/57274
Comment 3 Eclipse Genie CLA 2015-10-05 05:08:36 EDT
New Gerrit change created: https://git.eclipse.org/r/57384
Comment 4 Eclipse Genie CLA 2015-12-23 11:18:33 EST
New Gerrit change created: https://git.eclipse.org/r/63220
Comment 5 Eclipse Genie CLA 2015-12-28 07:54:25 EST
New Gerrit change created: https://git.eclipse.org/r/63309
Comment 6 Eclipse Genie CLA 2015-12-28 07:54:28 EST
New Gerrit change created: https://git.eclipse.org/r/63308
Comment 7 Eclipse Genie CLA 2015-12-28 11:12:02 EST
New Gerrit change created: https://git.eclipse.org/r/63317
Comment 8 Eclipse Genie CLA 2015-12-28 11:29:56 EST
New Gerrit change created: https://git.eclipse.org/r/63318
Comment 14 Eclipse Genie CLA 2016-01-04 08:16:52 EST
New Gerrit change created: https://git.eclipse.org/r/63462
Comment 15 Eclipse Genie CLA 2016-01-04 10:16:10 EST
New Gerrit change created: https://git.eclipse.org/r/63469
Comment 18 Eclipse Genie CLA 2016-01-05 04:53:47 EST
New Gerrit change created: https://git.eclipse.org/r/63537
Comment 19 Eclipse Genie CLA 2016-01-11 11:41:33 EST
New Gerrit change created: https://git.eclipse.org/r/64019
Comment 22 Eclipse Genie CLA 2016-01-26 09:35:17 EST
New Gerrit change created: https://git.eclipse.org/r/65186
Comment 24 Eclipse Genie CLA 2016-01-29 04:07:14 EST
New Gerrit change created: https://git.eclipse.org/r/65448
Comment 28 Laurent Redor CLA 2016-05-24 09:05:11 EDT
Verified on Sirius 4.0.0 RC1 (4.0.0.201605180923)

There is no longer dependency to  org.eclipse.sirius.query.legacy from tests plugins.
Comment 29 Pierre-Charles David CLA 2016-06-24 07:59:14 EDT
Available in Sirius 4.0.0.