summaryrefslogtreecommitdiff
path: root/test/SimpleTest/HTML5/TestDataHarness.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/SimpleTest/HTML5/TestDataHarness.php')
-rw-r--r--test/SimpleTest/HTML5/TestDataHarness.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/SimpleTest/HTML5/TestDataHarness.php b/test/SimpleTest/HTML5/TestDataHarness.php
new file mode 100644
index 0000000..0b90321
--- /dev/null
+++ b/test/SimpleTest/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;
+ }
+}
+