| 268 | } |
| 269 | |
| 270 | void testParseValueEmptyString() { |
| 271 | bool ok; |
| 272 | // Empty UTF8 should succeed (caller pads) |
| 273 | QByteArray b = fmt::parseValue(NodeKind::UTF8, "", &ok); |
| 274 | QVERIFY(ok); |
| 275 | QVERIFY(b.isEmpty()); |
| 276 | |
| 277 | // Empty non-string should fail |
| 278 | fmt::parseValue(NodeKind::Int32, "", &ok); |
| 279 | QVERIFY(!ok); |
| 280 | } |
| 281 | |
| 282 | void testFmtStructFooterSimple() { |
| 283 | Node n; |
nothing calls this directly
no test coverage detected