Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2017-03-13Bug 510451 - Reimplement the ISO42010 specification to properly supportMaged Elaasar111-5196/+3710
architectural contexts and viewpoints Replaced the viewpoint configuration framework by a new architectural context/viewpoint framework. This involves defining architecture contexts and viewpoints in models and contributing them via extension points or via the preferences. Models reference an architecture context and a set of viewpoints at creation time, but can be switched later. Architecture contexts double as client contexts for which elementtypesetconfigurations can be registered. They also define viewpoints, which reference representation kinds (diagrams or tables). This contribution defines three architecture contexts: UML, Profile, and SysML corresponding to what Papyrus used to call diagram categories. Change-Id: I203b58d9e97afdffc45c2674683c0281eb8a7c5b Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2017-03-13[releng] [oxygen] update dependencies to equinox e4.ui.model.workbench from ↵Quentin Le Menez1-1/+1
2.0.0) to 3.0.0) due to the new 2.0.0 contribution Change-Id: I372283d74f4f28a8cd44cd6056c4b312b0b426e3 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2017-03-09Bug 512988 - [ELK] The Elk Prototype should be moved to incubationBenoit Maggi29-2873/+1
repository - remove all code related to the elk integration - the code is still available in the org.eclipse.papyrus.incubation Change-Id: I3de063fb5d6bfd51eea06c4cb3923535e335def1 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-03-03Bug 512962 - [Refactoring] Move refactoring to incubation repositoryBenoit Maggi29-2154/+0
- remove all code related to refactoring - the code has been transferred to org.eclipse.papyrus.incubation Change-Id: I30ae106f0c610f08d408f2eee4e33bf7cf4a8008 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-02-27Bug 512113 - [Extra][Table] Archive tablemigrationQuentin Le Menez6-1268/+38
- archived the tablemigration plugins - removed the associated extra feature - removed old table metamodel depdendencies in some tests models Change-Id: Ib1e6be570b137811e96f9a9474e98448c14f8f5f Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2017-02-20[releng] [oxygen] [test] update pom.xml to point on the immediate parent ↵Quentin Le Menez144-1751/+1714
instead of the releng one - suites kept this dependency for now Change-Id: I03ba6253e884b7361efa1b05d48ffbe17e0f6491 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2017-02-20Bug 509908: [Internationalization][Tests] Internationalization JUnitNicolas FAUVERGUE2-2/+0
tests failed https://bugs.eclipse.org/bugs/show_bug.cgi?id=509908 Remove the ControlMode tests for internationalization. Those ones are working fine in Eclipse running and local hudson but not on Papyrus hudson. Change-Id: Ic31aec5b84c895dae4f4df4a12f972030100e4a7 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2017-02-17Bug 512352 - [ADL4Eclipse] Move Adl4Eclipse in tools repositoryBenoit Maggi74-2494/+0
- remove adl4eclipse code from master branch - the code is available in org.eclipse.papyrus.tools repository Change-Id: I552eea9c765dffc6ed0aad2949f16ec34c3765ec Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-02-17Bug 511917 - [Model import] update the model import tool to produce aAsma Smaoui2-959/+3
Port_NameLabel view without an explicit set of element * the toLabel() mapping that creates the DecorationNode PortNameLabel inherits from toPapyrusNode mapping that inherits from toPapyrusNodeView mapping that set the element : PortNameLabel should not in any case set the element, the element is set in the Port_Shape view. for the inherited ports this creates a conflict and did not display the label --> create an abstract mapping just like PapyrusConnectorLabel and ensure that we did not set the element in this mapping. toLabel() inherits now the new mapping * add junit test to be sure that for all PortNameLabel View no element was set (test only simple port, inherited port should be tested in Papyrus RT not in Papyrus) Change-Id: I68eb807294d9461e4a8dd448638030a5c0a5a472 Signed-off-by: Asma Smaoui <asma.smaoui@cea.fr>
2017-02-16Bug 491334 - [CSS] Improve CSS Engine performanceCéline Janssens2-2/+5
- Fix JUnit Test failing due to this new CSS rule: if property of the selector is null, then the selection match by default. Change-Id: I5cbf26e35f857ede3e38bf792c42a61ef1fff37c Signed-off-by: Céline Janssens <Celine.Janssens@all4tec.net>
2017-02-10Bug 511917 - [Model import] update the model import tool to produce aAsma Smaoui2-0/+975
Port_NameLabel view without an explicit set of element * the toLabel() mapping that creates the DecorationNode PortNameLabel inherits from toPapyrusNode mapping that inherits from toPapyrusNodeView mapping that set the element : PortNameLabel should not in any case set the element, the element is set in the Port_Shape view. for the inherited ports this creates a conflict and did not display the label --> create an abstract mapping just like PapyrusConnectorLabel and ensure that we did not set the element in this mapping. toLabel() inherits now the new mapping * add junit test to be sure that for all PortNameLabel View no element was set Change-Id: I621a1b9fbaaf855977473f8da1db379cefae97eb Signed-off-by: Asma Smaoui <asma.smaoui@cea.fr>
2017-02-10Bug 512020 - [UML Compare] Remove deprecated extra uml.compareBenoit Maggi375-22591/+0
- remove code, tests, features... - the correct version of compare for Papyrus may be found in EMF-Compare project. Change-Id: Iff96f9be346c3a1fc77e7660931c62a4a722d121 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-02-10Bug 511942: [Properties] Property widgets create new UML elements using the ↵Christian W. Damus4-4/+100
static factory Ensure that the contextual resource set's local factory is used to instantiate an EClass, if such local factory is available. https://bugs.eclipse.org/bugs/show_bug.cgi?id=511942 Change-Id: Ia56fc63632b8bd1afa0e67f3d778a41d9689a4c7 (🍒-picked from streams/2.0-maintenance)
2017-02-09Bug 499466: [Table] Table Fill action ignore number prefixed by 000.Thanh Liem PHAN41-3/+1271
https://bugs.eclipse.org/bugs/show_bug.cgi?id=499466 - Handle the fill action for string value such as "001_Class", "Class_0001" and "001_Class_0001" - Format the number string correctly according to the length of its real value - Add unit tests for string with beginning number, with ending number or string surrounded by both beginning and ending number Change-Id: Ia2cd8bb3b393c921d10e6817598e7d237ce4b72e Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-02-09Bug 511761: [Diagram][SequenceDiagram][Properties] Remove contribution to ↵Vincent Lorenzo2-79/+0
property views for the Sequence Diagram - I only removed the property view contribution - I didn't remove the the java classes, because they are used by EditPart and colleagues are already working on a refactoring of this diagram. Change-Id: I01b690145058aba6f0e6e1fee9f6171ec4f72899 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-02-09Bug 511823: [Importer][Rhapsody] delete Papyrus Rhapsody framework from the ↵Vincent Lorenzo87-10643/+0
Papyrus git Change-Id: I0a721eb708c31c9564718eaf6b0241149124287b Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-02-09Bug 509908: [Internationalization][Tests] Internationalization JUnitNicolas FAUVERGUE9-217/+282
tests failed https://bugs.eclipse.org/bugs/show_bug.cgi?id=509908 Modify the mothod to control the project with properties files. The uncontrol tests was already managed by the Control mode tests. Change-Id: Ic91e63ba45b86f6b1f5c794771ed966ed372a6d7 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2017-02-03Bug 496176: [Importer][Rhapsody] Papyrus must provide a tool to import ↵Vincent Lorenzo87-0/+10643
Rhapsody SysML Model into Papyrus. Contribute to the JUnit Tests framework for Rhapsody SysML Migration Tools Change-Id: Iad158b53a918842b566f753deb30bf2b7f2adb4d Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-01-29Bug 510937 - [TEST] [REFACTOR] [OXYGEN] The tests for Papyrus' main plugins ↵Quentin Le Menez558-22736/+27582
should be clearer to visualize during execution on the server and segmented to respect the plugin's architecture Change-Id: I5125c9ae1552ef8144aff12881e0ba2cfb1be102 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2017-01-27Bug 510889 - [GMFT] Fork gmft.runtimeBenoit Maggi1-1/+0
- rename the plugin as org.eclipse.papyrus.infra.gmfdiag.tooling.runtime - integrate in Papyrus build - add the plugin to gmfdiag feature - change dependency in infra.gmfdiag.common - change xtend templates - re-genenerate all diagrams - fix missing keys using full namespace - fix wrong version number - impossible to regenerate InteractionOverview (no gmfgen) - Remaining generated not in Activity and Timing - keep hand made code in UMLNavigatorLabelProvider for Sequence Diagram Change-Id: I1c1b988eafff38eae56a789d6a8734083c1117d4 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-01-26Bug 487932: [Table] SysML 1.1 Junit tests must be moved to UML NatTableNicolas FAUVERGUE366-0/+15249
plugins https://bugs.eclipse.org/bugs/show_bug.cgi?id=487932 Create an UML plugin with dynamic profile to reproduce the SysML allocations and requirements tests without SysML profile. Change-Id: I9cc6acca78c94f60e505d4c603cedf0dae0f2a70 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2017-01-26Bug 509908: [Internationalization][Tests] Internationalization JUnitNicolas FAUVERGUE18-215/+219
tests failed https://bugs.eclipse.org/bugs/show_bug.cgi?id=509908 Manage the internationalization tests with Papyrus Model Fixture instead of AbstractEditorTest Change-Id: I6e6a57b77a418aa9d4ccb63a50f8f94115d8d16c Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2017-01-24Bug 508843 - [Toolsmiths] migrate expansion model into its own pluginFrancois Le Fevre50-70/+101
-just moving exapnasion model into its own plugin -reexporting the different package -updating manifest.mf with this new plugin -package renaming with genmodel update -moving to right bundle version in a manifest.mf -adding it into its feature -retrigger after merge conflict resolution -dispatching class in their own package Change-Id: If81918a014ca46e67a9e6fb60b1e0bf21c5645ab Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
2017-01-23Bug 508130 - [Toolsmiths] dispatching customization properties pluginsFrancois Le Fevre18-20/+20
in there own functional unit -moving stuff to the right functional unit -changing extension point naming Change-Id: Id498eed0baeeb6e31655668fca69776d09bee37a Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
2017-01-20Bug 505330: Unable to post-process imported/migrated RSA-RTE model with ↵Christian W. Damus5-7/+149
proprietary profiles Add a test case for the QVTo transformation environment provided to post-processing extensions. https://bugs.eclipse.org/bugs/show_bug.cgi?id=505330 Change-Id: I50c7b05c07d097bae22c76aac8f6647648886a95 (cherry picked from commit 589571e9026792af615107993a2b8d025c58e756)
2017-01-20Bug 505330: Unable to post-process imported/migrated RSA-RTE model with ↵Christian W. Damus8-1/+804
proprietary profiles Add an optional transformation extension interface for a new post-processing phase invoked on the final imported model after stereotype repair but before it is finally saved. Also persist the basic import configuration parameters from either the simple dialog or the wizard in the workspace metadata area so that they will be the defaults for the next import. https://bugs.eclipse.org/bugs/show_bug.cgi?id=505330 (🍒-picked from streams/2.0-maintenance) Change-Id: I364023b4529fb46197da0702b6b52bd21c223cfd
2017-01-20Bug 495430 - Duplicated transitions in a model closed then reopenedAnsgar Radermacher2-0/+52
- Added test
2017-01-13[Releng] [Tests] Delete obsolete testsQuentin Le Menez664-62150/+0
Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2017-01-12Bug 510291 - [Tests] Remove dependency to GMF-TBenoit Maggi17-20/+0
- remove dependency to org.eclipse.gmf.tooling.runtime Change-Id: I65da986b699a0f4c303711376c5b3c0aba66c2c2 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-01-11Bug 510268: [State Machine] Deleting a state does not delete transitionsMartin Fleck5-1/+555
Add EditHelperAdvice to delete all incoming and outgoing transitions of a Vertex element if it gets deleted. Change-Id: I3e25be2d9812eb1c0184e7904c2bc06491eabb8a Signed-off-by: Martin Fleck <mfleck@eclipsesource.com>
2017-01-09Bug 508512 - [Core] respecting maven conventionFrancois Le Fevre27-46/+69
-adding pom.xml -adding the schema in the header enabling to remove the warning in eclipse Change-Id: I8ab35fb6c6a696c5feb44aa5236db1c02e86f08e Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
2017-01-05Bug 509908: [Internationalization][Tests] Internationalization JUnitNicolas FAUVERGUE4-44/+9
tests failed https://bugs.eclipse.org/bugs/show_bug.cgi?id=509908 - Remove the UMLInternationalizationLabelProviderTest because it is already done with UMLInternationalizationChangePreferenceTest - Change the internationalization control/uncontrol tests with InvalidTest Change-Id: Ib2faaa0ce96b24df1921fbaade38465a63fded44 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2017-01-03Bug 509278: [Internationalization] Diagram and Table labels in ModelNicolas FAUVERGUE2-8/+8
Explorer must be managed by custom facet https://bugs.eclipse.org/bugs/show_bug.cgi?id=509278 - Modify the path to get the correct one for the 'GetDiagramLabel' call - Modify some JUnit test messages Change-Id: I137eeb7676bd15f13f71303376c94c77d2176a6e Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2016-12-14Bug 509067: [Internationalization] Manage the properties files with aNicolas FAUVERGUE2-9/+35
proper Resource https://bugs.eclipse.org/bugs/show_bug.cgi?id=509067 - Manage the properties by their own Resource - Fix bug with Diagrams/Tables in sub elements (Load + edit + save) Change-Id: I16c453ab7cc808a940bde9e84f36380e288efb26 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2016-12-13Bug 509082 - [SysML 1.1] several tests are in failure "No nestedBenoit Maggi1-36/+3
connector end stereotype should be applied." - in case of reorientation remove previous NestedConnectorEnd that are not more required - remove old commented code Change-Id: I6250d4280684ff26e8a73eee0eb2aa77ccc9e7bc Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2016-12-13Bug 509085: [Table][Tests] Random failure in JUnit testsNicolas FAUVERGUE20-276/+69
https://bugs.eclipse.org/bugs/show_bug.cgi?id=509085 - The handler must not be called for the JUnit tests to avoid random failures Change-Id: I81f2cc79acf54474bc8b9eae0aaa0a99bb606639 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2016-12-09Bug 312027 - [Sequence Diagram] Creation of a message from or to aMathilde Arnaud1-59/+167
StateInvariant should be forbidden Change-Id: I67862844d921e77cfca49c9d4f8a9be9c01e2c62 Signed-off-by: Mathilde Arnaud <mathilde.arnaud@cea.fr> Also-by: sboyko <serg.boyko2011@gmail.com>
2016-12-07bug 497289: [Model Explorer] Renaming an element in the model explorerRemi Schnekenburger1-0/+3
should not open a modal editor https://bugs.eclipse.org/bugs/show_bug.cgi?id=497289 - ignoring failing tests, as the rename is done through direct editors. Change-Id: I7b3855fa424582b6041eb20f3523fbbab80f3402 Signed-off-by: Remi Schnekenburger <remi.schnekenburger@cea.fr>
2016-12-06Bug 508712 - [Internationalization][Tests] JUnit tests don't pass onNicolas FAUVERGUE4-20/+20
hudson https://bugs.eclipse.org/bugs/show_bug.cgi?id=508712 - Change the label provider to get (use the label provider in the model explorer. Change-Id: I5d8467b3883b24c59a9a539d0a928590331b2fdb Signed-off-by: Nicolas FAUVERGUE <nicolasfauvergue@gmail.com>
2016-12-03Bug 508629: [Label Provider Service] Label providers do not notifyChristian W. Damus23-24/+808
Fix gaps in the propagation of label updates from EMF item provider adapters through label-providers that delegate to them and the label-provider service that delegates to those, in turn. Add JUnit tests covering various affected label providers, including a new tests plug-in for the Properties UI in the Infra layer. https://bugs.eclipse.org/bugs/show_bug.cgi?id=508629 (🍒-picked from streams/2.0-maintenance) Change-Id: I2e0301db72064fe6899c4d92252d93d9051943f0
2016-12-01Bug 496905: [Diagram][ModelExplorer][Table][Dialog] Papyrus mustNicolas FAUVERGUE3-3/+6
integrate the internationalization feature provided by UML. https://bugs.eclipse.org/bugs/show_bug.cgi?id=496905 Fix the JUnit tests failed. Change-Id: Idd1507dadc0246c6ce325adde117031c3400bde2 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-12-01Bug 496905: [Diagram][ModelExplorer][Table][Dialog] Papyrus mustNicolas FAUVERGUE3-4/+7
integrate the internationalization feature provided by UML. https://bugs.eclipse.org/bugs/show_bug.cgi?id=496905 Fix JUnit tests problem with master rebase. Change-Id: I9406b6c002c07b01514fa03f43594f6eb05cb411 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-11-29[Releng] Update Papyrus setup for new CBI Aggregator.Christian W. Damus1-1/+1
Also fix a few plugins' metadata for Java compliance level etc. Change-Id: Ifea4a6c4af8c7e2fe08be4c8d1729740c5162045
2016-11-29Bug 508404: [Copy/Paste] Copy and paste does not use registered EFactoryChristian W. Damus10-84/+481
Update the ICopierFactory API to require a resource set context and get the registered factory from it when available. https://bugs.eclipse.org/bugs/show_bug.cgi?id=508404 Change-Id: Iccca171716df658f310b2a8c7b7a319f991b2002
2016-11-29Bug 496905: [Diagram][ModelExplorer][Table][Dialog] Papyrus must integrateNicolas FAUVERGUE70-90/+2257
the internationalization feature provided by UML. https://bugs.eclipse.org/bugs/show_bug.cgi?id=496905 JUnit tests for internationalization: infra + UML. Change-Id: I68393120387178e9f3f1017ed20858bc2ad48c2b Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-11-29Bug 496905: [Diagram][ModelExplorer][Table][Dialog] Papyrus must integrateNicolas FAUVERGUE2-338/+341
the internationalization feature provided by UML. https://bugs.eclipse.org/bugs/show_bug.cgi?id=496905 Commit of UML for internationalization. Change-Id: Ia61e5ef4d537f9e9b192bcfe073f921542fe4876 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-11-24Bug 506989 - [Toolsmith] remove the initial customization plugins fromFrancois Le Fevre - CEA17-258/+272
the initial Papyrus sdk and create a basic toolsmiths environment - removing the customization plugins from the continous integration - removing custo tests from core tests - integrating the tests as a maven module - keeping the customization one in extra / cdo - adding a dedicated feature and releng configuration matching the actual configuration of Papyrus - configuration of eclipse/portable profile in function of hudson variable definition - changing test class name to maven tycho surefire convention. Change-Id: If85044f9aee0c16afbbd8dfc6fec1b3c5d8fdef3 Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
2016-11-23Bug 507860 - [Model Import] Update the model import to add port labelAsma Smaoui2-0/+89
into composite structure diagrams * modify the Qvto transfo to generate a decorationNode for Port_Shape * add junit test to test that for each port shape we have a name label decoration node Change-Id: I544510e0ce1225aa4f1b21e6c56ee134ddb3bbfd Signed-off-by: Asma Smaoui <asma.smaoui@cea.fr>
2016-11-17Bug 507633 - [Property] add/improve JUnit tests provided by ↵selouadi1-315/+336
org.eclipse.papyrus.customization.properties.tests plugin Add more precisions for check the resource contents Change-Id: I3cd7f47bfeaa1781c22fe6418481c7d658f29e25 Signed-off-by: selouadi <elouadi.slimane@yahoo.fr>
2016-11-17Bug 507618: CreateEditBasedElementCommand does not use the factory ↵Christian W. Damus4-5/+133
registered in the resource set Use the factory registered in the resource set to create UML elements. https://bugs.eclipse.org/bugs/show_bug.cgi?id=507618 Change-Id: If7a137b79ecd28379e8de23d29b989b08f2ec3ee

Back to the top