This commit is contained in:
deeaitch committed 2026-10-23 20:10:39 -04:00
1 parent c43222939f
commit a258abf7be
7 files changed
+148 -5

No files matched your search

+12
View File
@@ -223,6 +223,18 @@ fixture. Saved decoded results and trees retain their original metadata.
## Attribute coverage
`multilineAttributes` checks multiline definitions, defaults and assignments,
deferred cycle times, frame format overrides, quoted newlines/semicolons and
escapes, CRLF input, and warning locations for defaults and explicit values.
`invalidMultilineAttributes` checks malformed ENUM lists/ranges, missing
terminators, unterminated strings, undefined names, trailing fields, and error
locations at the first physical line through both parser APIs.
The multiline changes passed a clean qmake build and `make check` in
`/tmp/dbc-attributes-build` with Qt 6.8.2: 2,396 QtTest cases and the qmake
tree target passed. The standalone C++17 tree test also passed. One existing
C locale test skipped because no named comma-decimal locale is installed.
Parser slots `attributes`, `invalidAttributes`, and `attributeWarnings` cover
all five scopes and types, deferred definitions/defaults/targets, explicit
values overriding defaults, repeated assignments, escaped strings, typed