Skip to content

Commit a1926e1

Browse files
gcoutableAxelRICHARD
authored andcommitted
[2111] Improve stakeholder creation tool
Bug: #2111 Signed-off-by: Guillaume Coutable <guillaume.coutable@obeo.fr>
1 parent 8b359a1 commit a1926e1

6 files changed

Lines changed: 141 additions & 45 deletions

File tree

CHANGELOG.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ On `Requirement` or `Concern` (either definition or usage) graphical nodes it is
4343
Stakeholders are by default represented with a dedicated graphical node connected to the parent graphical node, or can appear inside the `stakeholders` list compartment.
4444
- [releng] Fix the license and URL of our maven modules in the SBOM
4545
- https://github.com/eclipse-syson/syson/issues/2108[#2108] [diagrams] Leverage the latest change of the selection dialog to allow creating an `Actor` graphical node without specialization.
46+
- https://github.com/eclipse-syson/syson/issues/2111[#2111] [diagrams] Leverage the latest change of the selection dialog to allow creating a `Stakeholder` graphical node without specialization.
4647

4748
=== New features
4849

backend/application/syson-application/src/test/java/org/eclipse/syson/application/controllers/diagrams/general/view/GVSubNodeAnalysisCreationTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ private void createActorWithSubsettingInCaseUsage(EClass caseUsageSubclass, Stri
710710
assertThat(referencedObject).isInstanceOf(List.class)
711711
.asInstanceOf(type(List.class))
712712
.satisfies(actors -> {
713-
assertThat(actors).size().isEqualTo(1);
713+
assertThat((List<?>) actors).size().isEqualTo(1);
714714
assertThat(actors.getFirst())
715715
.isInstanceOf(PartUsage.class)
716716
.asInstanceOf(type(PartUsage.class))
@@ -763,7 +763,7 @@ private void createActorWithFeatureTypingInCaseUsage(EClass caseUsageSubclass, S
763763
assertThat(referencedObject).isInstanceOf(List.class)
764764
.asInstanceOf(type(List.class))
765765
.satisfies(actors -> {
766-
assertThat(actors).size().isEqualTo(1);
766+
assertThat((List<?>) actors).size().isEqualTo(1);
767767
assertThat(actors.getFirst())
768768
.isInstanceOf(PartUsage.class)
769769
.asInstanceOf(type(PartUsage.class))
@@ -815,7 +815,7 @@ private void createActorWithoutSpecializationInCaseUsage(EClass caseUsageSubclas
815815
assertThat(referencedObject).isInstanceOf(List.class)
816816
.asInstanceOf(type(List.class))
817817
.satisfies(actors -> {
818-
assertThat(actors).size().isEqualTo(1);
818+
assertThat((List<?>) actors).size().isEqualTo(1);
819819
assertThat(actors.getFirst())
820820
.isInstanceOf(PartUsage.class)
821821
.asInstanceOf(type(PartUsage.class))

0 commit comments

Comments
 (0)