MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / ParseTest

Class ParseTest

tests/document_test.cpp:279–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277 using Check = bool (Document::*)() const;
278
279 struct ParseTest {
280 std::string data;
281 Check check;
282 bool has_error;
283 };
284 constexpr static bool kNoError = false;
285 constexpr static bool kError = true;
286 std::vector<ParseTest> tests = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected