You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.omg.sysml.xpect.tests/src/org/omg/sysml/xpect/tests/validation/invalid/OccurrenceUsage_invalid.sysml.xt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -37,13 +37,13 @@ END_SETUP
37
37
package pkg {
38
38
public import ScalarValues::*;
39
39
occurrence def A {
40
-
// XPECT errors --> "An occurrence must be typed by occurrence definitions." at "occurrence areal: Real;"
40
+
// XPECT errors --> "An occurrence, item or part must be typed by occurrence definitions." at "occurrence areal: Real;"
41
41
// XPECT warnings --> "Duplicate of inherited member name 'self' from DataValue, Occurrence" at "occurrence areal: Real;"
42
42
occurrence areal: Real;
43
-
// XPECT errors --> "An occurrence must be typed by occurrence definitions." at "occurrence avalue :> aValue;"
43
+
// XPECT errors --> "An occurrence, item or part must be typed by occurrence definitions." at "occurrence avalue :> aValue;"
44
44
// XPECT warnings --> "Duplicate of inherited member name 'self' from DataValue, Occurrence" at "occurrence avalue :> aValue;"
45
45
occurrence avalue:> aValue;
46
-
// XPECT errors --> "An occurrence must be typed by occurrence definitions." at "occurrence twoTypes: PartDef, Real;"
46
+
// XPECT errors --> "An occurrence, item or part must be typed by occurrence definitions." at "occurrence twoTypes: PartDef, Real;"
47
47
// XPECT warnings --> "Duplicate of inherited member name 'self' from DataValue, Part" at "occurrence twoTypes: PartDef, Real;"
48
48
occurrence twoTypes: PartDef, Real;
49
49
}
@@ -55,7 +55,7 @@ package pkg {
55
55
// XPECT errors --> "Must reference an occurrence." at "a"
56
56
event a;
57
57
58
-
// XPECT errors --> "An occurrence must be typed by occurrence definitions." at "event a.areal;"
58
+
// XPECT errors --> "An occurrence, item or part must be typed by occurrence definitions." at "event a.areal;"
59
59
//* XPECT warnings ---
60
60
"Duplicate of inherited member name 'self' from DataValue, Occurrence" at "event a.areal;"
61
61
"Duplicate of inherited member name 'self' from DataValue, Occurrence" at "a.areal"
Copy file name to clipboardExpand all lines: org.omg.sysml.xpect.tests/src/org/omg/sysml/xpect/tests/validation/invalid/UsageDefinition_invalid.sysml.xt
0 commit comments