summaryrefslogtreecommitdiff
path: root/test/SimpleTest/HTML5/JSONHarness.php
diff options
context:
space:
mode:
authorMatt Butcher <[email protected]>2013-05-15 09:44:57 -0500
committerMatt Butcher <[email protected]>2013-05-15 09:44:57 -0500
commit69d1932bac21ded3d10f5df1a94d892efa2c1b89 (patch)
treefdf15a01e2d6bebe1d46919b3d859c36fb1591d1 /test/SimpleTest/HTML5/JSONHarness.php
parentac286005c0eef03c85a4d75a6b36cc30d2c5990e (diff)
Removed the last vestiges of libhtml5.
Diffstat (limited to 'test/SimpleTest/HTML5/JSONHarness.php')
-rw-r--r--test/SimpleTest/HTML5/JSONHarness.php21
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
- }
-}