diff options
Diffstat (limited to 'ext/json/tests')
-rw-r--r-- | ext/json/tests/fail001.phpt | 3 | ||||
-rw-r--r-- | ext/json/tests/pass001.1.phpt | 12 | ||||
-rw-r--r-- | ext/json/tests/pass001.phpt | 3 | ||||
-rw-r--r-- | ext/json/tests/pass002.phpt | 3 | ||||
-rw-r--r-- | ext/json/tests/pass003.phpt | 3 |
5 files changed, 10 insertions, 14 deletions
diff --git a/ext/json/tests/fail001.phpt b/ext/json/tests/fail001.phpt index 4ee3780cf3..f0e0afa387 100644 --- a/ext/json/tests/fail001.phpt +++ b/ext/json/tests/fail001.phpt @@ -1,6 +1,5 @@ --TEST-- -JSON Test Pattern fail1 -> fail24 -http://www.crockford.com/JSON/JSON_checker/test/fail*.json +JSON (http://www.crockford.com/JSON/JSON_checker/test/fail*.json) --SKIPIF-- <?php if (!extension_loaded('json')) die('skip: json extension not available'); diff --git a/ext/json/tests/pass001.1.phpt b/ext/json/tests/pass001.1.phpt index 0cb05308da..87766e912c 100644 --- a/ext/json/tests/pass001.1.phpt +++ b/ext/json/tests/pass001.1.phpt @@ -1,16 +1,16 @@ --TEST-- -JSON Test Pattern pass1.1 -Modified to test unescaped UNICODE as keys and values. -Modified to test numbers with exponents without a decimal point. -Modified to test empty string values. -Modified to test a mix of integers and strings as keys. -http://www.crockford.com/JSON/JSON_checker/test/pass1.json +JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json) --SKIPIF-- <?php if (!extension_loaded('json')) die('skip: json extension not available'); ?> --FILE-- <?php +/* Modified to test unescaped UNICODE as keys and values. + * Modified to test numbers with exponents without a decimal point. + * Modified to test empty string values. + * Modified to test a mix of integers and strings as keys. + */ // Expect warnings about INF. ini_set("error_reporting", E_ALL & ~E_WARNING); diff --git a/ext/json/tests/pass001.phpt b/ext/json/tests/pass001.phpt index aff970b107..f2aba683b0 100644 --- a/ext/json/tests/pass001.phpt +++ b/ext/json/tests/pass001.phpt @@ -1,6 +1,5 @@ --TEST-- -JSON Test Pattern pass1 -http://www.crockford.com/JSON/JSON_checker/test/pass1.json +JSON (http://www.crockford.com/JSON/JSON_checker/test/pass1.json) --SKIPIF-- <?php if (!extension_loaded('json')) die('skip: json extension not available'); diff --git a/ext/json/tests/pass002.phpt b/ext/json/tests/pass002.phpt index a0e527ac4f..24c7e33580 100644 --- a/ext/json/tests/pass002.phpt +++ b/ext/json/tests/pass002.phpt @@ -1,6 +1,5 @@ --TEST-- -JSON Test Pattern pass2 -http://www.crockford.com/JSON/JSON_checker/test/pass2.json +JSON (http://www.crockford.com/JSON/JSON_checker/test/pass2.json) --SKIPIF-- <?php if (!extension_loaded('json')) die('skip: json extension not available'); diff --git a/ext/json/tests/pass003.phpt b/ext/json/tests/pass003.phpt index 506ff05b3e..36da4a1de6 100644 --- a/ext/json/tests/pass003.phpt +++ b/ext/json/tests/pass003.phpt @@ -1,6 +1,5 @@ --TEST-- -JSON Test Pattern pass3 -http://www.crockford.com/JSON/JSON_checker/test/pass3.json +JSON (http://www.crockford.com/JSON/JSON_checker/test/pass3.json) --SKIPIF-- <?php if (!extension_loaded('json')) die('skip: json extension not available'); |