cvs: php4 /ext/mbstring/tests 002.inc 003.inc 004.inc 005.inc 006.inc 008.inc 009.inc 010.inc 011.inc 012.inc 013.inc 014.inc 015.inc 016.inc 017.inc
018.inc 019.inc
| From: | Yasuo Ohgaki | Date: | Mon, 18 Mar 2002 06:03:53 +0000 |
| Subject: | cvs: php4 /ext/mbstring/tests 002.inc 003.inc 004.inc 005.inc 006.inc 008.inc 009.inc 010.inc 011.inc 012.inc 013.inc 014.inc 015.inc 016.inc 017.inc 018.inc 019.inc |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10327@lists.php.net to get a copy of this message | ||
yohgaki Mon Mar 18 01:03:53 2002 EDT
Modified files:
/php4/ext/mbstring/tests 002.inc 003.inc 004.inc 005.inc 006.inc
008.inc 009.inc 010.inc 011.inc 012.inc
013.inc 014.inc 015.inc 016.inc 017.inc
018.inc 019.inc
Log:
Use common.inc instead of common.php for ease of use (rm -f *.php for failed
test files)
Index: php4/ext/mbstring/tests/002.inc diff -u php4/ext/mbstring/tests/002.inc:1.3 php4/ext/mbstring/tests/002.inc:1.4 --- php4/ext/mbstring/tests/002.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/002.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // EUC-JP $r = mb_internal_encoding('EUC-JP'); Index: php4/ext/mbstring/tests/003.inc diff -u php4/ext/mbstring/tests/003.inc:1.3 php4/ext/mbstring/tests/003.inc:1.4 --- php4/ext/mbstring/tests/003.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/003.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: This is not a real test.... Need to change so that it does real testing //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); $ini = ini_get('mbstring.http_input'); Index: php4/ext/mbstring/tests/004.inc diff -u php4/ext/mbstring/tests/004.inc:1.3 php4/ext/mbstring/tests/004.inc:1.4 --- php4/ext/mbstring/tests/004.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/004.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ //TODO: Add more encoding. Wrong paramter type test. //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Set HTTP output encoding to ASCII $r = mb_http_output('ASCII'); Index: php4/ext/mbstring/tests/005.inc diff -u php4/ext/mbstring/tests/005.inc:1.3 php4/ext/mbstring/tests/005.inc:1.4 --- php4/ext/mbstring/tests/005.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/005.inc Mon Mar 18 01:03:53 2002 @@ -1,7 +1,7 @@ <?php //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Set order to "auto" Index: php4/ext/mbstring/tests/006.inc diff -u php4/ext/mbstring/tests/006.inc:1.3 php4/ext/mbstring/tests/006.inc:1.4 --- php4/ext/mbstring/tests/006.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/006.inc Mon Mar 18 01:03:53 2002 @@ -1,7 +1,7 @@ <?php //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Note: It does not return TRUE/FALSE for setting char Index: php4/ext/mbstring/tests/008.inc diff -u php4/ext/mbstring/tests/008.inc:1.3 php4/ext/mbstring/tests/008.inc:1.4 --- php4/ext/mbstring/tests/008.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/008.inc Mon Mar 18 01:03:53 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); $str = mb_preferred_mime_name('sjis-win'); Index: php4/ext/mbstring/tests/009.inc diff -u php4/ext/mbstring/tests/009.inc:1.3 php4/ext/mbstring/tests/009.inc:1.4 --- php4/ext/mbstring/tests/009.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/009.inc Mon Mar 18 01:03:53 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // restore detect_order to 'auto' mb_detect_order('auto'); Index: php4/ext/mbstring/tests/010.inc diff -u php4/ext/mbstring/tests/010.inc:1.3 php4/ext/mbstring/tests/010.inc:1.4 --- php4/ext/mbstring/tests/010.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/010.inc Mon Mar 18 01:03:53 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Test string Index: php4/ext/mbstring/tests/011.inc diff -u php4/ext/mbstring/tests/011.inc:1.3 php4/ext/mbstring/tests/011.inc:1.4 --- php4/ext/mbstring/tests/011.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/011.inc Mon Mar 18 01:03:53 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Test string Index: php4/ext/mbstring/tests/012.inc diff -u php4/ext/mbstring/tests/012.inc:1.3 php4/ext/mbstring/tests/012.inc:1.4 --- php4/ext/mbstring/tests/012.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/012.inc Mon Mar 18 01:03:53 2002 @@ -1,7 +1,7 @@ <?php // TODO: Add more encodings ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // EUC-JP $euc_jp = '0123¤³¤Îʸ»úÎó¤ÏÆüËܸì¤Ç¤¹¡£EUC-JP¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ¤¤¡£'; Index: php4/ext/mbstring/tests/013.inc diff -u php4/ext/mbstring/tests/013.inc:1.3 php4/ext/mbstring/tests/013.inc:1.4 --- php4/ext/mbstring/tests/013.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/013.inc Mon Mar 18 01:03:53 2002 @@ -1,7 +1,7 @@ <?php // TODO: Add more encodings ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // EUC-JP $euc_jp = '0123¤³¤Îʸ»úÎó¤ÏÆüËܸì¤Ç¤¹¡£EUC-JP¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ¤¤¡£'; Index: php4/ext/mbstring/tests/014.inc diff -u php4/ext/mbstring/tests/014.inc:1.3 php4/ext/mbstring/tests/014.inc:1.4 --- php4/ext/mbstring/tests/014.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/014.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: Add more encoding //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // EUC-JP $euc_jp = '0123¤³¤Îʸ»úÎó¤ÏÆüËܸì¤Ç¤¹¡£EUC-JP¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ¤¤¡£'; Index: php4/ext/mbstring/tests/015.inc diff -u php4/ext/mbstring/tests/015.inc:1.3 php4/ext/mbstring/tests/015.inc:1.4 --- php4/ext/mbstring/tests/015.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/015.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: Add more tests //$debug = true; // Uncomment this line to view error/warning/notice message in *.out file ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // SJIS string (BASE64 encoded) $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=='); Index: php4/ext/mbstring/tests/016.inc diff -u php4/ext/mbstring/tests/016.inc:1.3 php4/ext/mbstring/tests/016.inc:1.4 --- php4/ext/mbstring/tests/016.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/016.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: Add more tests //$debug = true; // Uncomment this line to view error/warning/notice message in *.out file ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // SJIS string (BASE64 encoded) $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=='); Index: php4/ext/mbstring/tests/017.inc diff -u php4/ext/mbstring/tests/017.inc:1.3 php4/ext/mbstring/tests/017.inc:1.4 --- php4/ext/mbstring/tests/017.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/017.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: Add more tests //$debug = true; // Uncomment this line to view error/warning/notice message in *.out file ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // SJIS string (BASE64 encoded) $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=='); Index: php4/ext/mbstring/tests/018.inc diff -u php4/ext/mbstring/tests/018.inc:1.3 php4/ext/mbstring/tests/018.inc:1.4 --- php4/ext/mbstring/tests/018.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/018.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: Add more encoding, strings..... //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // EUC-JP $euc_jp = '0123¤³¤Îʸ»úÎó¤ÏÆüËܸì¤Ç¤¹¡£EUC-JP¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ¤¤¡£'; Index: php4/ext/mbstring/tests/019.inc diff -u php4/ext/mbstring/tests/019.inc:1.3 php4/ext/mbstring/tests/019.inc:1.4 --- php4/ext/mbstring/tests/019.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/019.inc Mon Mar 18 01:03:53 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // restore detect_order to 'auto' mb_detect_order('auto');
Index: php4/ext/mbstring/tests/002.inc diff -u php4/ext/mbstring/tests/002.inc:1.3 php4/ext/mbstring/tests/002.inc:1.4 --- php4/ext/mbstring/tests/002.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/002.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // EUC-JP $r = mb_internal_encoding('EUC-JP'); Index: php4/ext/mbstring/tests/003.inc diff -u php4/ext/mbstring/tests/003.inc:1.3 php4/ext/mbstring/tests/003.inc:1.4 --- php4/ext/mbstring/tests/003.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/003.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: This is not a real test.... Need to change so that it does real testing //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); $ini = ini_get('mbstring.http_input'); Index: php4/ext/mbstring/tests/004.inc diff -u php4/ext/mbstring/tests/004.inc:1.3 php4/ext/mbstring/tests/004.inc:1.4 --- php4/ext/mbstring/tests/004.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/004.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ //TODO: Add more encoding. Wrong paramter type test. //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Set HTTP output encoding to ASCII $r = mb_http_output('ASCII'); Index: php4/ext/mbstring/tests/005.inc diff -u php4/ext/mbstring/tests/005.inc:1.3 php4/ext/mbstring/tests/005.inc:1.4 --- php4/ext/mbstring/tests/005.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/005.inc Mon Mar 18 01:03:53 2002 @@ -1,7 +1,7 @@ <?php //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Set order to "auto" Index: php4/ext/mbstring/tests/006.inc diff -u php4/ext/mbstring/tests/006.inc:1.3 php4/ext/mbstring/tests/006.inc:1.4 --- php4/ext/mbstring/tests/006.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/006.inc Mon Mar 18 01:03:53 2002 @@ -1,7 +1,7 @@ <?php //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Note: It does not return TRUE/FALSE for setting char Index: php4/ext/mbstring/tests/008.inc diff -u php4/ext/mbstring/tests/008.inc:1.3 php4/ext/mbstring/tests/008.inc:1.4 --- php4/ext/mbstring/tests/008.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/008.inc Mon Mar 18 01:03:53 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); $str = mb_preferred_mime_name('sjis-win'); Index: php4/ext/mbstring/tests/009.inc diff -u php4/ext/mbstring/tests/009.inc:1.3 php4/ext/mbstring/tests/009.inc:1.4 --- php4/ext/mbstring/tests/009.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/009.inc Mon Mar 18 01:03:53 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // restore detect_order to 'auto' mb_detect_order('auto'); Index: php4/ext/mbstring/tests/010.inc diff -u php4/ext/mbstring/tests/010.inc:1.3 php4/ext/mbstring/tests/010.inc:1.4 --- php4/ext/mbstring/tests/010.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/010.inc Mon Mar 18 01:03:53 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Test string Index: php4/ext/mbstring/tests/011.inc diff -u php4/ext/mbstring/tests/011.inc:1.3 php4/ext/mbstring/tests/011.inc:1.4 --- php4/ext/mbstring/tests/011.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/011.inc Mon Mar 18 01:03:53 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Test string Index: php4/ext/mbstring/tests/012.inc diff -u php4/ext/mbstring/tests/012.inc:1.3 php4/ext/mbstring/tests/012.inc:1.4 --- php4/ext/mbstring/tests/012.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/012.inc Mon Mar 18 01:03:53 2002 @@ -1,7 +1,7 @@ <?php // TODO: Add more encodings ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // EUC-JP $euc_jp = '0123¤³¤Îʸ»úÎó¤ÏÆüËܸì¤Ç¤¹¡£EUC-JP¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ¤¤¡£'; Index: php4/ext/mbstring/tests/013.inc diff -u php4/ext/mbstring/tests/013.inc:1.3 php4/ext/mbstring/tests/013.inc:1.4 --- php4/ext/mbstring/tests/013.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/013.inc Mon Mar 18 01:03:53 2002 @@ -1,7 +1,7 @@ <?php // TODO: Add more encodings ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // EUC-JP $euc_jp = '0123¤³¤Îʸ»úÎó¤ÏÆüËܸì¤Ç¤¹¡£EUC-JP¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ¤¤¡£'; Index: php4/ext/mbstring/tests/014.inc diff -u php4/ext/mbstring/tests/014.inc:1.3 php4/ext/mbstring/tests/014.inc:1.4 --- php4/ext/mbstring/tests/014.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/014.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: Add more encoding //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // EUC-JP $euc_jp = '0123¤³¤Îʸ»úÎó¤ÏÆüËܸì¤Ç¤¹¡£EUC-JP¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ¤¤¡£'; Index: php4/ext/mbstring/tests/015.inc diff -u php4/ext/mbstring/tests/015.inc:1.3 php4/ext/mbstring/tests/015.inc:1.4 --- php4/ext/mbstring/tests/015.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/015.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: Add more tests //$debug = true; // Uncomment this line to view error/warning/notice message in *.out file ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // SJIS string (BASE64 encoded) $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=='); Index: php4/ext/mbstring/tests/016.inc diff -u php4/ext/mbstring/tests/016.inc:1.3 php4/ext/mbstring/tests/016.inc:1.4 --- php4/ext/mbstring/tests/016.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/016.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: Add more tests //$debug = true; // Uncomment this line to view error/warning/notice message in *.out file ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // SJIS string (BASE64 encoded) $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=='); Index: php4/ext/mbstring/tests/017.inc diff -u php4/ext/mbstring/tests/017.inc:1.3 php4/ext/mbstring/tests/017.inc:1.4 --- php4/ext/mbstring/tests/017.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/017.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: Add more tests //$debug = true; // Uncomment this line to view error/warning/notice message in *.out file ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // SJIS string (BASE64 encoded) $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=='); Index: php4/ext/mbstring/tests/018.inc diff -u php4/ext/mbstring/tests/018.inc:1.3 php4/ext/mbstring/tests/018.inc:1.4 --- php4/ext/mbstring/tests/018.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/018.inc Mon Mar 18 01:03:53 2002 @@ -2,7 +2,7 @@ // TODO: Add more encoding, strings..... //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // EUC-JP $euc_jp = '0123¤³¤Îʸ»úÎó¤ÏÆüËܸì¤Ç¤¹¡£EUC-JP¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ¤¤¡£'; Index: php4/ext/mbstring/tests/019.inc diff -u php4/ext/mbstring/tests/019.inc:1.3 php4/ext/mbstring/tests/019.inc:1.4 --- php4/ext/mbstring/tests/019.inc:1.3 Sat Mar 16 02:33:21 2002 +++ php4/ext/mbstring/tests/019.inc Mon Mar 18 01:03:53 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // restore detect_order to 'auto' mb_detect_order('auto');