Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2018-06-01Revert "Bug 533804 - [Diagram] Update batik dependencies for 1.9.1"Quentin Le Menez2-11/+1
- This reverts the migration to Batik 1.9.1 as the problems encountered warrant to postpone it This reverts commit aea9db22620bbc8b466b48ea7dd958bd004c91e4. Change-Id: I15546c71d6a1868773a78459e604fe0babefbf6b Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-06-01Bug 528895 - [Quality] Field modifier should follow convention orderBenoit Maggi19-45/+45
- use correct order for field modifier - add missing header - replace C<>line by Celine Change-Id: I2608484da46215dbd65a1e85d47d0aa7706feb58 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2018-05-31Bug 532101: [AFViewpoints] Make AF editor fasterMaged Elaasar43-79/+95
Bug 532104: [AFViewpoints] Transform your Workspace reference to platform reference - Simplified the AF model wizard by defaulting the root to be Architecture Domain. - Extended the Load Resource action in the AF editor to allow loading AF models from the running platfom. - Added a Resolve All action that can be used on any object in the editor to quickly resolve related references. This can be used on a loaded AF model (from workspace or running platform) to also load its dependencies like elementtypeconfigurtion and palleteconfiguration files. - Made the architecture, elementtypesetconfigurtion, nattableconfiguration, and paletteconfiguration resources extend of a common base class that supports default load/save options. This base class also makes the cross references persist using platform:/platform URIs but upon load, they may resolve to platform:/resource if the resource is available in the workspace. - Refactored uml.architecture, all the elementtypeconfiguration, all palletteconfiguration, and all nattableconfiguration models by changing their cross references to platform:/plugin URI format. - Fixed PasteEObjectConfigurationItemProvider to make the containment reference axisIdentifier show in the editor/property sheet as a containment reference (was necessary to convert its cross references properly) Change-Id: I69b82f53670cbb81e9117ce82c61d7c898080c93 Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2018-05-31Bug 535388 - [Quality] Remove reference to unknown schemaBenoit Maggi1-2/+1
- remove reference to non existing schema/aspectToolProvider.exsd (it was removed last year for palette refactoring) - use existing ValueSpecificationAction.gif icon instead of non existing icon ValueSpecification.gif - remove duplicate groupId in pom.xml - remove unused import and unused value Change-Id: If827cec2c8c8e1d437a1ddc549940be86ece881a Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2018-05-29Bug 533676: [Sequence Diagram] Validation should be triggered afterNicolas FAUVERGUE1-1/+23
creation of CombinedFragment or InteractionOperand Delete comment for preference initialization + Modify the tests due to the preference modification Change-Id: I143fa33442c84191210336ef90510546c988c246 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-05-29Bug 533676: [Sequence Diagram] Validation should be triggered afterChristian W. Damus12-19/+514
creation of CombinedFragment or InteractionOperand Add custom well-formedness rules to check that messages and execution specifications do not cross interaction operand boundaries. Ensure that re-sizing of an interaction operand triggers validation of that operand and the interaction fragments that it contains, plus any messages originating or terminating within it. Because the default operand of a new combined fragment is now resized upon creation, a new operand is likewise validated for its contents. Fix validation hook and diagnostician extension point schema definitions to match reality of the extension point implementations. Remove UI contributions for validation, to avoid workflow interrution. Validation framework is still slow, but less intrusive for the user. A preference may control the validation activation on user actions. Update the failing compilation on gmfdiag.common.tests. Add a preference to switch on or off the validation. Change-Id: Ic7d83eb18315ce714dc7c71bff38276f330ef260 Also-by: Rémi Schnekenburger <rschnekenburger@eclipsesource.com> Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-05-28Bug 535209 - [Quality] Remove unused import/variable warningBenoit Maggi22-68/+22
- fix unused import - move example code from src to src-gen - remove unused variable Change-Id: Ic2d49c57277cc08f1b53027876b4ceab1bea515d Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2018-05-28Bug 535185 - Add Automatic-Module-Name header for Java 9 compatibilityBenoit Maggi119-64/+108
- add Automatic-Module-Name with the same value as Bundle-SymbolicName in all Manifest.MF - quality fix : remove unused import Change-Id: Icd3e4376bc9e61e360ac61522b967a088a248480 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
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>

Back to the top