MCPcopy Create free account
hub / github.com/comaps/comaps / TestXML

Function TestXML

libs/coding/coding_tests/xml_parser_tests.cpp:89–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88template <typename D>
89void TestXML(std::string const & xmlStr, D & dispatcher)
90{
91 std::vector<uint8_t> xml(xmlStr.cbegin(), xmlStr.cend());
92 MemReader reader(xml.data(), xml.size());
93 ReaderSource<MemReader> source(reader);
94
95 ParseXML(source, dispatcher);
96}
97
98UNIT_TEST(XmlParser_SmokeTest)
99{

Callers 1

UNIT_TESTFunction · 0.85

Calls 5

ParseXMLFunction · 0.85
cbeginMethod · 0.45
cendMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected