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 13-Model Containment (Model Containment).
Source files live under https://github.com/Systems-Modeling/SysML-v2-Pilot-Implementation/tree/master/sysml/src/validation/13-Model Containment.
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/13-Model Containment/.
- 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("13-Model Containment", "<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/13-Model Containment/ 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 folder13-Model Containment(Model Containment).Source files live under
https://github.com/Systems-Modeling/SysML-v2-Pilot-Implementation/tree/master/sysml/src/validation/13-Model Containment.Files to add
13a-Model Containment.sysml13b-Safety and Security Features Element Group-1.sysml13b-Safety and Security Features Element Group-2.sysml13b-Safety and Security Features Element Group.sysmlWork to do
*.sysmlfile above, produce the matching*.sysmlx(XMI) artifact and drop it underSysML2.NET.Serializer.TextualNotation.Tests/Validation/13-Model Containment/.SysML2.NET.Serializer.TextualNotation.Tests/SysML2.NET.Serializer.TextualNotation.Tests.csprojwithCopyToOutputDirectory=PreserveNewest(or whatever pattern is already used for folder01-Parts Tree).[TestCase("13-Model Containment", "<file>.sysmlx")]entry per file toVerifyValidationTextualNotationXmiinSysML2.NET.Serializer.TextualNotation.Tests/Writers/TextualNotationValidationTestFixture.cs.Acceptance
SysML2.NET.Serializer.TextualNotation.Tests/Validation/13-Model Containment/and copied to the test output.[TestCase]per file is wired up.Steps to Reproduce
System Configuration