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

Method testParseValueEmptyString

tests/test_format.cpp:270–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 1

parseValueFunction · 0.85

Tested by

no test coverage detected