felipe          Thu Feb 28 15:40:34 2008 UTC

  Modified files:              
    /php-src/ext/spl/tests      heap_008.phpt pqueue_004.phpt 
  Log:
  Added UEXPECT
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/heap_008.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/spl/tests/heap_008.phpt
diff -u php-src/ext/spl/tests/heap_008.phpt:1.1 
php-src/ext/spl/tests/heap_008.phpt:1.2
--- php-src/ext/spl/tests/heap_008.phpt:1.1     Mon Feb 25 23:36:36 2008
+++ php-src/ext/spl/tests/heap_008.phpt Thu Feb 28 15:40:34 2008
@@ -33,4 +33,22 @@
     int(1)
   }
 }
+--UEXPECTF--
+object(SplMaxHeap)#1 (3) {
+  [u"flags":u"SplHeap":private]=>
+  int(0)
+  [u"isCorrupted":u"SplHeap":private]=>
+  bool(false)
+  [u"heap":u"SplHeap":private]=>
+  array(4) {
+    [0]=>
+    int(5)
+    [1]=>
+    int(4)
+    [2]=>
+    int(0)
+    [3]=>
+    int(1)
+  }
+}
 ===DONE===
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/pqueue_004.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/spl/tests/pqueue_004.phpt
diff -u php-src/ext/spl/tests/pqueue_004.phpt:1.1 
php-src/ext/spl/tests/pqueue_004.phpt:1.2
--- php-src/ext/spl/tests/pqueue_004.phpt:1.1   Mon Feb 25 23:36:36 2008
+++ php-src/ext/spl/tests/pqueue_004.phpt       Thu Feb 28 15:40:34 2008
@@ -53,4 +53,42 @@
     }
   }
 }
+--UEXPECTF--
+object(SplPriorityQueue)#1 (3) {
+  [u"flags":u"SplPriorityQueue":private]=>
+  int(1)
+  [u"isCorrupted":u"SplPriorityQueue":private]=>
+  bool(false)
+  [u"heap":u"SplPriorityQueue":private]=>
+  array(4) {
+    [0]=>
+    array(2) {
+      ["data"]=>
+      unicode(1) "c"
+      ["priority"]=>
+      int(5)
+    }
+    [1]=>
+    array(2) {
+      ["data"]=>
+      unicode(1) "a"
+      ["priority"]=>
+      int(0)
+    }
+    [2]=>
+    array(2) {
+      ["data"]=>
+      unicode(1) "b"
+      ["priority"]=>
+      int(1)
+    }
+    [3]=>
+    array(2) {
+      ["data"]=>
+      unicode(1) "d"
+      ["priority"]=>
+      int(-2)
+    }
+  }
+}
 ===DONE===

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

Reply via email to