diff options
author | Technosophos <[email protected]> | 2013-04-02 16:44:02 -0500 |
---|---|---|
committer | Technosophos <[email protected]> | 2013-04-02 16:44:02 -0500 |
commit | 8a5d21165697440ae80756d9b8acf56dd682d0fc (patch) | |
tree | 27305660f874c168308418fe3a7d6bf0c3aa3de6 /test/HTML5/TestDataHarness.php | |
parent | 91d1684acf50e0f6b58c877765ab9863e650a33a (diff) |
Initial add of html5lib.
Diffstat (limited to 'test/HTML5/TestDataHarness.php')
-rw-r--r-- | test/HTML5/TestDataHarness.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/HTML5/TestDataHarness.php b/test/HTML5/TestDataHarness.php new file mode 100644 index 0000000..0b90321 --- /dev/null +++ b/test/HTML5/TestDataHarness.php @@ -0,0 +1,18 @@ +<?php + +SimpleTest::ignore('HTML5_TestDataHarness'); +abstract class HTML5_TestDataHarness extends HTML5_DataHarness +{ + protected $data; + public function __construct() { + parent::__construct(); + $this->data = new HTML5_TestData($this->filename); + } + public function getDescription($test) { + return $test['data']; + } + public function getDataTests() { + return $this->data->tests; + } +} + |