Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2019-11-15Bug 552697: [Tests][API] Xtext Tests classes must be distributed as APIVincent Lorenzo19-119/+134
Change-Id: I313800531f2f8997572605244fb663e5cfc62912 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2019-11-07Bug 552410 - [Copy/Paste] If a stereotype has composite association thePauline DEVILLE8-0/+888
copy paste of stereotyped element does not works correctly Change-Id: I08ee7083457527bd9028a64aab3b1bb0fb8520a1 Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2019-11-06Bug 550656 - [Releng] Update target platformQuentin Le Menez1-16/+17
- Patch a test class to avoid compilation error Java JUnit: The method X is ambiguous for type Y Change-Id: Iccbcd93c031b2167e797131e938b21c8581413ab
2019-10-11Bug 551742 - [Tests] Tests build is failingPauline DEVILLE1-3/+6
Mark org.eclipse.papyrus.uml.diagram.common.canonical.tests.CanonicalRegressionTest.visualizePropertyThatIsAssociationEnd_bug478558() as failing test Change-Id: Iae3b31255df05cdf3f5d4d2e29674cf75762b9cb Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2019-10-07Bug 551558 - [Table] Test build is failing since the TableReconciler isPauline DEVILLE12-522/+566
incorrect * Fix table reconciler * Update nattable model tests to be build with the architecture framework Change-Id: I3e25fd720d0a34e0ba1c7e3f7acabdb1bccbecd5 Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2019-09-18Bug 550569: [AF] Double-click on diagrams and tables icons of disabledNicolas FAUVERGUE1-2/+2
viewpoint should open a dialog to enable viewpoint - When a diagram/table is needed to be open but his viewpoint is not enable, a dialog is opened to select the viewpoint Change-Id: I052209b91b0e85742af60177e6c733c96c8730c9 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-09-18Bug 550568: [AF] The diagrams and tables icons of disabled viewpointNicolas FAUVERGUE6-1/+216
should be grayed - Add grayed icon into the architecture framework - Create the grayed icons for diagrams and tables - Manage the view prototype display in: - Model Explorer - Welcome page - Table of views - Properties views Change-Id: I3301e9d17cb12c5ca59f2175b5cb0b86e6733917 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-09-17Bug 550567: [AF] Diagrams and tables should be visible even if itsNicolas FAUVERGUE6-1/+190
viewpoint is not enable Remove the filter corresponding of viewpoint check. Change-Id: Id6dedc263075fc113747d9938ec75f1cfdb2789e Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-09-17Bug 550535: [AF] When switch viewpoints, the editors not managed byNicolas FAUVERGUE17-4/+466
current viewpoints must be closed Add a command to manage the close of needed editors when switch viewpoints. Change-Id: I1562d03bc0400a835e5d8d4495d658e8ec78d611 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-08-22Bug 550321: [Tests] Some tests are failing because ofNicolas FAUVERGUE6-68/+152
ProxyModificationTrackingAdapter Some tests are failing due to modification without command -> Manage it as commands For the PageManager, we need to open/close the pages without using command Change-Id: Iec25913a8ef372b18f6d74955b2d3cff8164203b Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-08-21Bug 549878: [Tests] Create tests for observable values and listsNicolas FAUVERGUE2-2/+4
- Add the model folders to build.properties Change-Id: Ic0cc4392baa1b9d54ccef55210387a5b8c1a24b9 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-08-20Bug 549108: [Tests] PapyrusEditorFixture must support more file extension ↵Vincent Lorenzo4-21/+103
that only uml, notation and di... Change-Id: I9dd99c8db8bebbb54fa5dc16e3a00b440dcea538 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2019-08-20Bug 549878: [Tests] Create tests for observable values and listsNicolas FAUVERGUE140-9/+6148
Tests the observable values. Change-Id: I45bf31ef0cb0e0f6f5bf88073c98e2b746e78966 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-08-07Bug 549266 - [Releng] Update the platforms4.5.0_M2Quentin Le Menez49-105/+105
- Update to new M2 references - Update to 27.1.0 guava - Update versions to reflect the bree change Change-Id: I2896aaba6a887f30cef2c6f0c4e23ae3c0f548d0 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2019-08-06Bug 549266 - [Releng] Guava 27.1 compatibility patchQuentin Le Menez1-1/+8
- Add guava Futures compilation corrections (addCallback, transform, transformAsync) Change-Id: I236e3ba5cf9f4068168f5203688e99ac00fde4e8 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2019-06-26Benchmarks plug-in to test performances of classes creationNicolas FAUVERGUE15-0/+1021
Change-Id: I2c489ab9361f47f1142ab75901acae597562451b Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-06-21Bug 548237: [Expression] Papyrus must provide new expressions check single ↵Vincent Lorenzo8-72/+628
valued EAttribute and Stereotype Properties values (equality tests) - add SingleStereotypeAttributeEqualityExpression element in UML Expression - add JUnit tests for the new expressions - contribute to EMF Property View - declare editor for this property view - connect the string editor for stereotype qualified name to the UML Expression Papyrus property view Change-Id: I4ed865b6f23f4e06a46b4fd15d5c31fb306350d7 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2019-06-18Bug 548237: [Expression] Papyrus must provide new expressions check single ↵Vincent Lorenzo2-4/+175
valued EAttribute and Stereotype Properties values (equality tests) - provide the expression SingleEAttributeValueEqualityExpression - provide the property View for it - regenerate property view and remove useless custom datacontexts - increase model and edit plugins from 1.0.0 to 1.1.0 (due to added classes). - increase editor and properties plugin from 1.0.0 to 1.0.100 (just to indicate a regeneration and some changes which don't break API) - create a EMF property view for EMF Expressions framework - create new plugin org.eclipse.papyrus.emf.ui to group common code for EMF UI Change-Id: I4a35a3f57009f0a8c27f78c83e4f9431e0394ec1 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2019-06-18Remove the Drop of the Port in Activity because the DropStrategy blockNicolas FAUVERGUE1-1/+2
the execution. Change-Id: Ie3f56bb0e769531c2d2173fcbaa9a548e270d6e2 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-06-17Bug 547864 - [SequenceDiagram] Undo/Redo problem with CombinedFragmentNicolas FAUVERGUE1-118/+3
Failing tests : - Some tests are failing due to incorrect tests (validation tests are no more needed because the covering is automatically recalculated) - Other tests are failing due to undo/redo problem of CombinedFragment creation. The undo creation when something is contained into the created CombinedFragment crash with exception (The undo of creation is no more possible because the elements positions changed). In this patch: I manage undo/redo of creation differently (manually) to move needed contained elements before to remove CombinedFragment. In this case, i have to cut the undo/redo of the SemanticCreationCommand. With this patch, all JUnit tests of sequence diagram works fine. Change-Id: Ib1ed2df10404763ca79e5a2c5c62bf4c52600657 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-06-12Bug 545631 - [Releng] Update the targets for 2019-06 RC24.4.0_RC2Quentin Le Menez24-49/+49
- Add a strong dependency to guava 21 to avoid compiling against 27.1.0 in orbit - Rewire xwt dependency to the new milestone Change-Id: I54f2f76414b34acd186c2adfe6ce529b44f5c231 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2019-04-23Bug 546510: [Tests] SashEditor tests should be resolved and passNicolas FAUVERGUE1-54/+85
Modify the path call of editor input to avoid exceptions of non existing file. Change-Id: I81fe17222186048c047344d4796f2033528ef509 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-04-19Bug 546406: [Toolsmiths][Validation] Plug-ins to validate element typesNicolas FAUVERGUE25-0/+1045
plug-in must be implemented - Create tests for Element types plug-in validation (actually 73% code coverage on oep.toolsmiths.validation.elementtypes (handlers and testers not tested) and 69% on oep.toolsmiths.validation.common (Exceptions not tested)). Change-Id: Icbde876b3dc3b0988d4e93db2a1ab88e6b5ec7b2 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-04-19Bug 546239: [Toolsmiths][Validation] Plug-ins to validate profileNicolas FAUVERGUE30-8/+1629
plug-in must be implemented - Create tests for Profile plug-in validation (actually 73% code coverage on oep.toolsmiths.validation.profile (handlers and testers not tested) and 69% on oep.toolsmiths.validation.common (all utils methods not all tested)) Change-Id: I65902fafdf6599684eb4b0344fa34503326377e4 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-02-19Bug 542929 - [Releng] [CDO] Rewire the way tests are compiled in order to ↵Quentin Le Menez15-68/+89
allow multiple tests configurations - Update modified pom.xml files headers - Delete .project files in root and releng Change-Id: I6c76f0adb7a7c18baa4d45d78af62db4dfa69a5d Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2019-02-08Revert "Bug 447665: [Profiles] Removing profiles definitions causing a profile"Vincent Lorenzo1-6/+6
This patch revert the code changes, but keeps the declared new plugin version, by facility, to avoid possible inconsistent versioning of plugins. This reverts commit 5e61a5490724d2ddf52caf45af21744482e8ada8. Change-Id: Iea4cb8d266e877130066f0c98fa730eb25bc625a
2019-01-27Bug 541686 - Multiple clients and suppliers in edges after copy-pasteVincent Lorenzo1-3/+5
- register the new tests in AllTests.class of the plugin Change-Id: I4e3535b62f8ee69b87728a5edc1331a2d39eb75d Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2019-01-27Bug 541686 - Multiple clients and suppliers in edges after copy-pasteAnsgar Radermacher6-9/+186
- Remove copy-references from DiagramPasteStrategy (duplicate, since already in defaultPasteStrategy) - Fix typo in DefaultPasteCommand - Add new test UMLCopyTestME. Similar to existing copy test, but based on copier command in model explorer (including additional strategies and not only the copier itself) Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: Ia786713a069fb69fd24e520466e4021cc6ea0c20
2019-01-21Bug 543494 - InternationalizationUMLItemProviderAdapterFactory fails toNicolas FAUVERGUE2-9/+80
find existing adapters To avoid possible performance issues, we implement an internationalization condition in the adapt method. + Test for the fix NB: An error with the MANIFEST version was detected, but i cannot do something nowadays. I enter a bug for the next release. Change-Id: I1044139e40b0b45d57c18be4821a6486df7e9aec Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-01-18Bug 447665: [Profiles] Removing profiles definitions causing a profileNicolas FAUVERGUE1-6/+6
definition https://bugs.eclipse.org/bugs/show_bug.cgi?id=447665 - Disconnect save listner on Profile Diagram - Make functionnal Profile Definition view Change-Id: Ibcf8cc9ddd90a5e31ca287db1b3788221981d145 Signed-off-by: Gabriel Pascual <gabriel.pascual@all4tec.net>
2018-11-30Bug 539926: [CDO] Papyrus standart version must execute its tests with the ↵Vincent Lorenzo3-1/+100
CDO'ified version of metamodel too - create a test suite to be ablme to run the cdo compatibility test on jenkins Change-Id: I3c8abc04e5190e9ce97b2096a110aa7ff42084c7 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-29Bug 539926: [CDO] Papyrus standart version must execute its tests with the ↵Vincent Lorenzo11-0/+209
CDO'ified version of metamodel too Change-Id: I6e9c894ceb2b5e17600db2b42bd59fe123ec91a7 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-29Bug 541590: [Modeling Assistant] Remove the generation of the cache adapter ↵Vincent Lorenzo2-35/+27
method in the Modeling assistant framework Change-Id: Iff17567a39b60c91cea97b82ae61c9bd8e51abe9 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-27Bug 541313: [UML][CDO] UML calls to the method getCacheAdapter(EObject) must ↵Vincent Lorenzo1-4/+4
be replaced https://bugs.eclipse.org/bugs/show_bug.cgi?id=541313 Change-Id: I590e72c871f86af1f26878aacb1884c982cdb9a4 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-27Bug 540879: [Properties] Clean code of Observable and neighbours classesVincent Lorenzo1-33/+37
- oep.infra.emf.appearance plugin now use java 1.8 - fix some pom.xml files - add some non-nls marker - remove some possible NPE Change-Id: I68ad6b1384871438979c101dcc85b3f79994f9fd Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-23Bug 541044: [Tests] The testNicolas FAUVERGUE3-340/+174
'PageManagerTests.testContainedDiagramDeletion' is in failure Re-create the diagram for the deletion of the diagrams because the version of this model was out-dated. Change-Id: I4571cd46118e3dc9359d1a9ea2e5606344e43b2c Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-11-23Bug 539022 - [Releng] CleanupsQuentin Le Menez1-16/+0
- Add missing settings folders and files - removed old pom.xml Change-Id: Id8810caacfbb4cb85ea04bcf46be34b3c7576ce8 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-11-19Bug 533667: the nameNicolas FAUVERGUE6-10/+10
/plugins/infra/gmfdiag/org.eclipse.papyrus.extensionpoints.editors do not respect the layer Keep the old plugin "org.eclipse.papyrus.extensionpoints.editors" and create the new one "org.eclipse.papyrusinfra.gmfdiag.extensionpoints.editors". The old classes inherit from the new ones. Change-Id: I98230776a03ab0c8a1f37e06790d50ad6af0077d Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-11-19Bug 537653 - [EPL] Fix trailing references to EPL 1.0Quentin Le Menez8-16/+32
Change-Id: Ibc9cee5fa831cc70d7b16d89ef507dea37b96a27 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-11-12Bug 517731 - [Table] Remove Operation requiring parameters from the ↵Vincent Lorenzo3-20/+22
Create/Destroy Columns - fix a failing JUnit tests Change-Id: Ic91433d4c3f4f583e25ff2b3537968d511849688 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-09[tests][org.eclipse.papyrus.uml.diagram.sequence.functional.tests]Boutheina Bannour1-0/+91
new test case "TestCase_createCombinedFragment" creates of a CombinedFragment in an Interaction with empty fragments list checks that: 1) fragments list of the Interaction contains exactly one element 2) the only Interaction fragment is a CombinedFragment 3) the CombinedFragment has at least one operand Change-Id: I4f193b571e2e37406b5d605842df6c853c89e0aa Signed-off-by: Boutheina Bannour <boutheina.bannour@gmail.com>
2018-11-01Bug 535696: Test resources in JARChristian W. Damus1-1/+2
Ensure that the test model resources are included in the JAR in the build. Change-Id: Ia438dd4a20d1cd63efb540cfd18dde8a41fea7c5 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-10-31[Releng] Fix bundle version for API versioningChristian W. Damus3-4/+4
API version does not require a minor version update because although new APIs are published, they are all only internal. Change-Id: I157688fa5c6e5aa02b7df4af97c916acece68b80 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-10-31Bug 535696: [UsecaseDiagram] Strategy does not work when move use case in ↵Christian W. Damus10-16/+274
subject Ensure that the drop strategy for use cases in subjects does not duplicate the view when moving an existing use case within the subject or when moving an existing use case from outside of the subject into the subject. This also covers the case of dropping a use case from the model explorer into a subject that is already presenting that use case within it, but in that case the drop strategy is just skipped and does not participate further in the drop gesture. Signed-off-by: Christian W. Damus <give.a.damus@gmail.com> Change-Id: Ic0f643b1da9aacbbba03a2f2673c93753aceb3c6 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-10-19Bug 536486 - [Sequence Diagram] Duration/time constraint & Duration/timeNicolas FAUVERGUE26-281/+3296
observation and general ordering https://bugs.eclipse.org/bugs/show_bug.cgi?id=536486 - Manage Duration/Time constraint, Duration/Time observation and GeneralOrdering Change-Id: Ice6a31e9b4bb1e757378494a62a2714d775f47dd Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-10-16Bug 539022 - [Releng] Format and complete some pom.xmlVincent Lorenzo18-285/+322
Change-Id: I68e20234bf94ad7e207f65807cb520c1cabb9b5b Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-09-24Bug 539293: [XText] Validation rules written by the developper are ignored ↵Vincent Lorenzo5-9/+79
during the final setValue process. + upgrade to java 1.8 Change-Id: Ic4fbb3f2b47e63c022df39b084f4ce9652f142e2 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-09-20Bug 472342: [Stereotype Display] Provide JUnit Tests for LinkCéline Janssens5-82/+217
https://bugs.eclipse.org/bugs/show_bug.cgi?id=472342 - Test Apply and unapply stereotype for Link Change-Id: If807a09fac08c008b34a0d4dc48a55a16ffb8918 Signed-off-by: Céline Janssens <Celine.Janssens@all4tec.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-09-14Bug 536378: [RCPTT] Sequence diagram functional test regressionsChristian W. Damus25-846/+638
- remove test cases from the "suites" folder that were redundant with identically-named test cases in the "tests" folder - us CSS to select Roboto 11pt font in all tests for consistent (in some degree) geometry across platforms - define ECL procedures to express assertions of the geometry of shapes in the diagram more concisely and with tolerances for platform variability (and perhaps other sources of variability) - update test assertions to reflect current layout results on Mac platform with the intention that tolerances account for deviation in Linux build environment - update stylesheet for labels Note that some of the layout results as asserted now in the tests may be functionally incorrect and so not flagged as such by tests that should be failing. These will have to be reviewed once the noise of test failures for reasons of invalid test construction (e.g. asserting fractional anchors to 10 decimal places!) have been successfully cleaned up and stabilized. Change-Id: I0c757d3bd65ca30205a3cb1575dc61f81331a3b5 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2018-08-29Bug 538358: [Tests] Some tests are failingNicolas FAUVERGUE10-494/+519
Manage failing tests due to tests problems. Change-Id: Ie6c7ab0bb0a7641426848d7f25420ad2e63390eb Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>

Back to the top