diff options
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; + } +} + |