Community
Participate
Working Groups
The test EditorReloadTest.testEditPartSelectionRestored is failed. Please see the following stacktrace: java.lang.AssertionError: Expected: edit-part is selected but: was <CustomOpaqueActionEditPart( org.eclipse.papyrus.infra.gmfdiag.css.CSSShapeImpl@44b54e21 (visible: true, type: OpaqueAction_Shape, mutable: false) (fontColor: 0, fontName: Tahoma, fontHeight: 9, bold: false, italic: false, underline: false, strikeThrough: false, description: , fillColor: 16777215, transparency: -1, gradient: null, lineColor: 11579568, lineWidth: -1, roundedBendpointsRadius: 0) )> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) at org.eclipse.papyrus.editor.integration.tests.tests.EditorReloadTest.testEditPartSelectionRestored(EditorReloadTest.java:206)
The debug leads us to the method DiagramMatchers.EditPartSelected->isSelected(EditPart), which shows that viewer.getSelectedEditParts().contains(editPart) is false. There is no clue why the default behavior is not preserved anymore.
After some more investigation, this test is failed due to the patch of bug 519107 https://git.eclipse.org/r/#/c/101449/
New Gerrit change created: https://git.eclipse.org/r/103699
Gerrit change https://git.eclipse.org/r/103699 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=ec4f46fe7a166e5bb0ef71b80210aa61e499bca0
New Gerrit change created: https://git.eclipse.org/r/104238
Gerrit change https://git.eclipse.org/r/104238 was merged to [streams/3.0-maintenance]. Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=6e49019e94036a776c9db4865862c732361ab579
New Gerrit change created: https://git.eclipse.org/r/104239
Gerrit change https://git.eclipse.org/r/104239 was merged to [streams/2.0-maintenance]. Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=57af836c6627bfaeec2336096b0abb22ba72547b
Fixed with gerrit commits (master, 3.0-maintenance, 2.0-maintenance)