xml: fixed test case.
This commit is contained in:
parent
4773384ff4
commit
2e2fd77b83
|
@ -289,8 +289,11 @@ private:
|
||||||
// Don't save inconclusive messages if the xml version is 1
|
// Don't save inconclusive messages if the xml version is 1
|
||||||
ASSERT_EQUALS("", msg.toXML(false, 1));
|
ASSERT_EQUALS("", msg.toXML(false, 1));
|
||||||
|
|
||||||
// TODO: how should inconclusive messages be saved when the xml version is 2?
|
// xml version 2 error message
|
||||||
ASSERT_EQUALS("", msg.toXML(false, 2));
|
ASSERT_EQUALS(" <error id=\"errorId\" severity=\"error\" msg=\"Programming error\" verbose=\"Programming error\" inconclusive=\"true\">\n"
|
||||||
|
" <location file=\"foo.cpp\" line=\"5\"/>\n"
|
||||||
|
" </error>",
|
||||||
|
msg.toXML(false, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
void SerializeInconclusiveMessage() {
|
void SerializeInconclusiveMessage() {
|
||||||
|
|
Loading…
Reference in New Issue