This commit is contained in:
deeaitch committed 2026-10-20 13:06:55 -04:00
1 parent 713276d34a
commit fc97682b37
45 files changed
+6760 -5

No files matched your search

+8 -2
View File
@@ -115,8 +115,14 @@ unknown statements, and independent parsing sessions, including recovery after e
## Tree and optional model tests
`tree_node_test.cpp` is a standalone C++17 executable without Qt; see the root
README for its compiler command. It checks parents, sibling positions, null
children, bounds, and unique_ptr transfer.
README for its compiler command. It is also built as `dbc_tree_tests` and run by
qmake's `make check`, without Qt linkage. It checks empty trees, parent/child
round trips, sibling positions, const/mutable bounds, null children, vector growth,
and unique_ptr transfer. Compile-time checks reject node copying and movement.
Self/ancestor insertion must throw without consuming ownership or changing links.
Key tests cover frame/signal identity, standard/extended separation, repeated
signal names across frames, missing keys, source replacement, and row-independent
identity.
Enable `CONFIG+=dbc_qt` in the root qmake invocation to build `dbc_qt` and
`dbc_model_tests` alongside existing tests. Qt 6.8.2 is required.