From: Felipe Pena Date: Thu, 28 Feb 2008 15:41:56 +0000 (+0000) Subject: Added UEXPECT X-Git-Tag: RELEASE_2_0_0a1~294 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f83f918c57a7f81956e34a738c79ab1ef63596b;p=php Added UEXPECT --- diff --git a/ext/spl/tests/heap_008.phpt b/ext/spl/tests/heap_008.phpt index 2b3c9a4a3c..1e0da582a1 100644 --- a/ext/spl/tests/heap_008.phpt +++ b/ext/spl/tests/heap_008.phpt @@ -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=== diff --git a/ext/spl/tests/pqueue_004.phpt b/ext/spl/tests/pqueue_004.phpt index 3e781ddc14..1df7530ef5 100644 --- a/ext/spl/tests/pqueue_004.phpt +++ b/ext/spl/tests/pqueue_004.phpt @@ -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=== diff --git a/ext/sqlite/tests/bug35248.phpt b/ext/sqlite/tests/bug35248.phpt index 4898a4142e..89efc816c9 100644 --- a/ext/sqlite/tests/bug35248.phpt +++ b/ext/sqlite/tests/bug35248.phpt @@ -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"