Skip to content

Commit f8cfa22

Browse files
committed
ST6RI-866 Updated library models for Xpect tests.
1 parent a4a1ad7 commit f8cfa22

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

org.omg.kerml.xpect.tests/library/Occurrences.kerml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,8 @@ standard library package Occurrences {
601601
* Occurrences that have inner spaces that completely include this occurrence.
602602
*/
603603

604-
feature surroundedSpace: Occurrence[1] subsets that;
605-
end [1] feature surroundingSpace: Occurrence subsets self;
604+
feature surroundedSpace: Occurrence [1] subsets that;
605+
feature surroundingSpace: Occurrence [1] subsets self;
606606

607607
connector :InsideOf
608608
from [0..1] smallerOccurrence references surroundedSpace

org.omg.sysml.xpect.tests/library.domain/Analysis/TradeStudies.sysml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ standard library package TradeStudies {
9595
* For a MinimizeObjective, the best value is the minimum one.
9696
*/
9797

98-
in x; fn(x)
98+
in x; eval(x)
9999
};
100100
}
101101

@@ -117,7 +117,7 @@ standard library package TradeStudies {
117117
* For a MinimizeObjective, the best value is the maximum one.
118118
*/
119119

120-
in x; fn(x)
120+
in x; eval(x)
121121
};
122122
}
123123

org.omg.sysml.xpect.tests/library.kernel/Occurrences.kerml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,8 @@ standard library package Occurrences {
601601
* Occurrences that have inner spaces that completely include this occurrence.
602602
*/
603603

604-
feature surroundedSpace: Occurrence[1] subsets that;
605-
end [1] feature surroundingSpace: Occurrence subsets self;
604+
feature surroundedSpace: Occurrence [1] subsets that;
605+
feature surroundingSpace: Occurrence [1] subsets self;
606606

607607
connector :InsideOf
608608
from [0..1] smallerOccurrence references surroundedSpace

org.omg.sysml.xpect.tests/library.systems/Actions.sysml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ standard library package Actions {
6060
* The subperformances of this Action that are Actions.
6161
*/
6262

63-
ref occurrence :>> this = (that as Action).this {
63+
ref occurrence :>> Action::this, actions::this, subperformances::this = (that as Action).this {
6464
doc
6565
/*
6666
* The "this" reference of a subaction is always the same as that of
@@ -330,7 +330,7 @@ standard library package Actions {
330330
*/
331331

332332
in transitionLinkSource : Action :>> TransitionPerformance::transitionLinkSource;
333-
ref acceptedMessage : MessageAction :>> trigger;
333+
ref acceptedMessage : MessageTransfer, MessageAction :>> trigger;
334334

335335
ref receiver :>> triggerTarget;
336336

0 commit comments

Comments
 (0)