File tree Expand file tree Collapse file tree
org.omg.sysml.xpect.tests/src/org/omg/sysml/xpect/tests/simpletests
sysml/src/examples/Simple Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,11 +77,22 @@ package ConnectionTest {
7777
7878 connection {
7979 part q;
80- end end1 ::> d1 :> q;
80+ end [2] ref end1 ::> d1 :> q;
8181 end end2 ::> d2;
8282 }
8383
8484 abstract flow def F;
8585
8686 message : F from p to p;
87+
88+ part def A {
89+ ref b : B;
90+ }
91+
92+ part def B;
93+
94+ connection def AB {
95+ end a : A;
96+ end b : B crosses a.b;
97+ }
8798}
Original file line number Diff line number Diff line change @@ -39,11 +39,22 @@ package ConnectionTest {
3939
4040 connection {
4141 part q;
42- end end1 ::> d1 :> q;
42+ end [2] ref end1 ::> d1 :> q;
4343 end end2 ::> d2;
4444 }
4545
4646 abstract flow def F;
4747
4848 message : F from p to p;
49+
50+ part def A {
51+ ref b : B;
52+ }
53+
54+ part def B;
55+
56+ connection def AB {
57+ end a : A;
58+ end b : B crosses a.b;
59+ }
4960}
You can’t perform that action at this time.
0 commit comments