| 280 | } |
| 281 | |
| 282 | void testFmtStructFooterSimple() { |
| 283 | Node n; |
| 284 | n.kind = NodeKind::Struct; |
| 285 | n.name = "Test"; |
| 286 | |
| 287 | // Footer is always just "};" (no sizeof comment) |
| 288 | QString s = fmt::fmtStructFooter(n, 0, 0x14); |
| 289 | QVERIFY(s.contains("};")); |
| 290 | QVERIFY(!s.contains("sizeof")); // No sizeof comment |
| 291 | } |
| 292 | }; |
| 293 | |
| 294 | QTEST_MAIN(TestFormat) |
nothing calls this directly
no test coverage detected