| 523 | } |
| 524 | |
| 525 | void InconclusiveXml() const { |
| 526 | // Location |
| 527 | std::list<ErrorMessage::FileLocation> locs(1, fooCpp5); |
| 528 | |
| 529 | // Inconclusive error message |
| 530 | ErrorMessage msg(std::move(locs), "", Severity::error, "Programming error", "errorId", Certainty::inconclusive); |
| 531 | |
| 532 | // xml version 2 error message |
| 533 | ASSERT_EQUALS(" <error id=\"errorId\" severity=\"error\" msg=\"Programming error\" verbose=\"Programming error\" inconclusive=\"true\">\n" |
| 534 | " <location file=\"foo.cpp\" line=\"5\" column=\"1\"/>\n" |
| 535 | " </error>", |
| 536 | msg.toXML()); |
| 537 | } |
| 538 | |
| 539 | void SerializeInconclusiveMessage() const { |
| 540 | // Inconclusive error message |