summaryrefslogtreecommitdiffstats
path: root/misc/testsuite
diff options
context:
space:
mode:
authorot <ot@localhost>2008-08-20 19:32:00 +0000
committerot <ot@localhost>2008-08-20 19:32:00 +0000
commit37ec3ec5a4e1b264df5703afa8c2abf506d33131 (patch)
treeea85b777816d6689aa5e1618ef0c02662ea5f3b8 /misc/testsuite
parent8e1ae9f1be916936b9ab3c3618714c8d95063446 (diff)
downloadmarkup-validator-37ec3ec5a4e1b264df5703afa8c2abf506d33131.zip
markup-validator-37ec3ec5a4e1b264df5703afa8c2abf506d33131.tar.gz
markup-validator-37ec3ec5a4e1b264df5703afa8c2abf506d33131.tar.bz2
adding html5 test cases
Diffstat (limited to 'misc/testsuite')
-rw-r--r--misc/testsuite/catalog.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/misc/testsuite/catalog.xml b/misc/testsuite/catalog.xml
index dee4bcb..1bc7b91 100644
--- a/misc/testsuite/catalog.xml
+++ b/misc/testsuite/catalog.xml
@@ -90,6 +90,16 @@
</test>
<test>
+ <dc:title>HTML5 support test</dc:title>
+ <uri>http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-ok.html</uri>
+ <expect>
+ <Validity>Pass</Validity>
+ </expect>
+ <html:p>HTML5 sample document.</html:p>
+ </test>
+
+
+ <test>
<dc:title>ISO-HTML Document Type support test</dc:title>
<uri>http://qa-dev.w3.org/wmvs/HEAD/dev/tests/iso-html.html</uri>
<expect>
@@ -511,6 +521,17 @@
</expect>
<html:p>sample HTML 4 document using the (valid, but problematic) shorttags features</html:p>
</test>
+
+ <test>
+ <dc:title>Test for warning output from HTML5 parser</dc:title>
+ <uri>http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-warning.html</uri>
+ <expect>
+ <Validity>Pass</Validity>
+ <NumWarnings>yes</NumWarnings>
+ </expect>
+ <html:p>sample HTML5 document using a construct that should pass checking, with a warning output.</html:p>
+ </test>
+
</collection>
<collection id="appc">
@@ -629,6 +650,32 @@
<Validity>Fail</Validity>
</expect>
</test>
+
+ <test>
+ <uri>http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-precise-error.html</uri>
+ <html:p>HTML5 document with tokenizer error (precise locator)</html:p>
+ <expect>
+ <Validity>Fail</Validity>
+ </expect>
+ </test>
+
+ <test>
+ <uri>http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-range-error.html</uri>
+ <html:p>HTML5 document with Tree builder (range locator)</html:p>
+ <expect>
+ <Validity>Fail</Validity>
+ </expect>
+ </test>
+
+ <test>
+ <uri>http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-error-explanation.html</uri>
+ <html:p>HTML5 document with bogus attribute (should have an error explanation)</html:p>
+ <expect>
+ <Validity>Fail</Validity>
+ </expect>
+ </test>
+
+
<test>
<uri>http://qa-dev.w3.org/wmvs/HEAD/dev/tests/uppercase_element.xhtml</uri>