mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-27 13:33:17 +08:00
tests: Added more escape error tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@169 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
0ceaa38aeb
commit
cbdce99d5c
@ -275,6 +275,13 @@ TEST(parse_escapes_error)
|
||||
CHECK_STRING(doc.child_value("node"), "g;&#ab;"");
|
||||
|
||||
CHECK(!doc.load("<node id='"));
|
||||
CHECK(!doc.load("<node id='&g"));
|
||||
CHECK(!doc.load("<node id='>"));
|
||||
CHECK(!doc.load("<node id='&l"));
|
||||
CHECK(!doc.load("<node id='<"));
|
||||
CHECK(!doc.load("<node id='&a"));
|
||||
CHECK(!doc.load("<node id='&"));
|
||||
CHECK(!doc.load("<node id='&apos"));
|
||||
}
|
||||
|
||||
TEST(parse_attribute_spaces)
|
||||
|
Loading…
x
Reference in New Issue
Block a user