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

Method ToXmlV2RemarkComment

test/testerrorlogger.cpp:435–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433 }
434
435 void ToXmlV2RemarkComment() const {
436 ErrorMessage msg({}, "", Severity::warning, "", "id", Certainty::normal);
437 msg.remark = "remark";
438 ASSERT_EQUALS(" <error id=\"id\" severity=\"warning\" msg=\"\" verbose=\"\" remark=\"remark\"/>", msg.toXML());
439 }
440
441 void ToXmlLocations() const {
442 const ErrorMessage::FileLocation dir1loc{"dir1/a.cpp", 1, 1};

Callers

nothing calls this directly

Calls 1

toXMLMethod · 0.80

Tested by

no test coverage detected