]> granicus.if.org Git - php/commitdiff
Added UEXPECT
authorFelipe Pena <felipe@php.net>
Thu, 28 Feb 2008 15:41:56 +0000 (15:41 +0000)
committerFelipe Pena <felipe@php.net>
Thu, 28 Feb 2008 15:41:56 +0000 (15:41 +0000)
ext/spl/tests/heap_008.phpt
ext/spl/tests/pqueue_004.phpt
ext/sqlite/tests/bug35248.phpt

index 2b3c9a4a3cbd5f53d097269cd5b1df309e2b2009..1e0da582a1c1b45d3eac74835cad34092687922f 100644 (file)
@@ -33,4 +33,22 @@ object(SplMaxHeap)#1 (3) {
     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===
index 3e781ddc1410ed52ea2e55885f6dfe76f29b6e1c..1df7530ef5b5109bb3409c5cfe59bcaae052b2b5 100644 (file)
@@ -53,4 +53,42 @@ object(SplPriorityQueue)#1 (3) {
     }
   }
 }
+--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===
index 4898a4142e88126b17f201a03e365fda51f2e30a..89efc816c9f01c51eab1374248ca8eec7196b26f 100644 (file)
@@ -13,3 +13,6 @@ Bug #35248 (sqlite_query does not return parse error message)
 --EXPECT--
 string(30) "near "asdfesdfa": syntax error"
 string(30) "near "asdfesdfa": syntax error"
+--UEXPECT--
+unicode(30) "near "asdfesdfa": syntax error"
+unicode(30) "near "asdfesdfa": syntax error"