Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2015-12-08Bug 483827: [Model Import] Move the Papyrus-RT specific part of theCamille Letavernier2-32/+1
ModelImport to the Papyrus-RT project https://bugs.eclipse.org/bugs/show_bug.cgi?id=483827 - Remove a remaining Papyrus-RT dependency Change-Id: I2e191a6570b3050387b2b138158d34abfdc71d62 Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-12-07Bug 483827: [Model Import] Move the Papyrus-RT specific part of theCamille Letavernier5-1932/+0
ModelImport to the Papyrus-RT project https://bugs.eclipse.org/bugs/show_bug.cgi?id=483827 - Remove all Papyrus-RT references/dependencies - Add an extension point to let external tools extend the Import Transformation (Internal API with PapyrusRT being the only client) Change-Id: I2e191a6570b3050387b2b138158d34abfdc71d62 Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-12-07Bug 476618: [Table] Improve the re-import mechanism in an existing tableNicolas FAUVERGUE13-29/+194
https://bugs.eclipse.org/bugs/show_bug.cgi?id=476618 - Select the added rows for the old paste - Use the old paste when the rows header are pasted - Add the possibility of repeat the single row pasted when columns are selected (+ JUnit tests). - Change the insert icon. Change-Id: I4ed74b29fade6e1f6fc740f8b3322453f3f7be81 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2015-12-05Bug 483721: [Tests] Memory leak test failuresChristian W. Damus3-27/+61
https://bugs.eclipse.org/bugs/show_bug.cgi?id=483721 Ensure that the tests run in the Papyrus perspective. Also, for good measure, avoid using the UML label provider to create failure messages for model elements because that accesses stereotypes, which puts those elements in the CacheAdapter even after they have been unloaded.
2015-12-04bug 481507: [Table] Validation Marker must be displayed in the rows (or ↵Vincent Lorenzo7-3/+602
columns) header https://bugs.eclipse.org/bugs/show_bug.cgi?id=481507 Change-Id: I72757cbff61410f8a600874c1763dc5ae58ac9d7 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2015-12-04Bug 477384: [Canonical] Should not use drop requests to create viewsChristian W. Damus7-5/+25
https://bugs.eclipse.org/bugs/show_bug.cgi?id=477384 Changes to core APIs to remove PapyrusCanonicalEditPolicy's dependence on the generated diagram drag-and-drop behavior: * extract the CommonDiagramDragDropEditPolicy's abstract API for information about diagram-specific view types into a new service * update the canonical edit-policy and diagram-to-diagram synchronization infrastructure to use the new VisualTypeService to obtain information about the diagram's specific view types to then let the view service create views without resorting to drop commands * update extensions of various canonical strategies in the UML diagrams to adapt to the new drop-free synchronization mechanism Update the Papyrus Diagram GMFGen extensions and code generation templates to add generation of the IVisualTypeProvider that plugs into the new VisualTypeService to support canonical synchronization and drag-and-drop. Includes regeneration of the GMFGen extension model using EMF's most recent templates, which result in minor changes to most model source files. Regenerate all UML diagrams to create and register the visual type provider extensions. Also update the BREE for diagrams to 1.8 because at least one of them requires Java 8 to compile properly. * Note that the interaction overview diagram uses a code generator that is not published on Eclipse.org, so I had to emulate the code generation step for this one * Note also that the SysML 1.1 diagrams likewise cannot be re-generated but, moreover, they do not implement the common pattern for Visual ID Registry, so they are also updated "by hand" for parity with the Mars implementation of drag-and-drop (which had gaps) Deprecate the ICreationTargetStrategy extension API which was only needed to redirect drag-and-drop requests, but these are no longer employed in the canonical synchronization. Also some fixes for region layout problems in the State Machine Diagram: * update custom creation edit policies to re-use the commands used by drag-and-drop and untargeted creation that perform initial placement of new regions * fix the GMFGen to register the custom creation edit policy for the state machine compartment Change-Id: I3afc68d6f0f1bfe05e336c9138a7f1acbc8f643b
2015-12-04Bug 476873: [Class diagram] Moving a generalization shall update theFanch BONNABESSE6-39/+497
corresponding figure(s) https://bugs.eclipse.org/bugs/show_bug.cgi?id=476873 Adding Tests: - Moving a Generalization: Class1 to Class3 --> deleting references to the diagram. - Moving two Generalizations: Class1 to Class3 --> deleting references to the diagram Change-Id: Id98f2bf07b5799a8fddcb70737f9f2709cd7b088 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2015-12-04Bug 476872: [Class diagram] Moving an enum literal shall update theFanch BONNABESSE5-1/+348
corresponding figure(s) https://bugs.eclipse.org/bugs/show_bug.cgi?id=476872 Adding Tests: - Moving a literal: Enumeration1 to Enumeration2 --> deleting references to the diagram. - Moving two literals: Enumeration1 to Enumeration2 --> deleting references to the diagram Change-Id: I095e71a4cb6fac306c7790d3b9f838b7fd58f001 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2015-12-03Bug 434983: [SashEditor] Provide a mechanism to move the editor layout model ↵Christian W. Damus2-3/+20
to either the *.di (Legacy) or hidden *.sash resource (1.0) https://bugs.eclipse.org/bugs/show_bug.cgi?id=434983 Instrument the CDO UI test framework for editors to prevent the sash-layout storage migration dialog popping up and hanging the tests.
2015-12-02Bug 434983: [SashEditor] Provide a mechanism to move the editor layout model ↵Christian W. Damus5-33/+84
to either the *.di (Legacy) or hidden *.sash resource (1.0) https://bugs.eclipse.org/bugs/show_bug.cgi?id=434983 Implement new actions in the editor's drop-down tool menu for selection of the the sash-editor page layout storage mode (private or shared). Also prompt on first opening of a legacy-mode (shared layout) model to make it private, as determined by the non-existence of a private *.sash resource, with a corresponding preference page. Rather than introduce a new service for the purpose, add the handling of first-open of a model in the SaveBeforeCloseService, which already has an editor lifecycle listener for managing persistence of the page layout, and this is another aspect of that persistence management function. Don't rename it as SashModelPersistenceService because it is public API. Change-Id: I64ec33c6471a16d711426644dba84981e85b2cba
2015-11-30Bug 481296 - [C++ codegen] Initialization of static const member of aShuai Li1-1/+1
class - Add "const" in front of static const variable initialization in body file Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-11-26bug 482611: [Table] Papyrus must provide an API to manipulate the table - ↵Vincent Lorenzo19-1/+1035
provides the API Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2015-11-26Bug 462987 - [Composite Structure Diagram] Ports that are addedashatilov1-7/+0
graphically to composites are placed in the upper left hand corner - fix composite diagram - move drop affixed node logic to the common Change-Id: If2fdb1aad0ef1c091caca57de8bb17b4394df3a2 Signed-off-by: ashatilov <shatilov@montages.com>
2015-11-26Bug 481963 - [StateMachine diagram] Should be possible to drop hidedashatilov5-56/+197
constraint from model explorer Change-Id: Iefc75448384843f58806ccd788d275bb891c4da0 Signed-off-by: ashatilov <shatilov@montages.com>
2015-11-25Bug 481296 - [C++ codegen] Initialization of static const member of aShuai Li3-0/+14
class - Generate default value of static const variable in .cpp - Do not in .h - Update JUnit test for static const initialization test Change-Id: Ica243081ffeb9d0d2b32493b91282d7376f035ca Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-11-24Bug 482949: Problems with ResourceAdapter.TransactionalChristian W. Damus7-241/+575
https://bugs.eclipse.org/bugs/show_bug.cgi?id=482949 Fix ResourceAdapter.Transactional adding itself to the editing domain instead of removing itself on uninstall. Ensure JUnit coverage on par with the non-transactional variant.
2015-11-18Bug 450921 - Additional graphics no longer availableatischenko3-1/+89
- fix abstract sysml view provider - add test Change-Id: Ic0117dc53a821b0d147891d74a2fd0e54cd4d173 Signed-off-by: atischenko <tischenko@montages.com>
2015-11-18Bug 476618: [Table] Improve the re-import mechanism in an existing tableNicolas FAUVERGUE962-938/+30919
https://bugs.eclipse.org/bugs/show_bug.cgi?id=476618 Implementation of JUnit tests for the feature paste/insert/import in table. Change-Id: I79480d6b49ee6033a4cd8ac1e6d85337c094c3ac Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2015-11-18Bug 476618: [Table] Improve the re-import mechanism in an existing tableNicolas FAUVERGUE1-1/+1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=476618 Implementation of feature paste/insert/import in table. Change-Id: I86e4fae0c2c12c32e6ac5170dcf3e5362cd2ebeb Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2015-11-17Bug 481686 - [Moka] End migration by removing source from the main repoBenoit Maggi28-108560/+0
- remove all resources related to moka - new repository : https://git.eclipse.org/c/papyrus/org.eclipse.papyrus-moka.git/ Change-Id: Ie187cc32fadd83e33dc9b345a6f159765f28c46f Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2015-11-13Bug 462987 - [Composite Structure Diagram] Ports that are addedashatilov2-4/+85
graphically to composites are placed in the upper left hand corner - Fix of drags&drops an existing port from the model explorer for component diagram. - update PortLocation test: change a root Component location to (100,100) from (0,0) for reproducing the bug. - add SideAffixedNodesCreationEditPolicy for PropertyCN edit part - Mark failed tests for composite diagram (will be fixed in the next chain-gerrit) Change-Id: I4bb7cd55c9dbef7672a9b4e3cbbbfc2089bf53a9 Signed-off-by: ashatilov <shatilov@montages.com>
2015-11-12Bug 473378: [Table] Update used nattable versionNicolas FAUVERGUE8-778/+778
https://bugs.eclipse.org/bugs/show_bug.cgi?id=473378 Nattable From 1.2 to 1.3 Change-Id: Ia0ccc84fe440769fa2e92860868dd9fa76bfce93 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2015-11-12bug 481017: [Table] Action Reload Table Editor breaks the table editor - fix ↵Vincent Lorenzo5-1/+93
and small refactoring
2015-11-12Bug 478742 - [Sequence diagram] Interaction operand should be dottedashatilov2-30/+32
- fix by CSS contribution Change-Id: I5aed8e039ef26a42fd5d3655437a9586ba08f18c Signed-off-by: ashatilov <shatilov@montages.com>
2015-11-10Bug 481302: [Profile] when reapply profile you can lose informationChristian W. Damus15-9/+231
https://bugs.eclipse.org/bugs/show_bug.cgi?id=481302 Work around the missing "foreign definitions" reference from a dynamic profile definition to a static definition that it extends. In the Papyrus implementation of the stereotype-application copier, look up UML definitions of Ecore elements in the implicitly referenced "foreign definitions" when not found by the default UML implementation. This provides for compatibility with dynamic profiles already deployed that are missing this annotation (even if an eventual fix for bug 481712 adds them to profile definitions in the future). Includes regression tests for: * dynamic profile extending a dynamic profile (control case) * dynamic profile extending a static profile, using Papyrus algorithm * dynamic profile extending a static profile, using UML2 algorithm (annotated as a failing test)
2015-11-10478789: Papyrus Notation Model is used for non Papyrus EditorsCamille Letavernier9-3/+152
https://bugs.eclipse.org/bugs/show_bug.cgi?id=478789 - Do not compute NamedStyles if the CSS Support is not enabled on the current resource - Add test Change-Id: Icf761fe2ec6885c11b102516e7a819e3ec3d4b7b Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-11-09Bug 448065: [Tree Table] Tree table must support Paste from an externalNicolas FAUVERGUE307-2982/+5784
Spreadsheet https://bugs.eclipse.org/bugs/show_bug.cgi?id=448065 Manage the paste without the service edit + JUnit tests with attached mode (with service edit) and detached mode(without service edit) Change-Id: Ia9af247218c8ac3da8e03d8d1c7f048998ea0d65 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2015-11-06480969: [Properties View Generation] Generalizations between stereotypesCamille Letavernier2-64/+97
are not taken into account https://bugs.eclipse.org/bugs/show_bug.cgi?id=480969 Change-Id: Ia0c65145ad006974e7d9eca2218b29134cee7bf3 Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-10-30Bug 481151: ResourceAdapter does not detect changes to contents of ↵Christian W. Damus2-62/+77
pre-existing resources https://bugs.eclipse.org/bugs/show_bug.cgi?id=481151 Ensure that the ResourceAdapter is attached to all resources already in the resource set during the initial discovery phase.
2015-10-30Bug 481149: [ModelSet] Model snippets added after a model has loaded are ↵Christian W. Damus1-8/+56
never started https://bugs.eclipse.org/bugs/show_bug.cgi?id=481149 Ensure that model snippets are started as soon as they are added, if the model has already been loaded. Also fix the omission of snippet starting on creation (not loading) of a new model.
2015-10-30Bug 480486 - Fix sequence diagram testsashatilov1-1/+0
- TestDurationConstraint_402967#testLinkingExecutionOnSameLifeline() has been fixed within Ic4229e2de85cc7548368a8cf18ab7490f9e17381 contribution Change-Id: I7920eadc4c0b40c3063df71d44e69484503ece57 Signed-off-by: ashatilov <shatilov@montages.com>
2015-10-30Bug 477463 - [Sequence Diagram] MessageOccurrenceSpecification are noashatilov1-1/+2
more persisted - add 'resource' folder to the build Change-Id: Id1858b3ee7ed34a4ea257f6689f82ce93bebfbd8 Signed-off-by: ashatilov <shatilov@montages.com>
2015-10-30Bug 480486 - Fix sequence diagram testsashatilov1-13/+16
- fix TestDurationConstraint_402967#testDurationRotate() - setup preferred size of the DurationConstraint Change-Id: Ic4229e2de85cc7548368a8cf18ab7490f9e17381 Signed-off-by: ashatilov <shatilov@montages.com>
2015-10-28Bug 480812: [Tests] ClassificationSuite doesn't skip class rules in some casesChristian W. Damus1-2/+5
https://bugs.eclipse.org/bugs/show_bug.cgi?id=480812 Evade a bizarre NPE in the build environment.
2015-10-28480857: [Tests] Use ClassificationSuite instead of Suite to improve testCamille Letavernier113-266/+271
filtering & performances https://bugs.eclipse.org/bugs/show_bug.cgi?id=480857 Change-Id: I125b850e5c5d40773bbe79aa184fbaa398471cbe Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-10-28[Tests] Enable the ClassificationSuite on SysML TestsCamille Letavernier29-58/+58
Change-Id: I0000000000000000000000000000000000000000 Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-10-28[Tests] Enable the ClassificationRunner/ClassificationSuite on severalCamille Letavernier14-46/+58
test classes - Allows more flexible configuration of tests to be executed - Improves performances when entire test classes should be skipped Change-Id: I9c1eb75557cacbdcad1311006c2d05e38e707dcd Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-10-27Bug 480812: [Tests] ClassificationSuite doesn't skip class rules in some casesChristian W. Damus6-58/+222
https://bugs.eclipse.org/bugs/show_bug.cgi?id=480812 Enhance the ClassificationSuite to look ahead into the whole sub-tree to see whether any test at all will be included by the current configuration and, if not, to simply skip the entire sub-tree of execution. Change-Id: Ifa298edd3657f3cf6041813ad2f4efb7e96f9ca4
2015-10-27Bug 480486 - Fix sequence diagram testsashatilov1-42/+82
- fix TestExecutionSpecificationPosition_395462 #testOnChangeLifelineName() test Change-Id: Iddfa276b6be8b3ef0ec86136a75b290c1e2545ec Signed-off-by: ashatilov <shatilov@montages.com>
2015-10-21Bug 480209: [Control Mode] Referencing resources are not marked as modifiedChristian W. Damus11-55/+394
https://bugs.eclipse.org/bugs/show_bug.cgi?id=480209 Add JUnit regression test for the original problem report using the model attached to it. That test model uncovers additional problems, both in the production code and in the test framework, all fixed herein: * control participants create empty/broken *.di and *.notation resources corresponding to the controlled *.uml resource, where these adjuncts don't exist. This results in an unexecutable command that silently blocks the uncontrol. A second attempt succeeds, but the ModelSet is left with a broken empty (errored) resource for each * the UncontrolModeAssertion doesn't support uncontrolling of sub-units of controlled units; only first-level sub-units
2015-10-20Bug 480221: [Filters] NPE in the ProfileAppliedFilter when using URIsChristian W. Damus12-14/+390
https://bugs.eclipse.org/bugs/show_bug.cgi?id=480221 Update the ProfileApplied filter's match algorithm to avoid pointless loading of profiles that aren't the profiles matched by the filter. This is verified by a new regression test. This change also exposes errors in tests defined earlier: * the core ProfileApplied::match test changed the filter's URI to make the referenced profile unresolvable. However, the correct test is to make the mode's actual applied profile unresolvable but still match the URI expected by the filter * a test model in the Diagram Assistants tests had a ProfileApplied filter that was misspecified: it did not use the correct URI in referencing the expected profile Change-Id: If197a1023e9c9ce965f6f48759f76f878211b9cc
2015-10-20Bug 448065: [Tree Table] Tree table must support Paste from an externalNicolas FAUVERGUE143-368/+2088
Spreadsheet https://bugs.eclipse.org/bugs/show_bug.cgi?id=448065 - Manage the paste with single hierarchical column - Add the JUnit tests Change-Id: Ifc16dfd326903c5603ce2060c30be5f9ca994f10 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2015-10-16Bug 480000: [Deployment] Deployment diagram tests hang the buildChristian W. Damus4-61/+115
https://bugs.eclipse.org/bugs/show_bug.cgi?id=480000 Add API to the DropStrategyManager to suppress all pluggable drop strategies. Employ this in a new JUnit rule instantiated by the affected deployment diagram tests to suppress drop strategies and test only the core diagram (as generated) behaviour.
2015-10-16[Releng] Propagate standard settings to new bundles.Christian W. Damus6-0/+1064
2015-10-16Bug 474048 - [Sequence Diagram] Should be generated with latest versionashatilov1-2/+0
of generators - fix TestCreationUndo_384618#testMessageDelete test Change-Id: Ia8920332052d79c44c0c013c1adbefed4ddaf4b2 Signed-off-by: ashatilov <shatilov@montages.com>
2015-10-16Bug 474048 - [Sequence Diagram] Should be generated with latest versionashatilov1-1/+4
of generators - DestructionOccurrenceSpecificationEditPart is papyrus node figure - @FailingTest will be fixed in the next chain gerrit Change-Id: I35a515685969fb0cd1cb739095dc056f31afb151 Signed-off-by: ashatilov <shatilov@montages.com>
2015-10-14Restore missing dependenciesRemi Schnekenburger1-0/+5
2015-10-14(Tests improvment) Remi Schnekenburger1-14/+5
Fail instead of simple message in the console Change-Id: Ia86494ad4462ac804e54ad7c348b4e67a172d98f
2015-10-13Bug 478185 - [Class Diagram] Can't add template signature to someashatilov2-1/+139
classifiers - RedefinableTemplateSignature contribution - removeFixedChild methods regenerated from the actual gmfgen/templates Change-Id: I787c4f7ec8f0aecd2d55b3d8e6421a2adf019fce Signed-off-by: ashatilov <shatilov@montages.com>
2015-10-13Bug 478497 - cleanup: Deprecate and removeashatilov1-2/+0
RequestParameterConstants.EDGE_REORIENT_REQUEST_END_VIEW - avoid using this request parameter from association rerouting Change-Id: I3daabadee85dabe7a97143699dc8507467976e90 Signed-off-by: ashatilov <shatilov@montages.com>

Back to the top