What type of issue is this?
Prerequisites
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
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
What type of issue is this?
Prerequisites
Description
Sub-task of #288 — extend
TextualNotationValidationTestFixture.VerifyValidationTextualNotationXmito cover every validation model in the Pilot Implementation folder15-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.sysml15_02-Basic Value Properties.sysml15_03-Value Expression.sysml15_04-Logical Expressions.sysml15_05-Unification of Expression and Constraint Definition.sysml15_06-System of Quantities.sysml15_07-System of Units and Scales.sysml15_08-Range Restriction.sysml15_10-Primitive Data Types.sysml15_11-Variable Length Collection Types.sysml15_12-Compound Value Type.sysml15_13-Discretely Sampled Function Value.sysml15_19-Materials with Properties.sysml15_19a-Materials with Properties.sysmlWork to do
*.sysmlfile above, produce the matching*.sysmlx(XMI) artifact and drop it underSysML2.NET.Serializer.TextualNotation.Tests/Validation/15-Properties-Values-Expressions/.SysML2.NET.Serializer.TextualNotation.Tests/SysML2.NET.Serializer.TextualNotation.Tests.csprojwithCopyToOutputDirectory=PreserveNewest(or whatever pattern is already used for folder01-Parts Tree).[TestCase("15-Properties-Values-Expressions", "<file>.sysmlx")]entry per file toVerifyValidationTextualNotationXmiinSysML2.NET.Serializer.TextualNotation.Tests/Writers/TextualNotationValidationTestFixture.cs.Acceptance
SysML2.NET.Serializer.TextualNotation.Tests/Validation/15-Properties-Values-Expressions/and copied to the test output.[TestCase]per file is wired up.Steps to Reproduce
System Configuration