From 12dcc69e9612a7588b9fc0d62db7c8a76610564f Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Tue, 19 Dec 2023 20:20:26 +0100 Subject: [PATCH] Move test data to test data dir --- .../html-api => data}/html5lib-tests/AUTHORS.rst | 0 .../{tests/html-api => data}/html5lib-tests/LICENSE | 0 .../html-api => data}/html5lib-tests/README.md | 0 .../html5lib-tests/tree-construction/README.md | 0 .../html5lib-tests/tree-construction/adoption01.dat | 0 .../html5lib-tests/tree-construction/adoption02.dat | 0 .../html5lib-tests/tree-construction/blocks.dat | 0 .../html5lib-tests/tree-construction/comments01.dat | 0 .../html5lib-tests/tree-construction/doctype01.dat | 0 .../tree-construction/domjs-unsafe.dat | Bin .../html5lib-tests/tree-construction/entities01.dat | 0 .../html5lib-tests/tree-construction/entities02.dat | 0 .../tree-construction/foreign-fragment.dat | 0 .../tree-construction/html5test-com.dat | 0 .../html5lib-tests/tree-construction/inbody01.dat | 0 .../html5lib-tests/tree-construction/isindex.dat | 0 .../tree-construction/main-element.dat | 0 .../html5lib-tests/tree-construction/math.dat | 0 .../tree-construction/menuitem-element.dat | 0 .../tree-construction/namespace-sensitivity.dat | 0 .../html5lib-tests/tree-construction/noscript01.dat | 0 .../pending-spec-changes-plain-text-unsafe.dat | Bin .../tree-construction/pending-spec-changes.dat | 0 .../tree-construction/plain-text-unsafe.dat | Bin .../html5lib-tests/tree-construction/quirks01.dat | 0 .../html5lib-tests/tree-construction/ruby.dat | 0 .../tree-construction/scriptdata01.dat | 0 .../tree-construction/search-element.dat | 0 .../html5lib-tests/tree-construction/svg.dat | 0 .../html5lib-tests/tree-construction/tables01.dat | 0 .../html5lib-tests/tree-construction/template.dat | 0 .../html5lib-tests/tree-construction/tests1.dat | 0 .../html5lib-tests/tree-construction/tests10.dat | 0 .../html5lib-tests/tree-construction/tests11.dat | 0 .../html5lib-tests/tree-construction/tests12.dat | 0 .../html5lib-tests/tree-construction/tests14.dat | 0 .../html5lib-tests/tree-construction/tests15.dat | 0 .../html5lib-tests/tree-construction/tests16.dat | 0 .../html5lib-tests/tree-construction/tests17.dat | 0 .../html5lib-tests/tree-construction/tests18.dat | 0 .../html5lib-tests/tree-construction/tests19.dat | 0 .../html5lib-tests/tree-construction/tests2.dat | 0 .../html5lib-tests/tree-construction/tests20.dat | 0 .../html5lib-tests/tree-construction/tests21.dat | 0 .../html5lib-tests/tree-construction/tests22.dat | 0 .../html5lib-tests/tree-construction/tests23.dat | 0 .../html5lib-tests/tree-construction/tests24.dat | 0 .../html5lib-tests/tree-construction/tests25.dat | 0 .../html5lib-tests/tree-construction/tests26.dat | 0 .../html5lib-tests/tree-construction/tests3.dat | 0 .../html5lib-tests/tree-construction/tests4.dat | 0 .../html5lib-tests/tree-construction/tests5.dat | 0 .../html5lib-tests/tree-construction/tests6.dat | 0 .../html5lib-tests/tree-construction/tests7.dat | 0 .../html5lib-tests/tree-construction/tests8.dat | 0 .../html5lib-tests/tree-construction/tests9.dat | 0 .../tree-construction/tests_innerHTML_1.dat | 0 .../html5lib-tests/tree-construction/tricky01.dat | 0 .../html5lib-tests/tree-construction/webkit01.dat | 0 .../html5lib-tests/tree-construction/webkit02.dat | 0 .../tests/html-api/wpHtmlProcessorHtml5lib.php | 2 +- 61 files changed, 1 insertion(+), 1 deletion(-) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/AUTHORS.rst (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/LICENSE (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/README.md (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/README.md (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/adoption01.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/adoption02.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/blocks.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/comments01.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/doctype01.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/domjs-unsafe.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/entities01.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/entities02.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/foreign-fragment.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/html5test-com.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/inbody01.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/isindex.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/main-element.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/math.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/menuitem-element.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/namespace-sensitivity.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/noscript01.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/pending-spec-changes-plain-text-unsafe.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/pending-spec-changes.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/plain-text-unsafe.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/quirks01.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/ruby.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/scriptdata01.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/search-element.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/svg.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tables01.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/template.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests1.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests10.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests11.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests12.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests14.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests15.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests16.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests17.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests18.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests19.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests2.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests20.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests21.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests22.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests23.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests24.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests25.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests26.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests3.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests4.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests5.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests6.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests7.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests8.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests9.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tests_innerHTML_1.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/tricky01.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/webkit01.dat (100%) rename tests/phpunit/{tests/html-api => data}/html5lib-tests/tree-construction/webkit02.dat (100%) diff --git a/tests/phpunit/tests/html-api/html5lib-tests/AUTHORS.rst b/tests/phpunit/data/html5lib-tests/AUTHORS.rst similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/AUTHORS.rst rename to tests/phpunit/data/html5lib-tests/AUTHORS.rst diff --git a/tests/phpunit/tests/html-api/html5lib-tests/LICENSE b/tests/phpunit/data/html5lib-tests/LICENSE similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/LICENSE rename to tests/phpunit/data/html5lib-tests/LICENSE diff --git a/tests/phpunit/tests/html-api/html5lib-tests/README.md b/tests/phpunit/data/html5lib-tests/README.md similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/README.md rename to tests/phpunit/data/html5lib-tests/README.md diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/README.md b/tests/phpunit/data/html5lib-tests/tree-construction/README.md similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/README.md rename to tests/phpunit/data/html5lib-tests/tree-construction/README.md diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/adoption01.dat b/tests/phpunit/data/html5lib-tests/tree-construction/adoption01.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/adoption01.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/adoption01.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/adoption02.dat b/tests/phpunit/data/html5lib-tests/tree-construction/adoption02.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/adoption02.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/adoption02.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/blocks.dat b/tests/phpunit/data/html5lib-tests/tree-construction/blocks.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/blocks.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/blocks.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/comments01.dat b/tests/phpunit/data/html5lib-tests/tree-construction/comments01.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/comments01.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/comments01.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/doctype01.dat b/tests/phpunit/data/html5lib-tests/tree-construction/doctype01.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/doctype01.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/doctype01.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/domjs-unsafe.dat b/tests/phpunit/data/html5lib-tests/tree-construction/domjs-unsafe.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/domjs-unsafe.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/domjs-unsafe.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/entities01.dat b/tests/phpunit/data/html5lib-tests/tree-construction/entities01.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/entities01.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/entities01.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/entities02.dat b/tests/phpunit/data/html5lib-tests/tree-construction/entities02.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/entities02.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/entities02.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/foreign-fragment.dat b/tests/phpunit/data/html5lib-tests/tree-construction/foreign-fragment.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/foreign-fragment.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/foreign-fragment.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/html5test-com.dat b/tests/phpunit/data/html5lib-tests/tree-construction/html5test-com.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/html5test-com.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/html5test-com.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/inbody01.dat b/tests/phpunit/data/html5lib-tests/tree-construction/inbody01.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/inbody01.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/inbody01.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/isindex.dat b/tests/phpunit/data/html5lib-tests/tree-construction/isindex.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/isindex.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/isindex.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/main-element.dat b/tests/phpunit/data/html5lib-tests/tree-construction/main-element.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/main-element.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/main-element.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/math.dat b/tests/phpunit/data/html5lib-tests/tree-construction/math.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/math.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/math.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/menuitem-element.dat b/tests/phpunit/data/html5lib-tests/tree-construction/menuitem-element.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/menuitem-element.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/menuitem-element.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/namespace-sensitivity.dat b/tests/phpunit/data/html5lib-tests/tree-construction/namespace-sensitivity.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/namespace-sensitivity.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/namespace-sensitivity.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/noscript01.dat b/tests/phpunit/data/html5lib-tests/tree-construction/noscript01.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/noscript01.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/noscript01.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/pending-spec-changes-plain-text-unsafe.dat b/tests/phpunit/data/html5lib-tests/tree-construction/pending-spec-changes-plain-text-unsafe.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/pending-spec-changes-plain-text-unsafe.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/pending-spec-changes-plain-text-unsafe.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/pending-spec-changes.dat b/tests/phpunit/data/html5lib-tests/tree-construction/pending-spec-changes.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/pending-spec-changes.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/pending-spec-changes.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/plain-text-unsafe.dat b/tests/phpunit/data/html5lib-tests/tree-construction/plain-text-unsafe.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/plain-text-unsafe.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/plain-text-unsafe.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/quirks01.dat b/tests/phpunit/data/html5lib-tests/tree-construction/quirks01.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/quirks01.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/quirks01.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/ruby.dat b/tests/phpunit/data/html5lib-tests/tree-construction/ruby.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/ruby.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/ruby.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/scriptdata01.dat b/tests/phpunit/data/html5lib-tests/tree-construction/scriptdata01.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/scriptdata01.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/scriptdata01.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/search-element.dat b/tests/phpunit/data/html5lib-tests/tree-construction/search-element.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/search-element.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/search-element.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/svg.dat b/tests/phpunit/data/html5lib-tests/tree-construction/svg.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/svg.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/svg.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tables01.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tables01.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tables01.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tables01.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/template.dat b/tests/phpunit/data/html5lib-tests/tree-construction/template.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/template.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/template.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests1.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests1.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests1.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests1.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests10.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests10.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests10.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests10.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests11.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests11.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests11.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests11.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests12.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests12.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests12.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests12.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests14.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests14.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests14.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests14.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests15.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests15.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests15.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests15.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests16.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests16.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests16.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests16.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests17.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests17.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests17.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests17.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests18.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests18.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests18.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests18.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests19.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests19.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests19.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests19.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests2.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests2.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests2.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests2.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests20.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests20.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests20.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests20.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests21.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests21.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests21.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests21.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests22.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests22.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests22.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests22.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests23.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests23.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests23.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests23.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests24.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests24.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests24.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests24.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests25.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests25.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests25.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests25.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests26.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests26.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests26.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests26.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests3.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests3.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests3.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests3.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests4.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests4.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests4.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests4.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests5.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests5.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests5.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests5.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests6.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests6.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests6.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests6.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests7.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests7.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests7.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests7.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests8.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests8.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests8.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests8.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests9.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests9.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests9.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests9.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests_innerHTML_1.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tests_innerHTML_1.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tests_innerHTML_1.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tests_innerHTML_1.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tricky01.dat b/tests/phpunit/data/html5lib-tests/tree-construction/tricky01.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/tricky01.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/tricky01.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/webkit01.dat b/tests/phpunit/data/html5lib-tests/tree-construction/webkit01.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/webkit01.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/webkit01.dat diff --git a/tests/phpunit/tests/html-api/html5lib-tests/tree-construction/webkit02.dat b/tests/phpunit/data/html5lib-tests/tree-construction/webkit02.dat similarity index 100% rename from tests/phpunit/tests/html-api/html5lib-tests/tree-construction/webkit02.dat rename to tests/phpunit/data/html5lib-tests/tree-construction/webkit02.dat diff --git a/tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php b/tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php index 4b4c12a091f69..dbadb068b3f9d 100644 --- a/tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php +++ b/tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php @@ -60,7 +60,7 @@ public function test_external_html5lib( $fragment_context, $html, $result ) { * @return array[] */ public function data_external_html5lib_tests() { - $test_dir = __DIR__ . '/html5lib-tests/tree-construction/'; + $test_dir = __DIR__ . '/../../data/html5lib-tests/tree-construction/'; $handle = opendir( $test_dir ); while ( false !== ( $entry = readdir( $handle ) ) ) {