| 1954 | } |
| 1955 | |
| 1956 | void testComputeStructAlignmentEmpty() { |
| 1957 | NodeTree tree; |
| 1958 | Node root; |
| 1959 | root.kind = NodeKind::Struct; |
| 1960 | root.name = "Empty"; |
| 1961 | root.parentId = 0; |
| 1962 | int ri = tree.addNode(root); |
| 1963 | uint64_t rootId = tree.nodes[ri].id; |
| 1964 | |
| 1965 | // Empty struct → alignment 1 |
| 1966 | QCOMPARE(tree.computeStructAlignment(rootId), 1); |
| 1967 | } |
| 1968 | |
| 1969 | void testCommandRowRootNameSpan() { |
| 1970 | // Name span should cover the class name in the merged command row |
nothing calls this directly
no test coverage detected