summaryrefslogtreecommitdiff
path: root/ext/json
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-08-07 23:28:05 +0000
committerMarcus Boerger <helly@php.net>2006-08-07 23:28:05 +0000
commitefc6ff0c3954d6abe4e544715e457600b0d5be20 (patch)
tree77928727d5e0f6ab00b978dac3494687702472c7 /ext/json
parentc1c2a0d294cefc136d7eff00b6ef2e60c7ad7f8e (diff)
downloadphp-git-efc6ff0c3954d6abe4e544715e457600b0d5be20.tar.gz
- Test name must not be more than a single line
Diffstat (limited to 'ext/json')
-rw-r--r--ext/json/tests/fail001.phpt3
-rw-r--r--ext/json/tests/pass001.1.phpt12
-rw-r--r--ext/json/tests/pass001.phpt3
-rw-r--r--ext/json/tests/pass002.phpt3
-rw-r--r--ext/json/tests/pass003.phpt3
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');