mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-06-07 07:03:41 +00:00
tweak test
This commit is contained in:
parent
224ef775c6
commit
82bb074b49
@ -1798,6 +1798,12 @@ int main( int argc, const char ** argv )
|
|||||||
printf("%s\n", printer.CStr());
|
printf("%s\n", printer.CStr());
|
||||||
|
|
||||||
// No test; it only need to not crash.
|
// No test; it only need to not crash.
|
||||||
|
// Still, wrap it up with a sanity check
|
||||||
|
int nProperty = 0;
|
||||||
|
for (const XMLElement* p = playlist->FirstChildElement("property"); p; p = p->NextSiblingElement("property")) {
|
||||||
|
nProperty++;
|
||||||
|
}
|
||||||
|
XMLTest("Crash bug parsing", nProperty, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------- Line Number Tracking --------------
|
// ----------- Line Number Tracking --------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user