tony2001                Mon Aug  7 22:19:45 2006 UTC

  Modified files:              
    /php-src/ext/wddx/tests     001.phpt 
  Log:
  fix test
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/wddx/tests/001.phpt?r1=1.7&r2=1.8&diff_format=u
Index: php-src/ext/wddx/tests/001.phpt
diff -u php-src/ext/wddx/tests/001.phpt:1.7 php-src/ext/wddx/tests/001.phpt:1.8
--- php-src/ext/wddx/tests/001.phpt:1.7 Wed Dec 21 11:43:24 2005
+++ php-src/ext/wddx/tests/001.phpt     Mon Aug  7 22:19:45 2006
@@ -57,3 +57,53 @@
     }
   }
 }
+--UEXPECT--
+array(11) {
+  [u"aNull"]=>
+  NULL
+  [u"aString"]=>
+  string(8) "a string"
+  [u"aNumber"]=>
+  float(-12.456)
+  [u"aDateTime"]=>
+  int(897625932)
+  [u"aDateTime2"]=>
+  int(329632332)
+  [u"aDateTime3"]=>
+  string(22) "2040-06-12T04:32:12+00"
+  [u"aBoolean"]=>
+  bool(true)
+  [u"anArray"]=>
+  array(2) {
+    [0]=>
+    int(10)
+    [1]=>
+    string(14) "second element"
+  }
+  [u"aBinary"]=>
+  string(11) "binary data"
+  [u"anObject"]=>
+  array(2) {
+    [u"s"]=>
+    string(8) "a string"
+    [u"n"]=>
+    float(-12.456)
+  }
+  [u"aRecordset"]=>
+  array(2) {
+    [u"NAME"]=>
+    array(2) {
+      [0]=>
+      string(8) "John Doe"
+      [1]=>
+      string(8) "Jane Doe"
+    }
+    [u"AGE"]=>
+    array(2) {
+      [0]=>
+      int(34)
+      [1]=>
+      int(31)
+    }
+  }
+}

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

Reply via email to