MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / FailureParser

Method FailureParser

UnitTests/sources/XMLParserTest.cpp:127–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125class FailureParser : public XMLParser {
126public:
127 FailureParser(const std::string& xml) : XMLParser(xml.data(), xml.size()) {}
128 void parse() { CHECK(!XMLParser::parse(_ex) && _ex); }
129 bool onStartXMLElement(const char* name, Parameters& attributes) { return true;}
130 bool onInnerXMLElement(const char* name, const char* data, UInt32 size) { return true; }

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected