Bug 591467 - Add tests for microdata

This commit is contained in:
Ms2ger 2012-06-04 16:49:57 -07:00
parent fd086e43bf
commit 9f10bc2bc4
7 changed files with 3706 additions and 0 deletions

View File

@ -14,6 +14,7 @@ DIRS = \
failures/webapps/WebStorage/tests/submissions/Ms2ger \
failures/webapps/WebStorage/tests/submissions/Infraware \
failures/webapps/DOMCore/tests/submissions/Opera \
failures/html/tests/submission/Opera/microdata \
$(NULL)
include $(srcdir)/editing.mk

View File

@ -0,0 +1,19 @@
DEPTH = ../../../../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = dom/imptests/failures/html/tests/submission/Opera/microdata
DIRS = \
$(NULL)
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
_TESTS = \
test_001.html.json \
$(NULL)
libs:: $(_TESTS)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)

View File

@ -0,0 +1,8 @@
{
"document.getItems must return a NodeList": true,
"itemValue must reflect the src attribute on track elements": true,
"itemValue must reflect the textContent of time elements with no datetime attribute": true,
"itemValue must reflect the datetime attribute of time elements with a datetime attribute": true,
"the namedItem property must be read/write": true
}

View File

@ -1,3 +1,4 @@
DIRS += \
html/tests/submission/Mozilla \
html/tests/submission/Opera/microdata \
$(NULL)

View File

@ -1,2 +1,3 @@
https://dvcs.w3.org/hg/html|html
tests/submission/Mozilla
tests/submission/Opera/microdata

View File

@ -0,0 +1,24 @@
# THIS FILE IS AUTOGENERATED BY importTestsuite.py - DO NOT EDIT
DEPTH = ../../../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = dom/imptests/html/tests/submission/Opera/microdata
DIRS = \
$(NULL)
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
_TESTS = \
test_001.html \
$(NULL)
_TESTS += \
$(NULL)
libs:: $(_TESTS)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)

File diff suppressed because it is too large Load Diff