MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / readPlatform

Method readPlatform

test/testplatform.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 };
58
59 static bool readPlatform(PlatformTest& platform, const char* xmldata) {
60 tinyxml2::XMLDocument doc;
61 return (doc.Parse(xmldata) == tinyxml2::XML_SUCCESS) && platform.loadFromXmlDocument(&doc);
62 }
63
64 void empty() const {
65 // An empty platform file does not change values, only the type.

Callers

nothing calls this directly

Calls 2

ParseMethod · 0.80
loadFromXmlDocumentMethod · 0.80

Tested by

no test coverage detected