diff options
author | Matt Farina <[email protected]> | 2013-05-15 11:24:22 -0400 |
---|---|---|
committer | Matt Farina <[email protected]> | 2013-05-15 11:24:22 -0400 |
commit | 0cdf4ae1aaf6aefdc7218dbb49e543e8603035a8 (patch) | |
tree | c10b651f07469b06242ac5ac8863250a957e9fd9 /test/SimpleTest/HTML5/JSONHarness.php | |
parent | 5be96c81985e8a40cfcaeff9c5d7ee055b46ac08 (diff) | |
parent | 69d1932bac21ded3d10f5df1a94d892efa2c1b89 (diff) |
Merge branch 'master' of github.com:technosophos/HTML5-PHP
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 - } -} |