Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2019-02-19Bug 542929 - [Releng] [CDO] Rewire the way tests are compiled in order to ↵Quentin Le Menez15-68/+89
allow multiple tests configurations - Update modified pom.xml files headers - Delete .project files in root and releng Change-Id: I6c76f0adb7a7c18baa4d45d78af62db4dfa69a5d Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2019-02-08Revert "Bug 447665: [Profiles] Removing profiles definitions causing a profile"Vincent Lorenzo1-6/+6
This patch revert the code changes, but keeps the declared new plugin version, by facility, to avoid possible inconsistent versioning of plugins. This reverts commit 5e61a5490724d2ddf52caf45af21744482e8ada8. Change-Id: Iea4cb8d266e877130066f0c98fa730eb25bc625a
2019-01-27Bug 541686 - Multiple clients and suppliers in edges after copy-pasteVincent Lorenzo1-3/+5
- register the new tests in AllTests.class of the plugin Change-Id: I4e3535b62f8ee69b87728a5edc1331a2d39eb75d Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2019-01-27Bug 541686 - Multiple clients and suppliers in edges after copy-pasteAnsgar Radermacher6-9/+186
- Remove copy-references from DiagramPasteStrategy (duplicate, since already in defaultPasteStrategy) - Fix typo in DefaultPasteCommand - Add new test UMLCopyTestME. Similar to existing copy test, but based on copier command in model explorer (including additional strategies and not only the copier itself) Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: Ia786713a069fb69fd24e520466e4021cc6ea0c20
2019-01-21Bug 543494 - InternationalizationUMLItemProviderAdapterFactory fails toNicolas FAUVERGUE2-9/+80
find existing adapters To avoid possible performance issues, we implement an internationalization condition in the adapt method. + Test for the fix NB: An error with the MANIFEST version was detected, but i cannot do something nowadays. I enter a bug for the next release. Change-Id: I1044139e40b0b45d57c18be4821a6486df7e9aec Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-01-18Bug 447665: [Profiles] Removing profiles definitions causing a profileNicolas FAUVERGUE1-6/+6
definition https://bugs.eclipse.org/bugs/show_bug.cgi?id=447665 - Disconnect save listner on Profile Diagram - Make functionnal Profile Definition view Change-Id: Ibcf8cc9ddd90a5e31ca287db1b3788221981d145 Signed-off-by: Gabriel Pascual <gabriel.pascual@all4tec.net>
2018-11-30Bug 539926: [CDO] Papyrus standart version must execute its tests with the ↵Vincent Lorenzo3-1/+100
CDO'ified version of metamodel too - create a test suite to be ablme to run the cdo compatibility test on jenkins Change-Id: I3c8abc04e5190e9ce97b2096a110aa7ff42084c7 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-29Bug 539926: [CDO] Papyrus standart version must execute its tests with the ↵Vincent Lorenzo11-0/+209
CDO'ified version of metamodel too Change-Id: I6e9c894ceb2b5e17600db2b42bd59fe123ec91a7 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-29Bug 541590: [Modeling Assistant] Remove the generation of the cache adapter ↵Vincent Lorenzo2-35/+27
method in the Modeling assistant framework Change-Id: Iff17567a39b60c91cea97b82ae61c9bd8e51abe9 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-27Bug 541313: [UML][CDO] UML calls to the method getCacheAdapter(EObject) must ↵Vincent Lorenzo1-4/+4
be replaced https://bugs.eclipse.org/bugs/show_bug.cgi?id=541313 Change-Id: I590e72c871f86af1f26878aacb1884c982cdb9a4 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-27Bug 540879: [Properties] Clean code of Observable and neighbours classesVincent Lorenzo1-33/+37
- oep.infra.emf.appearance plugin now use java 1.8 - fix some pom.xml files - add some non-nls marker - remove some possible NPE Change-Id: I68ad6b1384871438979c101dcc85b3f79994f9fd Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-23Bug 541044: [Tests] The testNicolas FAUVERGUE3-340/+174
'PageManagerTests.testContainedDiagramDeletion' is in failure Re-create the diagram for the deletion of the diagrams because the version of this model was out-dated. Change-Id: I4571cd46118e3dc9359d1a9ea2e5606344e43b2c Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-11-23Bug 539022 - [Releng] CleanupsQuentin Le Menez1-16/+0
- Add missing settings folders and files - removed old pom.xml Change-Id: Id8810caacfbb4cb85ea04bcf46be34b3c7576ce8 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-11-19Bug 533667: the nameNicolas FAUVERGUE6-10/+10
/plugins/infra/gmfdiag/org.eclipse.papyrus.extensionpoints.editors do not respect the layer Keep the old plugin "org.eclipse.papyrus.extensionpoints.editors" and create the new one "org.eclipse.papyrusinfra.gmfdiag.extensionpoints.editors". The old classes inherit from the new ones. Change-Id: I98230776a03ab0c8a1f37e06790d50ad6af0077d Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-11-19Bug 537653 - [EPL] Fix trailing references to EPL 1.0Quentin Le Menez8-16/+32
Change-Id: Ibc9cee5fa831cc70d7b16d89ef507dea37b96a27 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-11-12Bug 517731 - [Table] Remove Operation requiring parameters from the ↵Vincent Lorenzo3-20/+22
Create/Destroy Columns - fix a failing JUnit tests Change-Id: Ic91433d4c3f4f583e25ff2b3537968d511849688 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-09[tests][org.eclipse.papyrus.uml.diagram.sequence.functional.tests]Boutheina Bannour1-0/+91
new test case "TestCase_createCombinedFragment" creates of a CombinedFragment in an Interaction with empty fragments list checks that: 1) fragments list of the Interaction contains exactly one element 2) the only Interaction fragment is a CombinedFragment 3) the CombinedFragment has at least one operand Change-Id: I4f193b571e2e37406b5d605842df6c853c89e0aa Signed-off-by: Boutheina Bannour <boutheina.bannour@gmail.com>
2018-11-01Bug 535696: Test resources in JARChristian W. Damus1-1/+2
Ensure that the test model resources are included in the JAR in the build. Change-Id: Ia438dd4a20d1cd63efb540cfd18dde8a41fea7c5 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-10-31[Releng] Fix bundle version for API versioningChristian W. Damus3-4/+4
API version does not require a minor version update because although new APIs are published, they are all only internal. Change-Id: I157688fa5c6e5aa02b7df4af97c916acece68b80 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-10-31Bug 535696: [UsecaseDiagram] Strategy does not work when move use case in ↵Christian W. Damus10-16/+274
subject Ensure that the drop strategy for use cases in subjects does not duplicate the view when moving an existing use case within the subject or when moving an existing use case from outside of the subject into the subject. This also covers the case of dropping a use case from the model explorer into a subject that is already presenting that use case within it, but in that case the drop strategy is just skipped and does not participate further in the drop gesture. Signed-off-by: Christian W. Damus <give.a.damus@gmail.com> Change-Id: Ic0f643b1da9aacbbba03a2f2673c93753aceb3c6 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-10-19Bug 536486 - [Sequence Diagram] Duration/time constraint & Duration/timeNicolas FAUVERGUE26-281/+3296
observation and general ordering https://bugs.eclipse.org/bugs/show_bug.cgi?id=536486 - Manage Duration/Time constraint, Duration/Time observation and GeneralOrdering Change-Id: Ice6a31e9b4bb1e757378494a62a2714d775f47dd Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-10-16Bug 539022 - [Releng] Format and complete some pom.xmlVincent Lorenzo18-285/+322
Change-Id: I68e20234bf94ad7e207f65807cb520c1cabb9b5b Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-09-24Bug 539293: [XText] Validation rules written by the developper are ignored ↵Vincent Lorenzo5-9/+79
during the final setValue process. + upgrade to java 1.8 Change-Id: Ic4fbb3f2b47e63c022df39b084f4ce9652f142e2 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-09-20Bug 472342: [Stereotype Display] Provide JUnit Tests for LinkCéline Janssens5-82/+217
https://bugs.eclipse.org/bugs/show_bug.cgi?id=472342 - Test Apply and unapply stereotype for Link Change-Id: If807a09fac08c008b34a0d4dc48a55a16ffb8918 Signed-off-by: Céline Janssens <Celine.Janssens@all4tec.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-09-14Bug 536378: [RCPTT] Sequence diagram functional test regressionsChristian W. Damus25-846/+638
- remove test cases from the "suites" folder that were redundant with identically-named test cases in the "tests" folder - us CSS to select Roboto 11pt font in all tests for consistent (in some degree) geometry across platforms - define ECL procedures to express assertions of the geometry of shapes in the diagram more concisely and with tolerances for platform variability (and perhaps other sources of variability) - update test assertions to reflect current layout results on Mac platform with the intention that tolerances account for deviation in Linux build environment - update stylesheet for labels Note that some of the layout results as asserted now in the tests may be functionally incorrect and so not flagged as such by tests that should be failing. These will have to be reviewed once the noise of test failures for reasons of invalid test construction (e.g. asserting fractional anchors to 10 decimal places!) have been successfully cleaned up and stabilized. Change-Id: I0c757d3bd65ca30205a3cb1575dc61f81331a3b5 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-08-29Bug 538358: [Tests] Some tests are failingNicolas FAUVERGUE10-494/+519
Manage failing tests due to tests problems. Change-Id: Ie6c7ab0bb0a7641426848d7f25420ad2e63390eb Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-08-29Bug 538339: [Tests] Some tests are failing due to diagram opening orNicolas FAUVERGUE6-185/+189
closing problem Change-Id: Idb3dd33a577e617567fcfb1bd6077544dd1d5937 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-08-22Bug 537653 - [EPL] Edti properties filesQuentin Le Menez84-168/+336
- move the plugin.properties files to the new EPL2.0 license - move the build.properties files to the new EPL2.0 license when available Change-Id: Ie860b3d74eb82ce5542b6fbe1f2bfcc67cea02f4 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-22Bug 537653 - [EPL] Update genmodel headersQuentin Le Menez2-4/+7
- Corrected or added the default header in the genmodel files - There still needs to be an action done on the generated ones (oep.uml.textedit.*) - Corrected the removed model dependencies - There still needs to be a check on the added properties for seemingly no reason Change-Id: I3348923f0d7784568e38f198cbbfcd2f3721a2d2 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-22Bug 537653 - [EPL] Update jdt.ui filesQuentin Le Menez108-108/+108
- amended the org.eclipse.jdt.ui.prefs for the new EPL2.0 license Change-Id: Ibcbef74918057bfa7ac94d341a33ec2f192f1a81 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-22Bug 537653 - [EPL] Move to the new EPL2.0 licenseQuentin Le Menez2-13/+13
- Misc changes for the migration to EPL 2.0 Change-Id: I3e7a68e25f6d0b5b9f84c09fadc1249dae824164 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-22Bug 537653 - [EPL] Update text filesQuentin Le Menez1-2/+4
- Update txt references to the new EPL2.0 Change-Id: If2ea65b5b9292833ad6a442adc4361a4c5e6c9f2 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-22Bug 537653 - [EPL] Update css filesQuentin Le Menez7-14/+28
- Update the css license reference to the new EPL2.0 Change-Id: Id2703d8125b4a378c5cf6e7cfc182dd2f126412c Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-22Bug 537653 - [EPL] Update uml filesQuentin Le Menez22-27/+27
- Update uml files license to EPL2.0 Change-Id: I15eb355f5ab275a73eccdff1eab7dcbea8b35912 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-22Bug 537653 - [EPL] Update xtend filesQuentin Le Menez8-34/+42
- uniformize the copyrights in the xtend files - migrate to the new EPL2.0 license Change-Id: Iaceeb41719fe85d4dddbb60ace4b6759c98ed263 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-22Bug 537653 - [EPL] update about.html filesQuentin Le Menez111-333/+333
- move the about.html files license to the new EPL2.0 - set the correct date on the license Change-Id: Id05bd8e8332e184150df4c8523d45b8840e7941a Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-22Bug 537653 - [EPL] Update Plugin.xml filesQuentin Le Menez4-8/+16
- move the plugin.xml files to the new EPL2.0 license Change-Id: If5cb1b4097e0e6835d17f49b80bce38bc1d49e67 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-21Bug 537653 - [EPL] Update java files headersQuentin Le Menez1476-2959/+5911
- replaced the reference in the java files headers - added the SPDX-License-Identifier Change-Id: Ia376515730e2430e8671c2b5c66f7b510894e5c6 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-07-24Bug 479981 - [Component Diagram] Components-in-component misplacedNicolas FAUVERGUE3-2/+192
Change-Id: Ie7b8879202ff0cd43cd86afab28e185542ac7c4b Signed-off-by: atischenko <tischenko@montages.com> Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-07-06Bug 533675: [Sequence Diagram] CombinedFragment can be created in anyChristian W. Damus9-77/+499
case in the diagram Test creation of combined fragments - covering nothing at all (in blank space) - partially covering a message - within another combined fragment Also, update the tests for bug 535097 to use the editor fixture to create interaction operands by automation of the creation tool, to better simulate user interaction. This requires explicitly disabling snap to grid (which is on by default in Photon) so that the mouse pointer can be placed as precisely as is required by the tests. Change-Id: Ic68e6c49746d63dc3e7c93ad92bd89ab68937614 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com> Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-07-06Bug 533697: [Sequence Diagram] InteractionOperand shall be reorderedCamille Letavernier7-141/+654
pressing a combination key in the CombinedFragment https://bugs.eclipse.org/bugs/show_bug.cgi?id=533697 - Add tests Change-Id: I30f669606a2af8b6d3b6464a363ecfee6581c8c7 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-07-06Bug 530201: [Sequence Diagram] Covered feature is broken for InteractionFragmentChristian W. Damus6-2/+208
Ensure that all interaction fragments that can be created in an interaction (continuation apparently not supported) are initialized with lifeline coverage for the lifelines that they visually cover. This includes updating the GridManagementEditPolicy to stop just adding all interaction operands to the 'coveredBys' of all lifelines in the interaction. Change-Id: I6e6dd83138b2433456beacbab1acacb9fb5155a3 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-07-05Bug 507479: [SequenceDiagram] Choose lifelines covered by a combinedChristian W. Damus21-24/+1041
fragment Implement properties view for the InteractionFragment::covered property of combined fragments and interaction operands. Restrict the selection of covered lifelines to lifelines in the same interaction. Add warning constraints for consistency of lifelines covered by - interaction operand as compared to lifelines covered by the fragments that it owns - combined fragment as compared to lifelines covered by fragments of its operands Update the automatic validation (if the preference is set) of an interaction operand that has has its owned fragments recomputed to encompass the entire containing combined fragment, to handle the impact on its lifeline coverage consistency constraint. Update headers & plugin version Change-Id: I340c816a3d62b38b2e811daa90b4d5c0c1fb5493 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-07-04Bug 535808: [DevTools] Apply Cleanup & Format on saveCamille Letavernier1-1/+1
- Restore the Sequence Diagram launch config (Accidentally broken by previous commit on this ticket) Change-Id: I8d5b20ead1cb36407f19aead3a720755bf310582 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-07-04Bug 507470 - [Documentation View] Test shall be done for the newMickael ADAM20-1/+878
documentation view. Change-Id: Idea85cd39e6d4e64da780bb1f5275285f6686269 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net> Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-07-04Bug 535808: [DevTools] Apply Cleanup & Format on saveCamille Letavernier220-25/+8276
https://bugs.eclipse.org/bugs/show_bug.cgi?id=535808 - Propagate the new preferences to all projects Change-Id: I0e70c1c4a5d14a24c2d92371c27dad085e9aa2d3 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-07-03Bug 535519: [Sequence Diagram] Sequence Diagram layout (& semantics) doCamille Letavernier2-8/+7
not support DPI scaling https://bugs.eclipse.org/bugs/show_bug.cgi?id=535519 - Initial version: support a labelHeight / labelWidth in CSS - Remove the layout tolerance from the tests Change-Id: Ie46bb206c3046e6111ebaea2a7cc1f66ca09ea15 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-07-03Bug 511394: [Expansion] Issue on undo /redo when adding a newNicolas FAUVERGUE1-17/+17
compartment to a stereotyped element Uncomment AllTests tests Change-Id: I64e055a7f9d2f10c2049283d28c015b4124e66cd Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-07-03Bug 511394: [Expansion] Issue on undo /redo when adding a newNicolas FAUVERGUE5-20/+247
compartment to a stereotyped element Actions - new JUnit tests with undo / redo tests for creating a class with a new compartment and for a Class stereotyped Metaclass with a new compartment. The test with metaclass is failing on undo. Change-Id: I02d4c28558bc14e046e91c3e95e2d18ed4134acf Signed-off-by: Remi Schnekenburger <rschnekenburger@eclipsesource.com> Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-07-02Bug 471584: [Stereotype Display] Provide JUnit Tests for a complexeCéline Janssens13-13/+1730
Class Diagram https://bugs.eclipse.org/bugs/show_bug.cgi?id=471584 - Update NominalProfileTest - Create a new model for the test - Test Class, Interface, Enumeration, Package - Test Enumeration Litteral, Property and Operation - Outline the main tests - fix a bug on the Comment refresh Change-Id: I0e07b278e99d3f0c9e7bfa2fa166fc29b9f15765 Signed-off-by: Céline Janssens <Celine.Janssens@all4tec.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>

Back to the top