MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / testFmtStructFooterSimple

Method testFmtStructFooterSimple

tests/test_format.cpp:282–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
294QTEST_MAIN(TestFormat)

Callers

nothing calls this directly

Calls 1

fmtStructFooterFunction · 0.85

Tested by

no test coverage detected