diff options
Diffstat (limited to 'test/SimpleTest/HTML5/JSONHarness.php')
-rw-r--r-- | test/SimpleTest/HTML5/JSONHarness.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/SimpleTest/HTML5/JSONHarness.php b/test/SimpleTest/HTML5/JSONHarness.php deleted file mode 100644 index dd1cf66..0000000 --- a/test/SimpleTest/HTML5/JSONHarness.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -/** - * Implementation specifically for JSON format files. - */ -SimpleTest::ignore('HTML5_JSONHarness'); -abstract class HTML5_JSONHarness extends HTML5_DataHarness -{ - protected $data; - public function __construct() { - parent::__construct(); - $this->data = json_decode(file_get_contents($this->filename)); - } - public function getDescription($test) { - return $test->description; - } - public function getDataTests() { - return isset($this->data->tests) ? $this->data->tests : array(); - // could be a weird xmlViolationsTest - } -} |