mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-15 12:32:18 -05:00
0d9fbc1ad7
This version of SickBeard uses both TVDB and TVRage to search and gather it's series data from allowing you to now have access to and download shows that you couldn't before because of being locked into only what TheTVDB had to offer. Also this edition is based off the code we used in our XEM editon so it does come with scene numbering support as well as all the other features our XEM edition has to offer. Please before using this with your existing database (sickbeard.db) please make a backup copy of it and delete any other database files such as cache.db and failed.db if present, we HIGHLY recommend starting out with no database files at all to make this a fresh start but the choice is at your own risk! Enjoy!
76 lines
2.5 KiB
Plaintext
76 lines
2.5 KiB
Plaintext
{"tests": [
|
|
|
|
{"description":"PLAINTEXT content model flag",
|
|
"initialStates":["PLAINTEXT state"],
|
|
"lastStartTag":"plaintext",
|
|
"input":"<head>&body;",
|
|
"output":[["Character", "<head>&body;"]]},
|
|
|
|
{"description":"End tag closing RCDATA or RAWTEXT",
|
|
"initialStates":["RCDATA state", "RAWTEXT state"],
|
|
"lastStartTag":"xmp",
|
|
"input":"foo</xmp>",
|
|
"output":[["Character", "foo"], ["EndTag", "xmp"]]},
|
|
|
|
{"description":"End tag closing RCDATA or RAWTEXT (case-insensitivity)",
|
|
"initialStates":["RCDATA state", "RAWTEXT state"],
|
|
"lastStartTag":"xmp",
|
|
"input":"foo</xMp>",
|
|
"output":[["Character", "foo"], ["EndTag", "xmp"]]},
|
|
|
|
{"description":"End tag closing RCDATA or RAWTEXT (ending with space)",
|
|
"initialStates":["RCDATA state", "RAWTEXT state"],
|
|
"lastStartTag":"xmp",
|
|
"input":"foo</xmp ",
|
|
"output":[["Character", "foo"], "ParseError"]},
|
|
|
|
{"description":"End tag closing RCDATA or RAWTEXT (ending with EOF)",
|
|
"initialStates":["RCDATA state", "RAWTEXT state"],
|
|
"lastStartTag":"xmp",
|
|
"input":"foo</xmp",
|
|
"output":[["Character", "foo</xmp"]]},
|
|
|
|
{"description":"End tag closing RCDATA or RAWTEXT (ending with slash)",
|
|
"initialStates":["RCDATA state", "RAWTEXT state"],
|
|
"lastStartTag":"xmp",
|
|
"input":"foo</xmp/",
|
|
"output":[["Character", "foo"], "ParseError"]},
|
|
|
|
{"description":"End tag not closing RCDATA or RAWTEXT (ending with left-angle-bracket)",
|
|
"initialStates":["RCDATA state", "RAWTEXT state"],
|
|
"lastStartTag":"xmp",
|
|
"input":"foo</xmp<",
|
|
"output":[["Character", "foo</xmp<"]]},
|
|
|
|
{"description":"End tag with incorrect name in RCDATA or RAWTEXT",
|
|
"initialStates":["RCDATA state", "RAWTEXT state"],
|
|
"lastStartTag":"xmp",
|
|
"input":"</foo>bar</xmp>",
|
|
"output":[["Character", "</foo>bar"], ["EndTag", "xmp"]]},
|
|
|
|
{"description":"End tag with incorrect name in RCDATA or RAWTEXT (starting like correct name)",
|
|
"initialStates":["RCDATA state", "RAWTEXT state"],
|
|
"lastStartTag":"xmp",
|
|
"input":"</foo>bar</xmpaar>",
|
|
"output":[["Character", "</foo>bar</xmpaar>"]]},
|
|
|
|
{"description":"End tag closing RCDATA or RAWTEXT, switching back to PCDATA",
|
|
"initialStates":["RCDATA state", "RAWTEXT state"],
|
|
"lastStartTag":"xmp",
|
|
"input":"foo</xmp></baz>",
|
|
"output":[["Character", "foo"], ["EndTag", "xmp"], ["EndTag", "baz"]]},
|
|
|
|
{"description":"RAWTEXT w/ something looking like an entity",
|
|
"initialStates":["RAWTEXT state"],
|
|
"lastStartTag":"xmp",
|
|
"input":"&foo;",
|
|
"output":[["Character", "&foo;"]]},
|
|
|
|
{"description":"RCDATA w/ an entity",
|
|
"initialStates":["RCDATA state"],
|
|
"lastStartTag":"textarea",
|
|
"input":"<",
|
|
"output":[["Character", "<"]]}
|
|
|
|
]}
|