Skip to main content
summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2018-05-28Bug 535073: [Table]Fill action with Increment doesn't work fine for negative ↵Vincent Lorenzo22-4/+645
number Change-Id: I0f0165cfa96b8a4265ee2ea6315b6b4be2a6fd6e Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-05-25Bug 533683: [Sequence Diagram] Deletion of the last InteractionOperandChristian W. Damus2-13/+47
In the diagram, deletion of a multiple selection obtains a deletion command separately from each selected edit-part, entirely within its own context. There is no reasonable way to share a single InteractionContainerDeletionContext amongst these separate requests that will not break other situations, so instead of pre-computing the advice command that deletes the CombinedFragment when it will be left without any operands, this decision is deferred to the actual point of execution of an after advice. https://bugs.eclipse.org/bugs/show_bug.cgi?id=533683 Change-Id: I64b214df5540346c769c1ab769d914b279178e4c
2018-05-25Bug 533701: [Sequence Diagram] Stereotype or Shape Compartments shouldCamille Letavernier1-2/+2
not be displayed in CombinedFragments https://bugs.eclipse.org/bugs/show_bug.cgi?id=533701 - Update the Continuation test, which expected the Symbols compartment to be present Change-Id: I4ee9440c6f064bc231bbcb63416d47f7c0592e38 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-05-22Bug 533770: [Sequence Diagram] Layout operands in a CombinedFragmentCamille Letavernier1-6/+11
https://bugs.eclipse.org/bugs/show_bug.cgi?id=533770 - Properly set the Y coordinate of Operands in the Notation, so that the GridManagement policy can properly compute the operands coverage - Update the DeleteOperand test assertion, since we now expand the preceding operand when deleting an operand (So the fragments initially covered by the deleted operand are now covered by the other operand, rather than the interaction) Change-Id: Ibc7d163ebe71c14648f38a0b27f8a5f4bfab8e98 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-05-22Bug 533696: [Sequence Diagram] Moving an InteractionOperand in aCamille Letavernier1-0/+52
CombinedFragment is not possible https://bugs.eclipse.org/bugs/show_bug.cgi?id=533696 - Add test Change-Id: I0dd4a7d7db888d9472880984d64432bb9721ff53 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-05-22Bug 533692: [Sequence Diagram] Resizing an InteractionOperand should notCamille Letavernier5-0/+463
move or resize elements inside it https://bugs.eclipse.org/bugs/show_bug.cgi?id=533692 Bug 533698: [Sequence Diagram] Moving a CombinedFragment should not move elements on the lifeline https://bugs.eclipse.org/bugs/show_bug.cgi?id=533698 - Add tests Change-Id: Ie645d3fec7fd64e5f8fe567c13a5738ee464f622 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-05-22Bug 533770: [Sequence Diagram] Layout operands in a CombinedFragmentCamille Letavernier6-1/+450
https://bugs.eclipse.org/bugs/show_bug.cgi?id=533770 - Add tests Change-Id: Id32713b6fd4efdd74425250ee5609738d09ce6e0 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-05-14Bug 533699: [Sequence Diagram] InteractionOperand Guard should not be movedChristian W. Damus2-5/+87
Disable moving of interaction operand guards. Resize was already disabled. Add JUnit test coverage for both move and resize. Change-Id: Ibbb29ff64f684b184be1efc6142f7c35df218399 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-05-14Bug 533681: [Sequence Diagram] Suppression of the CombinedFragmentChristian W. Damus4-0/+229
Add test case for deletion of combined fragment containing multiple operands with various kinds of content within each. Change-Id: I838c106d4505d0bca8f0f293907f3840db2ad144 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-05-14Bug 533672: [Sequence Diagram] InteractionOperand should be created on ↵Christian W. Damus4-21/+309
Lifeline and Interaction Ensure that the Interaction Operand tool is responsive on lifelines where they are covered by combined fragments. Change-Id: Idd29228845e4ac3cd3aa84cbe4d8c4ccd12cf3ce Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-05-14Bug 533671: [Sequence Diagram] CombinedFragment should be created on ↵Christian W. Damus2-9/+84
Lifeline and Interaction Add test coverage for combined fragment creation on lifelines. Change-Id: I9657a74b412fab102422b33e6b85956bdb43f3ae Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-05-04Fix compilation problem with tests after recent AF plugin versions (andMaged Elaasar2-2/+4
dependencies) update Change-Id: I831d5671c4e8ecaab27e332d0229e054e3d947e2 Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2018-04-25Bug 533683: [Sequence Diagram] Deletion of the last InteractionOperand ↵Christian W. Damus6-11/+357
should delete containing CombinedFragment Add a delete-dependents advice for InteractionOperands that checks whether an operand being deleted from a combined fragment will leave that combined fragment without any operands, and if so, deletes the combined fragment, also. Change-Id: I451932fc141fc0b1d550c98e13d8a41d65a13074 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-04-25Bug 533682: [Sequence Diagram] Deletion of the InteractionOperand should not ↵Christian W. Damus11-8/+559
delete underlying elements When deleting an interaction operand, instead of deleting contained elements, promote them to the operand or interaction containing the combined fragment. Change-Id: I677807d79ed08c6fac61069aefd37b8c4068238e Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-04-25Bug 533673: [Sequence Diagram] CombinedFragment should be created with one ↵Christian W. Damus12-29/+439
InteractionOperand Add an edit-helper advice to resize the default operand of a new combined fragment to fill the available space in the combined fragment. As this needs to use the edit-part controlling the operand's presentation to obtain a command that resizes the operand and captures the interaction fragments within its bounds, the execution of this advice command is deferred and captured back into the original context for undo/redo. Change-Id: Ifebab84b5b2181bea36d1cd60bf1f9f61adc4fe3 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-04-25Bug 533503: [Sequence Diagram] The move of messages can resize lifeNicolas FAUVERGUE3-0/+569
lines if needed Tests for Move messages over life lines. Change-Id: I18196aa0407e1f449d8a6243779ad511a2cb73db Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-04-23Tests correction after commit of some fixes for bugs:Nicolas FAUVERGUE5-46/+49
- Bug 531520: [SequenceDiagram] Messages connected on ActionExecutionSpecificationEditPart and BehaviorExecutionSpecificationEditPart must be connected to the LifelineEditPart - Bug 533048: [Sequence Diagram] The 'moving up' option must be removed Change-Id: I059e55fdd0e8f2a753d4df00cc72874f395ec33f Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-04-22Bug 533804 - [Diagram] Update batik dependencies for 1.9.1Quentin Le Menez2-1/+11
- Update the targetplatforms to set the required dependency to 1.9.1 from the latest M6 Orbit repository - Rebase the platforms on the latest integration builds Change-Id: Ib57fb5c3b322fcd880ec4f7a7d1ba06b9bfea2a2 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-04-21Revert "Bug 533804 - [Diagram] Update batik dependencies for 1.9.1"Quentin Le Menez1-1/+1
- a compilation error was introduced by this change, this needs to be reverted until resolved. This reverts commit 0bdf62f7a9968d362c762f84a5a3e6da34f9f7a9. Change-Id: Idfb6e8ebd7f04654e22bb017e61d3cd6ea36b65d
2018-04-20Bug 533804 - [Diagram] Update batik dependencies for 1.9.1Quentin Le Menez1-1/+1
- Update tests and dependencies to the new architecture and version - Update the targetplatforms to set the required dependency to 1.9.1 from the latest M6 Orbit repository Change-Id: I07824370934a51062038d382597330833e5ee801 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-04-20Bug 533706: [Releng] RCPTT build job for master branchChristian W. Damus2-0/+92
Maven build framework for RCPTT test execution, including initially test suites for the Sequence Diagram. Tests sequence diagram (only) in context of the latest successful Papyrus RCP build from the master branch. Change-Id: I7e230eac5048177068ba187acee3d394027938d1 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-04-19Bug 527664 - [AFViewpoints] Architecture Model Editor removeMaged Elaasar9-11/+21
CreationCommandClass property value Converted the Creation/ConversionCommandClass properties in the architecture editor to be of type string instead of Class. They can now reference class names from the workspace (on their project's class path). Also added validation rules for that. Finally, I added a Browse... button in the property sheet to help put values for them. remove some reexport increase version to take in account API tool Change-Id: I6792449fbee70b089f83780c4935242fff72d50b Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2018-04-18533700: [SequenceDiagram] Clean-up dead codeCamille Letavernier2-13/+9
https://bugs.eclipse.org/bugs/show_bug.cgi?id=533700 Fix the Sequence Test bundle Change-Id: I929c789d39fa85670c2d3b957a8334e17b3692b9 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-04-16- Add Tests for MessageFound and MessageLostNicolas FAUVERGUE5-258/+543
- Modify existing tests to work with recent modifications Change-Id: I7f38b61003f941238c31eb00d5140453a4271141 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-04-16Bug 528199 - [Xtext, Constraints] The edition of constraints does not choose ↵Ansgar Radermacher9-3/+349
a suitable editor - Cleanup implementation in DirectEditorsUtil: * Assure that method implementations are consistent and based on each other (before, implementations were duplicated, some respected priorities while others did not), fix comments * Rename getDirectEditorConfiguration (name was misleading, keep old method as deprecated) - Set version of oep.extensionpoints.editors plugin to 3.0.0, adapt all references (other MANIFEST files) accordingly - If no editor with for a given language is found, search all editors without taking language tag into account (implementations must still be compatible with semantic element). This assures that other editors are used, if the default editor is not compatible (e.g. OCL is default editor for opaque expression, but not compatible with non-OCL bodies) - Add an EmbeddedEditor.usecases txt file in plugin oep.extensionpoints.editors - Replace calls to old methods (in diagram.common, property.sheet, uml.diagram.sequence, diagram.stereotype.edition, service.types.ui and natable.xtext.valuespecification/integration) - Move OCL editor registration from generic plugin oep.uml.properties.xtext to OCL plugin. - Add a test to the existing oep.uml.textedit.tests plugin that checks whether a suitable editor is opened on an opaque expression with (1) a C++ body and (2) OCL body (the plugin registers a dummy C++ editor) Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: I4cee823b91e13f9601ecb7a9655409a74e3d7579
2018-04-12Bug 533439: [Table] Papyrus nattableConfiguration file must use a dedicated ↵Vincent Lorenzo2-54/+54
resource extending AbtractEMFResource provided by oep.emf. Change-Id: I232c7d0cd64dc8430b35428c77181b8e891f8c26 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-04-10Bug 531643: [Table] Remove all table files creation from the Papyrus New ↵Vincent Lorenzo29-820/+0
Wizard, excepted NattableConfiguration file - Edit the genmodel, setting generate editor and generate wizard to false for all EPackage, excepted nattableconfiguration package - Remove all customs editors - Remove the tests plugins org.eclipse.papyrus.infra.nattable.model.editor.test - Create a NattableConfigurationResource with the same options than the removed custom editors - Change path contribution for the NattableConfiguration wizard - Set nice icons for the NattableConfiguration wizban and the NattableConfiguration resource Change-Id: I6384e45036a35fe026fcdf2aa65b63d49177159b Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-04-02Fix build issues resulting from recent changes for Bug 518452Maged Elaasar33-74/+19
Change-Id: I1a34138a2c1fa8396565ba8d411a64b915e47176 Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2018-03-30Bug 533004: [Sequence Diagram] When a MessageCreate or MessageDelete isNicolas FAUVERGUE2-0/+520
created, other messages are moved Add RCPTT Tests for MessageCreate and MessageDelete. Change-Id: I33c6acdc77712931b65af228e292f35cf4488c51 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-03-30Bug 531596: [SequenceDiagram] When a message is moved bottom theNicolas FAUVERGUE6-148/+711
lifeline must be resized - Add RCPTT test for the message move (with and without life lines resize) - Rewrite other tests to run Change-Id: Icb72c73116eac438fe60de217071fadd092d2070 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-03-26Bug 532709 - Generated elementtypeset should have an xmi:idBenoit Maggi3-8/+6
- restore old version for applystereotype ids - add some Automatic-Module-Name for java9 compatibility Change-Id: Ie50c229fa52e0256c3e208ed84cd8cef82127a8e Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2018-03-23Bug 532639: [Table][Matrix] System shall enable to specify the creation ↵Vincent Lorenzo27-55/+68
location of relationships created using a matrix editor. Change-Id: I4ffde565f069e65c85c838bd14aebb4b809c61b7 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-03-21Bug 525483 - [Toolsmiths] Profile changes management and model migrationPauline DEVILLE101-1/+25879
Change-Id: Id5b2081df69458ef48821f492929b107a1d2ef4f Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2018-03-11[Releng] [Photon] Delete old Dev framework and add a new Toolsmiths oneQuentin Le Menez59-34/+30
- Delete the old Dev releng profile and replace it with a Toolsmith one - Add new features: Junit, Releng, Diagramgen and Debug to be released - Move the junit framework at the root of the junit test folder - Remove Toolsmiths from the main build as it will have its own - Repopulate the SDK feature and distribute the excess features in theit own root parent - Add a new views feature - Moved the assistants to the toolsmiths folder and put them in the toolsmiths build Change-Id: I1c0331b25607baaf1cfcc635d9c7b0d9c6d73e63 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-03-11Bug 531190 - [Releng] Remove generated tests framework and pluginsQuentin Le Menez391-33814/+55
- Remove the generated tests framework - Remove the associated dev plugins and nature to the tests plugins - Remove the xtend files for test generation - Remove the outdated all encompassing test suite - Rewire the dev menu plugin to plain old src instead of src/main/java - Move the junit framework plugins to the root of the junit test folder Change-Id: Id2c0c18762c7c917de93430d3ace2f48940c1297 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-03-11Bug 518452 - [releng] [photon] Delete the discovery site for PhotonQuentin Le Menez6-7/+7
Change-Id: I085e7af41f1736566fca887fb0b013f4e4ff588d Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-03-07Bug 518452 - [releng] [photon] Delete old docx file from sequence testsQuentin Le Menez1-0/+0
Change-Id: Idd169cc1cbefc2f5e7b22709d5c704d66ceffeb4 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-02-27Bug 531270: [EMF][Expressions]Papyrus must provide a common way to save and ↵Vincent Lorenzo6-9/+528
load all Papyrus EMF models with the same options Change-Id: I49305997e6e80c4ef7e3fb32bb364a2d20d1dd0c Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-02-23Bug 531539 - [SequenceDiagram] Functional Tests for sequence diagramYupanqui Munoz15-0/+908
using RCPTT Change-Id: Ic0750150969e83c693a5175ba3d695db4656cdcc Signed-off-by: Yupanqui Munoz <yupanqui.munozjulho@cea.fr>
2018-02-13bug 530155: [Performance] ↵Vincent Lorenzo15-78/+173
NamedElementUtil.computeDefaultNameWithIncrementFromBase must be improved and provide a naming strategy - implements a preference - add the documentation - update JUnit tests to force concerned tests to use the previous behavior Change-Id: I5e68fafc37299ffc4c1a0e18f4b1960e7ce8f010 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-01-31Bug 529707 Correct the plugin versions in order to avoid clashing dependenciesQuentin Le Menez40-40/+40
Change-Id: Id1e8a4c1d81c9d7ccd04ca6de352e017eba85cab Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-01-25Bug 529707 - [Profile] No way to select which ProfileApplicationDelegatePauline DEVILLE21-21/+21
we want to use * Add a Preference Page to select the Profile application delegate to use * Move the External Profile application delegate preference page as sub preference page to the Profile application delegate page Change-Id: I83dfd62742420c158174152c01ed037c83993a95 Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2018-01-18Bug 484648: [Model Explorer] Link with Editor does not work with MECamille Letavernier1-1/+1
customized through EMF Facets https://bugs.eclipse.org/bugs/show_bug.cgi?id=484648 Change-Id: I9ac56413a58ce987acf973a87fedba4f1840d632 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-01-13Bug 450921 - Additional graphics no longer availableVincent Lorenzo2-2/+163
- add tests Change-Id: I495a152b8f41d54689dfc39ca8ac28044c0f509a Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-01-11Bug 528787 - [Sequence Diagram] Undo a message creation also delete ExecMickael ADAM2-1/+190
specification - JUnit test that reproduce the issue. Change-Id: I9b49fac7008368a0f66faa57ae59ec4408d2a208 Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>
2018-01-10Bug 515998: [SequenceDiagram] Fix existed Tests for the Sequence diagramFanch BONNABESSE5-95/+82
https://bugs.eclipse.org/bugs/show_bug.cgi?id=515998 Change-Id: If105658e59faf0e5f0a4797de97663a65575723c Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2018-01-10Bug 528839 - [Sequence Diagram][Test] Weak reference have to be testedMickael ADAM3-91/+459
https://bugs.eclipse.org/bugs/show_bug.cgi?id=528839 - quasi 100% coverage in weak reference class Change-Id: If8ee97c051d443095948a8d7177669b0e496064c Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>
2018-01-09Bug 515367 - [releng] Uniformization of the end of lines to Unix standardQuentin Le Menez1058-84435/+84435
- Format the EOL of all the files matched by: grep -rIUs . | xargs -Ifile dos2unix -k 'file' Change-Id: I5c41d540a9a67b50de9b912ab35e16cc9a912961 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2017-12-23Bug 528343: [I18N] Preference checking overhead for models that don't use i18nChristian W. Damus4-19/+133
Fix test failures on build machine that is configured for en_US locale. Also fix new listener API for preference changes that didn't account for changes applied directly to the preference store (some code does this). (cherry-picked from streams/3.0-maintenance) https://bugs.eclipse.org/bugs/show_bug.cgi?id=528343 Change-Id: I7cbe89117bb8cd410ec871dacce78e65937b6880 (cherry picked from commit 791896186a78d125dd13fb1330c65f0067190599)
2017-12-20Bug 528343: [I18N] Preference checking overhead for models that don't use i18nChristian W. Damus20-25/+527
Rework the InternationalizationUMLItemProviderAdapterFactory to provide standard UML item-providers for resource sets that don’t enabled i18n support, until such time as it is needed. At that point, dispose the standard item-providers and let the i18n-enabled ones replace them. An new event-listener protocol lets the item-provider detect this change in i18n status. Also improve performance of the i18n utility's tracking of preference stores and fix the hash code calculation of the PapyrusProjectScope (as it matters now that it is used as the key in a map). (cherry-picked from streams/3.0-maintenance) https://bugs.eclipse.org/bugs/show_bug.cgi?id=528343 Change-Id: Ifb415da65d6af26e5bfaac0ea3f1b9718b758227

Back to the top