Skip to main content
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
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 <>
2018-07-24Bug 479981 - [Component Diagram] Components-in-component misplacedNicolas FAUVERGUE3-2/+192
Change-Id: Ie7b8879202ff0cd43cd86afab28e185542ac7c4b Signed-off-by: atischenko <> Signed-off-by: Nicolas FAUVERGUE <>
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 <> Signed-off-by: Nicolas FAUVERGUE <>
2018-07-06Bug 533697: [Sequence Diagram] InteractionOperand shall be reorderedCamille Letavernier7-141/+654
pressing a combination key in the CombinedFragment - Add tests Change-Id: I30f669606a2af8b6d3b6464a363ecfee6581c8c7 Signed-off-by: Camille Letavernier <>
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 <>
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 <>
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 <>
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 <> Signed-off-by: Nicolas FAUVERGUE <>
2018-07-04Bug 535808: [DevTools] Apply Cleanup & Format on saveCamille Letavernier220-25/+8276 - Propagate the new preferences to all projects Change-Id: I0e70c1c4a5d14a24c2d92371c27dad085e9aa2d3 Signed-off-by: Camille Letavernier <>
2018-07-03Bug 535519: [Sequence Diagram] Sequence Diagram layout (& semantics) doCamille Letavernier2-8/+7
not support DPI scaling - Initial version: support a labelHeight / labelWidth in CSS - Remove the layout tolerance from the tests Change-Id: Ie46bb206c3046e6111ebaea2a7cc1f66ca09ea15 Signed-off-by: Camille Letavernier <>
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 <>
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 <> Signed-off-by: Nicolas FAUVERGUE <>
2018-07-02Bug 471584: [Stereotype Display] Provide JUnit Tests for a complexeCéline Janssens13-13/+1730
Class Diagram - 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 <> Signed-off-by: Vincent Lorenzo <>
2018-06-29Bug 528473 - [Sequence Diagram] Undo does not delete grilling decoratorMickael ADAM2-1/+186
node - JUnit test that reproduce the issue. Change-Id: I4b1a7820ba811f34faec5390d9ad0ed4cf6e5c34 Signed-off-by: Mickael ADAM <>
2018-06-29Bug 536425: [Xtext] All Papyrus Xtext plugins must be regeneratedNicolas FAUVERGUE4-4/+4
Change-Id: I5855fe718bec8ae29f58dafe1a8a8f57860c97ec Signed-off-by: Nicolas FAUVERGUE <>
2018-06-28Bug 479122 - [Component] Should be possible to reroute connectionBenoit Maggi3-13/+116
between component ports - allow connector re-routing - tests contribution Change-Id: I40c6948999d26e0c7382f5b406399eb213a4c278 Signed-off-by: ashatilov <>
2018-06-25Bug 536247 - [Tests] Add a test plugin to infra architectureBenoit Maggi13-3/+227
- add test plugin - create first test class MergedArchitectureDomainTest - quality fixes - add missing informations in extension points Change-Id: I9220040c3ae2000303a5195786a808c52774c25d Signed-off-by: Benoit Maggi <>
2018-06-25Bug 536183 - [AFViewpoints] NPE in PolicycheckerBenoit Maggi7-18/+79
- fix NPE in PolicyChecker.isInViewpoint - add unit test for PolicyChecker - add test in infra Test suite (to be executed in build) - quality fix in policy plugin - remove remaining pom of a deleted plugin Change-Id: I532ef62dcccbfcd11f8ceda5d190705fffa36c36 Signed-off-by: Benoit Maggi <>
2018-06-21Bug 450921 - [CommonDiagram] Additional graphics no longer availableBenoit Maggi2-161/+0
- decision has been made that geoshape aren't required in Papyrus - remove the test that check geoshape menus Change-Id: I988ebfb758bdc847bce5b7890a0d9071808494d2 Signed-off-by: Benoit Maggi <>
2018-06-21Bug 536083 - [AFViewpoints] Provide conversion to UMLMaged Elaasar13-5/+230
- Support converting a model from an arbitrary context to the UML language context - add test to validate the uml.architecture model Change-Id: I0a9f45879229e368f6b8cb0925e54697ab1edf06 Signed-off-by: Benoit Maggi <> Signed-off-by: Maged Elaasar <>
2018-06-20Bug 535935 - [Tests] Multiple NullPointerExceptionVincent Lorenzo1-6/+45
- fix the source of the NPE in Table JUnit Tests Change-Id: I3c13bebe546937f5c074792ba300b799f5e3df8a Signed-off-by: Vincent Lorenzo <>
2018-06-19Bug 536048 - [Core] Test that model are validBenoit Maggi13-35/+294
- Add ModelValidationTest to check models - fix english typo - small quality patches Change-Id: Ib7eaa0767553167710390aaa0adff1623dea67c7 Signed-off-by: Benoit Maggi <>
2018-06-19Bug 518022 [AFViewpoints] Diagram unusable if Papyrus ArchitectureMaged Elaasar1-2/+7
Context preference values are touched. - Fixed ElementTypeSetConfigurationRegistry.dispose() to properly deregister the dynamically registered element types and advices (avoiding many warnings thrown in console) - Made ElementTypeSetConfigurationRegistry only reload in response to the set of dynamically added architecture models changing - Fixed a problem with ArchitectureDomainPreferences loading/saving preferences - Deprecate the public API ArchitectureDomainManager.getPreferences() method to avoid changing the preferences through the object only as opposed to the preference store - Fixed the bolding of the default context's font style in the ArchitectureContextPreferencePage Change-Id: If0dd708c91d78ca90257516814d38510c0986ed1 Signed-off-by: Maged Elaasar <>
2018-06-18Bug 536003 - Remove incubation in All Papyrus Core ProjectsBenoit Maggi2-4/+0
- remove incubation from description - remove duplicate groupid/version in pom.xml - remove useless cast Change-Id: If1617e9660a0b03ac0af65c08592ab4125c2f891 Signed-off-by: Benoit Maggi <>
2018-06-12Bug 535794 - [Test] Correct breaking dependency testQuentin Le Menez1-1/+2
- added the missing dependency - modified the missing/incorrect version Change-Id: Ibe05378c453848b99033a7e8216bac8ed890caca Signed-off-by: Quentin Le Menez <>
2018-06-11Bug 535680 - [Tests] Validate model related to composite diagramBenoit Maggi20-103/+88
- add ModelValidationTest to validate the models - remove duplicate elements in pom.xml - remove unused import Change-Id: I6d4c9487b33f68b91de1bc934d66456e7a71b237 Signed-off-by: Benoit Maggi <>
2018-06-08Bug 535097: [Sequence Diagram] Semantic coverage of Operands must beCamille Letavernier5-0/+624
consistent with visuals Signed-off-by: Camille Letavernier <> Change-Id: I3d97ee1819eb3f374a3d4b2de3644d78f11469d1
2018-06-05Bug 533679: Creation of CFrag should not graphically move elementsChristian W. Damus7-8/+539
Fix the handling of operand ownership for execution specifications to account for (a) that they are not started/finished only by ExecutionOccurrenceSpecifications specifically and (b) that they are not always provided by the rows of the grid model. Since the updating of the rows and columns and fragment ownership is so often done in a read-only context (following operation execution on the history) we can avoid redundant calculations by just always posting the update asynchronously and throttling multiple pending calculations. Altogether this results in the calculation of operand ownership upon initial creation of a combined fragment not being immediately overridden by an incorrect calculation that puts all of the fragments back into the root interaction. Change-Id: I2abb81a920e2a8a7f20d3a6b702d3194d8e7ae8e Signed-off-by: Christian W. Damus <>
2018-06-04Bug 535061: [Sequence Diagram - Tests] 1px layout delta on JenkinsCamille Letavernier1-1/+28 - Workaround: add a minor layout tolerance (2px) to the Operands Layout Tests Change-Id: Ie897db06dc0adced1ecb866a60ba3bd8a121199d Signed-off-by: Camille Letavernier <>
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 <>
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 <>
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 <>
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 <>
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 <>
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 <> Signed-off-by: Christian W. Damus <>
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 <>
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 <>
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 <>
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. Change-Id: I64b214df5540346c769c1ab769d914b279178e4c
2018-05-25Bug 533701: [Sequence Diagram] Stereotype or Shape Compartments shouldCamille Letavernier1-2/+2
not be displayed in CombinedFragments - Update the Continuation test, which expected the Symbols compartment to be present Change-Id: I4ee9440c6f064bc231bbcb63416d47f7c0592e38 Signed-off-by: Camille Letavernier <>
2018-05-22Bug 533770: [Sequence Diagram] Layout operands in a CombinedFragmentCamille Letavernier1-6/+11 - 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 <>
2018-05-22Bug 533696: [Sequence Diagram] Moving an InteractionOperand in aCamille Letavernier1-0/+52
CombinedFragment is not possible - Add test Change-Id: I0dd4a7d7db888d9472880984d64432bb9721ff53 Signed-off-by: Camille Letavernier <>
2018-05-22Bug 533692: [Sequence Diagram] Resizing an InteractionOperand should notCamille Letavernier5-0/+463
move or resize elements inside it Bug 533698: [Sequence Diagram] Moving a CombinedFragment should not move elements on the lifeline - Add tests Change-Id: Ie645d3fec7fd64e5f8fe567c13a5738ee464f622 Signed-off-by: Camille Letavernier <>
2018-05-22Bug 533770: [Sequence Diagram] Layout operands in a CombinedFragmentCamille Letavernier6-1/+450 - Add tests Change-Id: Id32713b6fd4efdd74425250ee5609738d09ce6e0 Signed-off-by: Camille Letavernier <>
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 <>
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 <>
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 <>
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 <>
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 <>
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 <>

Back to the top