diff options
author | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-11 09:13:22 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-17 02:42:17 +0530 |
commit | 34f1fae56766782ad5142db64879b348c01060bb (patch) | |
tree | 95df95dca6987b783a73d48b45674cb48d3af8e3 /test/data/tokeniser2/escapeFlag.test | |
parent | 7630ae893aad7fbb168d073f405cfa2110ccb530 (diff) | |
download | libhubbub-34f1fae56766782ad5142db64879b348c01060bb.tar.gz libhubbub-34f1fae56766782ad5142db64879b348c01060bb.tar.bz2 |
Adding the latest test files without fixing the INDEXes or the test interfaces
Diffstat (limited to 'test/data/tokeniser2/escapeFlag.test')
-rw-r--r-- | test/data/tokeniser2/escapeFlag.test | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/data/tokeniser2/escapeFlag.test b/test/data/tokeniser2/escapeFlag.test index 4c4bf51..18cb430 100644 --- a/test/data/tokeniser2/escapeFlag.test +++ b/test/data/tokeniser2/escapeFlag.test @@ -1,33 +1,33 @@ {"tests": [ -{"description":"Commented close tag in [R]CDATA", -"contentModelFlags":["RCDATA", "CDATA"], +{"description":"Commented close tag in RCDATA or RAWTEXT", +"initialStates":["RCDATA state", "RAWTEXT state"], "lastStartTag":"xmp", "input":"foo<!--</xmp>--></xmp>", -"output":[["Character", "foo<!--</xmp>-->"], ["EndTag", "xmp"]]}, +"output":[["Character", "foo<!--"], ["EndTag", "xmp"], ["Character", "-->"], ["EndTag", "xmp"]]}, -{"description":"Bogus comment in [R]CDATA", -"contentModelFlags":["RCDATA", "CDATA"], +{"description":"Bogus comment in RCDATA or RAWTEXT", +"initialStates":["RCDATA state", "RAWTEXT state"], "lastStartTag":"xmp", "input":"foo<!-->baz</xmp>", "output":[["Character", "foo<!-->baz"], ["EndTag", "xmp"]]}, -{"description":"End tag surrounded by bogus comment in [R]CDATA", -"contentModelFlags":["RCDATA", "CDATA"], +{"description":"End tag surrounded by bogus comment in RCDATA or RAWTEXT", +"initialStates":["RCDATA state", "RAWTEXT state"], "lastStartTag":"xmp", "input":"foo<!--></xmp><!-->baz</xmp>", "output":[["Character", "foo<!-->"], ["EndTag", "xmp"], "ParseError", ["Comment", ""], ["Character", "baz"], ["EndTag", "xmp"]]}, {"description":"Commented entities in RCDATA", -"contentModelFlags":["RCDATA"], +"initialStates":["RCDATA state"], "lastStartTag":"xmp", "input":" & <!-- & --> & </xmp>", -"output":[["Character", " & <!-- & --> & "], ["EndTag", "xmp"]]}, +"output":[["Character", " & <!-- & --> & "], ["EndTag", "xmp"]]}, -{"description":"Incorrect comment ending sequences in [R]CDATA", -"contentModelFlags":["RCDATA", "CDATA"], +{"description":"Incorrect comment ending sequences in RCDATA or RAWTEXT", +"initialStates":["RCDATA state", "RAWTEXT state"], "lastStartTag":"xmp", "input":"foo<!-- x --x>x-- >x--!>x--<></xmp>", -"output":[["Character", "foo<!-- x --x>x-- >x--!>x--<></xmp>"]]} +"output":[["Character", "foo<!-- x --x>x-- >x--!>x--<>"], ["EndTag", "xmp"]]} ]} |