bjori           Sun Jun 11 00:16:04 2006 UTC

  Modified files:              
    /php-src/ext/dba/tests      dba_cdb.phpt dba_cdb_make.phpt 
                                dba_flatfile.phpt dba_inifile.phpt 
  Log:
  Fixed tests in unicode mode
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/dba/tests/dba_cdb.phpt?r1=1.8&r2=1.9&diff_format=u
Index: php-src/ext/dba/tests/dba_cdb.phpt
diff -u php-src/ext/dba/tests/dba_cdb.phpt:1.8 
php-src/ext/dba/tests/dba_cdb.phpt:1.9
--- php-src/ext/dba/tests/dba_cdb.phpt:1.8      Thu Dec 18 20:10:24 2003
+++ php-src/ext/dba/tests/dba_cdb.phpt  Sun Jun 11 00:16:04 2006
@@ -45,3 +45,36 @@
   string(23) "The last content string"
 }
 ===DONE===
+--UEXPECT--
+database handler: cdb
+5YYYYY
+Content String 2
+array(5) {
+  [u"key1"]=>
+  string(16) "Content String 1"
+  [u"key2"]=>
+  string(16) "Content String 2"
+  [u"key3"]=>
+  string(20) "Third Content String"
+  [u"key4"]=>
+  string(22) "Another Content String"
+  [u"key5"]=>
+  string(23) "The last content string"
+}
+--NO-LOCK--
+5YYYYY
+Content String 2
+array(5) {
+  [u"key1"]=>
+  string(16) "Content String 1"
+  [u"key2"]=>
+  string(16) "Content String 2"
+  [u"key3"]=>
+  string(20) "Third Content String"
+  [u"key4"]=>
+  string(22) "Another Content String"
+  [u"key5"]=>
+  string(23) "The last content string"
+}
+===DONE===
+
http://cvs.php.net/viewcvs.cgi/php-src/ext/dba/tests/dba_cdb_make.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/dba/tests/dba_cdb_make.phpt
diff -u php-src/ext/dba/tests/dba_cdb_make.phpt:1.5 
php-src/ext/dba/tests/dba_cdb_make.phpt:1.6
--- php-src/ext/dba/tests/dba_cdb_make.phpt:1.5 Wed Mar  8 00:43:27 2006
+++ php-src/ext/dba/tests/dba_cdb_make.phpt     Sun Jun 11 00:16:04 2006
@@ -34,3 +34,8 @@
 database handler: cdb_make
 string(32) "12fc5ba2b9dcfef2480e5324eeb5f3e5"
 string(32) "12fc5ba2b9dcfef2480e5324eeb5f3e5"
+--UEXPECT--
+database handler: cdb_make
+unicode(32) "12fc5ba2b9dcfef2480e5324eeb5f3e5"
+unicode(32) "12fc5ba2b9dcfef2480e5324eeb5f3e5"
+
http://cvs.php.net/viewcvs.cgi/php-src/ext/dba/tests/dba_flatfile.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/dba/tests/dba_flatfile.phpt
diff -u php-src/ext/dba/tests/dba_flatfile.phpt:1.5 
php-src/ext/dba/tests/dba_flatfile.phpt:1.6
--- php-src/ext/dba/tests/dba_flatfile.phpt:1.5 Thu Dec 18 20:10:24 2003
+++ php-src/ext/dba/tests/dba_flatfile.phpt     Sun Jun 11 00:16:04 2006
@@ -44,3 +44,36 @@
   string(23) "The last content string"
 }
 ===DONE===
+--UEXPECT--
+database handler: flatfile
+3NYNYY
+Content String 2
+Content 2 replaced
+Read during write: not allowed
+Content 2 replaced 2nd time
+The 6th value
+array(3) {
+  [u"key number 6"]=>
+  string(13) "The 6th value"
+  [u"key2"]=>
+  string(27) "Content 2 replaced 2nd time"
+  [u"key5"]=>
+  string(23) "The last content string"
+}
+--NO-LOCK--
+3NYNYY
+Content String 2
+Content 2 replaced
+Read during write: not allowed
+Content 2 replaced 2nd time
+The 6th value
+array(3) {
+  [u"key number 6"]=>
+  string(13) "The 6th value"
+  [u"key2"]=>
+  string(27) "Content 2 replaced 2nd time"
+  [u"key5"]=>
+  string(23) "The last content string"
+}
+===DONE===
+
http://cvs.php.net/viewcvs.cgi/php-src/ext/dba/tests/dba_inifile.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/dba/tests/dba_inifile.phpt
diff -u php-src/ext/dba/tests/dba_inifile.phpt:1.3 
php-src/ext/dba/tests/dba_inifile.phpt:1.4
--- php-src/ext/dba/tests/dba_inifile.phpt:1.3  Thu Dec 18 20:10:24 2003
+++ php-src/ext/dba/tests/dba_inifile.phpt      Sun Jun 11 00:16:04 2006
@@ -44,3 +44,36 @@
   string(23) "The last content string"
 }
 ===DONE===
+--UEXPECT--
+database handler: inifile
+3NYNYY
+Content String 2
+Content 2 replaced
+Read during write: not allowed
+Content 2 replaced 2nd time
+The 6th value
+array(3) {
+  [u"key number 6"]=>
+  string(13) "The 6th value"
+  [u"key2"]=>
+  string(27) "Content 2 replaced 2nd time"
+  [u"key5"]=>
+  string(23) "The last content string"
+}
+--NO-LOCK--
+3NYNYY
+Content String 2
+Content 2 replaced
+Read during write: not allowed
+Content 2 replaced 2nd time
+The 6th value
+array(3) {
+  [u"key number 6"]=>
+  string(13) "The 6th value"
+  [u"key2"]=>
+  string(27) "Content 2 replaced 2nd time"
+  [u"key5"]=>
+  string(23) "The last content string"
+}
+===DONE===
+

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

Reply via email to