Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -633,10 +633,6 @@ sections:
- GeneralViewLayoutStrategy_BuildLayout_SpecializationAndReferenceUsageFanOut_EndDecorationsHaveCleanApproach
- GeneralViewLayoutStrategy_BuildLayout_FanOutLanes_KeepDistinctOrderedLanes
- GeneralViewLayoutStrategy_BuildLayout_GalleryGeneralViews_EndDecorationsHaveCleanApproach
- GeneralViewLayoutStrategy_ClearEndDecorations_NoViolation_ReturnsTreeUnchanged
- GeneralViewLayoutStrategy_ClearEndDecorations_LShapedConnector_IsLeftAlone
- GeneralViewLayoutStrategy_ClearEndDecorations_ShortFinalLeg_MovesLaneAwayFromOwner
- GeneralViewLayoutStrategy_ClearEndDecorations_NoRoomOnFarLeg_LeavesConnectorUnchanged

- id: SysML2Tools-Core-Layout-Internal-GeneralViewLayoutStrategy-UnconnectedDefinitionPlacement
title: >-
Expand Down Expand Up @@ -1088,8 +1084,8 @@ sections:
attached to the wrong box (because the engine emitted boxes in a different order than
the nodes were added) would misreport which folder is collapsed.
tests:
- GeneralViewLayoutStrategy_DecorateTruncated_LineBeforeBoxes_DoesNotBreakBoxToNodePairing
- GeneralViewLayoutStrategy_DecorateTruncated_BoxOrderDiffersFromNodeOrder_DecoratesMatchingNode
- GeneralViewLayoutStrategy_BuildLayout_TruncatedBoxBesideRoutedEdge_DecoratesOnlyTruncatedBox
- GeneralViewLayoutStrategy_BuildLayout_TruncatedNestedPackages_DecorateOnlyMatchingBoxes
- GeneralViewLayoutStrategy_BuildLayout_NestedPackages_DepthLimit_CountsPackageNesting
- GeneralViewLayoutStrategy_BuildLayout_PackageFolderContents_DepthLimitOne_StillTruncatesFolder

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ sections:
must name the file and line of the offending view so users can find and fix it.
tests:
- WorkspaceLoader_LoadAsync_Views_CaptureSourceLocation
- SysmlViewNode_SourceLocationProperties_AreDeclaredOnViewNode
- Serialize_ViewNodeSourceLocation_RoundTrips

- id: SysML2Tools-Language-Semantic-Model-SysmlNode-SourcePositions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ sections:
signature as a forwarding overload preserves binary compatibility while the new overload
carries the strict opt-in.
tests:
- WorkspaceLoader_LoadAsync_OriginalTwoParameterSignature_RemainsPublic
- WorkspaceLoader_LoadAsync_OriginalTwoParameterOverload_ReportsUnresolvedAsWarning

- id: SysML2Tools-Language-Semantic-WorkspaceLoader-DeterministicOrder
Expand Down
1 change: 0 additions & 1 deletion docs/reqstream/sysml2-tools-stdlib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ sections:
children:
- SysML2Tools-Stdlib-StdlibProvider-GetSymbolTable
- SysML2Tools-Stdlib-StdlibProvider-Caching
- SysML2Tools-Stdlib-StdlibProvider-Performance
- SysML2Tools-Stdlib-StdlibProvider-Diagnostics
- SysML2Tools-Stdlib-StdlibProvider-ModifierData
- SysML2Tools-Stdlib-StdlibProvider-KermlDeclarations
Expand Down
11 changes: 1 addition & 10 deletions docs/reqstream/sysml2-tools-stdlib/stdlib-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ sections:
than deserializing the embedded binary on each call.
tests:
- GetSymbolTable_IsCached

- id: SysML2Tools-Stdlib-StdlibProvider-Performance
title: >-
After the first call, StdlibProvider.GetSymbolTable shall return the cached result in
under 50 milliseconds.
justification: |
A fast cached path is the primary performance guarantee of the pre-compilation approach;
without it the benefit over a runtime parse is lost.
tests:
- GetSymbolTable_FastOnSubsequentCalls
- GetSymbolTable_RepeatedCalls_ReturnSameDiagnostics

- id: SysML2Tools-Stdlib-StdlibProvider-Diagnostics
title: >-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -497,14 +497,6 @@ quoted above for the dilated measurement; both exceed the 150 px limit, and W1 c
Real-corpus guard over the gallery General Views (drone, battery, nested packages, drive unit,
charger, vehicle typing) with the tool's plain theme, and the drive-unit and charger views also with
the light theme: every decorated connector that ends a lane has a clean approach
- `GeneralViewLayoutStrategy_ClearEndDecorations_NoViolation_ReturnsTreeUnchanged`:
A lane far from the owner returns the very same tree instance
- `GeneralViewLayoutStrategy_ClearEndDecorations_LShapedConnector_IsLeftAlone`:
A connector with one bend is not modified
- `GeneralViewLayoutStrategy_ClearEndDecorations_ShortFinalLeg_MovesLaneAwayFromOwner`:
A 10 px final leg grows to the marker length, corner radius, and margin; only the two bend points move
- `GeneralViewLayoutStrategy_ClearEndDecorations_NoRoomOnFarLeg_LeavesConnectorUnchanged`:
When the leg at the other box would become too short the connector is left as routed
- `GeneralViewLayoutStrategy_BuildLayout_ManyUnconnectedDefinitions_AreTuckedIntoFreeCornerOfWideTree`:
Nine definitions that nothing refers to lie inside the bounds of a wide connected tree, clear of every
connector, inside the canvas, without overlap, and the canvas is not wider than the connected drawing
Expand Down Expand Up @@ -879,12 +871,12 @@ quoted above for the dilated measurement; both exceed the 150 px limit, and W1 c
- `GeneralViewLayoutStrategy_BuildLayout_TruncatedDefinitionWithCompartments_AppendsEllipsisRow`:
A truncated definition that already has an `attributes` compartment keeps it and gains the `…` row
as a separate trailing untitled compartment, and is taller than the same definition untruncated
- `GeneralViewLayoutStrategy_DecorateTruncated_LineBeforeBoxes_DoesNotBreakBoxToNodePairing`:
A line placed before the boxes does not shift the box-to-node pairing: only the truncated node's
box carries the bare `…` label
- `GeneralViewLayoutStrategy_DecorateTruncated_BoxOrderDiffersFromNodeOrder_DecoratesMatchingNode`:
With the placed boxes (and a line) in a different order than the graph nodes, at the root and inside a
nested container, only the box of the truncated node carries the `…` label
- `GeneralViewLayoutStrategy_BuildLayout_TruncatedBoxBesideRoutedEdge_DecoratesOnlyTruncatedBox`:
A scope with a routed specialization line beside a truncated and an untruncated definition: only the
truncated definition carries the `…` row
- `GeneralViewLayoutStrategy_BuildLayout_TruncatedNestedPackages_DecorateOnlyMatchingBoxes`:
With sibling and nested packages at two scopes, only the packages whose contents the depth limit hides
carry the bare `…` label
- `GeneralViewLayoutStrategy_BuildLayout_NestedPackagesGalleryModel_RendersFoldersNestedAndCrossPackageEdges`:
The gallery model `11-nested-packages-general.sysml` draws `Powertrain` and `Body` inside `Vehicle`, the
`Hybrid` to `Engine` specialization and both compositions into `Car` in the `Vehicle` scope between the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ external services or additional configuration are required beyond a standard .NE
| Occurrences with positions | `WorkspaceLoader_LoadAsync_TransitionExpressions_CaptureReferenceOccurrences` |
| `FilterExpressionText` verbatim | `WorkspaceLoader_LoadAsync_ViewFilterExpression_CapturesTextVerbatimNoEdge` |
| View `SourceFilePath`/`SourceLine`/`SourceColumn` | `WorkspaceLoader_LoadAsync_Views_CaptureSourceLocation` |
| View properties declared on `SysmlViewNode` | `SysmlViewNode_SourceLocationProperties_AreDeclaredOnViewNode` |
| View source location serialized | `Serialize_ViewNodeSourceLocation_RoundTrips` |
| Source positions are not serialized | `Serialize_SourcePositions_AreNotPersisted` |
| `Visibility`, `ShortName`, `SysmlAliasNode` | `WorkspaceLoader_LoadAsync_VisibilityShortNameAndAlias_Captured` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,8 @@ order by one (listed outside the table because of their long names):
top-level declarations share a name are loaded in both orders; the declaration in the canonically
first file wins, `Files` is in canonical order, and the diagnostics are identical.

- `WorkspaceLoader_LoadAsync_OriginalTwoParameterSignature_RemainsPublic` — a reflection tripwire
asserting that the original public static two-parameter overload exists, returns
`Task<SysmlLoadResult>`, and has an optional second parameter defaulting to `null`.
- `WorkspaceLoader_LoadAsync_OriginalTwoParameterOverload_ReportsUnresolvedAsWarning` — invokes that
overload through its reflected metadata signature and by direct one- and two-argument calls, and
- `WorkspaceLoader_LoadAsync_OriginalTwoParameterOverload_ReportsUnresolvedAsWarning` — calls that
overload directly with one and two arguments and compares it with the three-argument form, and
asserts that an unresolved reference is a Warning, identical to `strictUnresolved: false`.

#### Level 10 Gate
Expand Down
4 changes: 2 additions & 2 deletions docs/verification/sysml2-tools-stdlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ without any additional setup.
- All unit tests pass with zero failures across all four target frameworks.
- `StdlibProvider.GetSymbolTable()` returns a non-empty `SymbolTable`.
- Two successive calls to `GetSymbolTable()` return the same cached instance (same reference).
- The second call to `GetSymbolTable()` completes in under 50 milliseconds (cached access).
- The stdlib `SymbolTable` contains at least 50 standard declarations.
- The diagnostics returned by `GetSymbolTable()` are not null.

Expand All @@ -29,6 +28,7 @@ Primary acceptance evidence is provided by:

- `StdlibProviderTests.GetSymbolTable_ReturnsNonEmpty` — stdlib table is not empty.
- `StdlibProviderTests.GetSymbolTable_IsCached` — two calls return the same instance.
- `StdlibProviderTests.GetSymbolTable_FastOnSubsequentCalls` — cached call completes in < 50ms.
- `StdlibProviderTests.GetSymbolTable_RepeatedCalls_ReturnSameDiagnostics` — repeated calls return the same table and
the same diagnostics instance.
- `StdlibProviderTests.GetSymbolTable_ContainsKnownStdlibTypes` — table has > 50 declarations.
- `StdlibProviderTests.GetSymbolTable_DiagnosticsNotNull` — diagnostics list is not null.
3 changes: 1 addition & 2 deletions docs/verification/sysml2-tools-stdlib/stdlib-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ beyond a standard .NET SDK installation.

- `GetSymbolTable` returns a non-empty `SymbolTable` containing known standard library types.
- Repeated calls return the same cached `SymbolTable` instance.
- After the first call, a subsequent call returns in under 50 milliseconds.
- A non-null diagnostics list is returned alongside the `SymbolTable`.
- The returned declarations carry the modifier data of the standard library source
(`Parts::Part` is abstract), and the diagnostics contain no errors.
Expand All @@ -32,7 +31,7 @@ beyond a standard .NET SDK installation.
| `GetSymbolTable_ReturnsNonEmpty` | The returned symbol table is non-empty |
| `GetSymbolTable_ContainsKnownStdlibTypes` | Known standard library types are present |
| `GetSymbolTable_IsCached` | Repeated calls return the same instance |
| `GetSymbolTable_FastOnSubsequentCalls` | A cached call completes in under 50 ms |
| `GetSymbolTable_RepeatedCalls_ReturnSameDiagnostics` | Repeated calls return the same table and diagnostics |
| `GetSymbolTable_DiagnosticsNotNull` | A non-null diagnostics list is returned |
| `GetSymbolTable_RegeneratedStdlib_CarriesModifiers` | `Parts::Part` is abstract (stale resource fails) |
| `GetSymbolTable_Diagnostics_ContainNoErrors` | No diagnostic has error severity |
Expand Down
Loading
Loading