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
I have verified that I am running the latest version of the SysML2.NET
I have searched open and closed issues to ensure it has not already been reported
Description
Sub-task of #288 — extend TextualNotationValidationTestFixture.VerifyValidationTextualNotationXmi to cover every validation model in the Pilot Implementation folder 15-Properties-Values-Expressions (Properties, Values and Expressions).
Source files live under https://github.com/Systems-Modeling/SysML-v2-Pilot-Implementation/tree/master/sysml/src/validation/15-Properties-Values-Expressions.
Files to add
15_01-Constants.sysml
15_02-Basic Value Properties.sysml
15_03-Value Expression.sysml
15_04-Logical Expressions.sysml
15_05-Unification of Expression and Constraint Definition.sysml
15_06-System of Quantities.sysml
15_07-System of Units and Scales.sysml
15_08-Range Restriction.sysml
15_10-Primitive Data Types.sysml
15_11-Variable Length Collection Types.sysml
15_12-Compound Value Type.sysml
15_13-Discretely Sampled Function Value.sysml
15_19-Materials with Properties.sysml
15_19a-Materials with Properties.sysml
Work to do
For each *.sysml file above, produce the matching *.sysmlx (XMI) artifact and drop it under SysML2.NET.Serializer.TextualNotation.Tests/Validation/15-Properties-Values-Expressions/.
Register each new file in SysML2.NET.Serializer.TextualNotation.Tests/SysML2.NET.Serializer.TextualNotation.Tests.csproj with CopyToOutputDirectory=PreserveNewest (or whatever pattern is already used for folder 01-Parts Tree).
Add a [TestCase("15-Properties-Values-Expressions", "<file>.sysmlx")] entry per file to VerifyValidationTextualNotationXmi in SysML2.NET.Serializer.TextualNotation.Tests/Writers/TextualNotationValidationTestFixture.cs.
Run the fixture. For every file that throws or produces clearly wrong output, either fix the underlying writer/grammar issue or open a focused follow-up issue and link it here. The acceptance criterion is green tests, not skipped tests — do not comment out failing cases.
Acceptance
All files in the list above are present under SysML2.NET.Serializer.TextualNotation.Tests/Validation/15-Properties-Values-Expressions/ and copied to the test output.
One [TestCase] per file is wired up.
The fixture passes green; any defects surfaced have either been fixed or filed as follow-ups linked from this issue.
Steps to Reproduce
System Configuration
SysML2.NET version: 0.22.0
Environment (Operating system, version and so on): Windows 11
Activity
Fix #302
Fix #302 (#360)