rasmus                                   Thu, 01 Apr 2010 18:04:57 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=297300

Log:
Add new full_special_chars filter to tests

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/filter/tests/008.phpt
    U   php/php-src/branches/PHP_5_3/ext/filter/tests/033.phpt
    U   php/php-src/trunk/ext/filter/tests/008.phpt
    U   php/php-src/trunk/ext/filter/tests/033.phpt

Modified: php/php-src/branches/PHP_5_3/ext/filter/tests/008.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/filter/tests/008.phpt      2010-04-01 
17:15:22 UTC (rev 297299)
+++ php/php-src/branches/PHP_5_3/ext/filter/tests/008.phpt      2010-04-01 
18:04:57 UTC (rev 297300)
@@ -11,7 +11,7 @@
 echo "Done\n";
 ?>
 --EXPECTF--
-array(18) {
+array(19) {
   [0]=>
   string(3) "int"
   [1]=>
@@ -35,18 +35,20 @@
   [10]=>
   string(13) "special_chars"
   [11]=>
+  string(18) "full_special_chars"
+  [12]=>
   string(10) "unsafe_raw"
-  [12]=>
+  [13]=>
   string(5) "email"
-  [13]=>
+  [14]=>
   string(3) "url"
-  [14]=>
+  [15]=>
   string(10) "number_int"
-  [15]=>
+  [16]=>
   string(12) "number_float"
-  [16]=>
+  [17]=>
   string(12) "magic_quotes"
-  [17]=>
+  [18]=>
   string(8) "callback"
 }


Modified: php/php-src/branches/PHP_5_3/ext/filter/tests/033.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/filter/tests/033.phpt      2010-04-01 
17:15:22 UTC (rev 297299)
+++ php/php-src/branches/PHP_5_3/ext/filter/tests/033.phpt      2010-04-01 
18:04:57 UTC (rev 297300)
@@ -4,6 +4,7 @@
 <?php if (!extension_loaded("filter")) die("skip"); ?>
 --INI--
 precision=14
+default_charset=UTF-8
 --FILE--
 <?php
 include dirname(__FILE__) . '/033_run.inc';
@@ -20,6 +21,7 @@
 stripped            PHP  1  f...@bar.com    http://a.b.c        1.2.3.4   123  
123abc()            O&#39;Henry    하퍼
 encoded             PHP  1  foo%40bar.com  http%3A%2F%2Fa.b.c  1.2.3.4   123  
123abc%3C%3E%28%29  O%27Henry      %ED%95%98%ED%8D%BC
 special_chars       PHP  1  f...@bar.com    http://a.b.c        1.2.3.4   123  
123abc&#60;&#62;()  O&#39;Henry    하퍼
+full_special_chars  PHP  1  f...@bar.com    http://a.b.c        1.2.3.4   123  
123abc&lt;&gt;()    O&#039;Henry   하퍼
 unsafe_raw          PHP  1  f...@bar.com    http://a.b.c        1.2.3.4   123  
123abc<>()          O'Henry        하퍼
 email               PHP  1  f...@bar.com    httpa.b.c           1.2.3.4   123  
123abc              O'Henry
 url                 PHP  1  f...@bar.com    http://a.b.c        1.2.3.4   123  
123abc<>()          O'Henry

Modified: php/php-src/trunk/ext/filter/tests/008.phpt
===================================================================
--- php/php-src/trunk/ext/filter/tests/008.phpt 2010-04-01 17:15:22 UTC (rev 
297299)
+++ php/php-src/trunk/ext/filter/tests/008.phpt 2010-04-01 18:04:57 UTC (rev 
297300)
@@ -11,7 +11,7 @@
 echo "Done\n";
 ?>
 --EXPECTF--
-array(18) {
+array(19) {
   [0]=>
   string(3) "int"
   [1]=>
@@ -35,18 +35,20 @@
   [10]=>
   string(13) "special_chars"
   [11]=>
+  string(18) "full_special_chars"
+  [12]=>
   string(10) "unsafe_raw"
-  [12]=>
+  [13]=>
   string(5) "email"
-  [13]=>
+  [14]=>
   string(3) "url"
-  [14]=>
+  [15]=>
   string(10) "number_int"
-  [15]=>
+  [16]=>
   string(12) "number_float"
-  [16]=>
+  [17]=>
   string(12) "magic_quotes"
-  [17]=>
+  [18]=>
   string(8) "callback"
 }


Modified: php/php-src/trunk/ext/filter/tests/033.phpt
===================================================================
--- php/php-src/trunk/ext/filter/tests/033.phpt 2010-04-01 17:15:22 UTC (rev 
297299)
+++ php/php-src/trunk/ext/filter/tests/033.phpt 2010-04-01 18:04:57 UTC (rev 
297300)
@@ -4,6 +4,7 @@
 <?php if (!extension_loaded("filter")) die("skip"); ?>
 --INI--
 precision=14
+default_charset=UTF-8
 --FILE--
 <?php
 include dirname(__FILE__) . '/033_run.inc';
@@ -20,6 +21,7 @@
 stripped            PHP  1  f...@bar.com    http://a.b.c        1.2.3.4   123  
123abc()            O&#39;Henry    하퍼
 encoded             PHP  1  foo%40bar.com  http%3A%2F%2Fa.b.c  1.2.3.4   123  
123abc%3C%3E%28%29  O%27Henry      %ED%95%98%ED%8D%BC
 special_chars       PHP  1  f...@bar.com    http://a.b.c        1.2.3.4   123  
123abc&#60;&#62;()  O&#39;Henry    하퍼
+full_special_chars  PHP  1  f...@bar.com    http://a.b.c        1.2.3.4   123  
123abc&lt;&gt;()    O&#039;Henry   하퍼
 unsafe_raw          PHP  1  f...@bar.com    http://a.b.c        1.2.3.4   123  
123abc<>()          O'Henry        하퍼
 email               PHP  1  f...@bar.com    httpa.b.c           1.2.3.4   123  
123abc              O'Henry
 url                 PHP  1  f...@bar.com    http://a.b.c        1.2.3.4   123  
123abc<>()          O'Henry

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to