helly Thu Jan 22 16:47:54 2004 EDT Modified files: /php-src/ext/simplexml/tests 007.phpt 015.phpt 016.phpt bug24392.phpt Log: Update tests http://cvs.php.net/diff.php/php-src/ext/simplexml/tests/007.phpt?r1=1.6&r2=1.7&ty=u Index: php-src/ext/simplexml/tests/007.phpt diff -u php-src/ext/simplexml/tests/007.phpt:1.6 php-src/ext/simplexml/tests/007.phpt:1.7 --- php-src/ext/simplexml/tests/007.phpt:1.6 Sun Jan 18 10:14:03 2004 +++ php-src/ext/simplexml/tests/007.phpt Thu Jan 22 16:47:54 2004 @@ -66,20 +66,20 @@ } } ===Array=== -object(simplexml_element)#2 (1) { +object(simplexml_element)#%d (1) { [0]=> string(5) "elem1" } -object(simplexml_element)#6 (1) { +object(simplexml_element)#%d (1) { [0]=> string(5) "first" } ===Set=== -object(simplexml_element)#6 (1) { +object(simplexml_element)#%d (1) { [0]=> string(8) "Changed1" } -object(simplexml_element)#5 (1) { +object(simplexml_element)#%d (1) { [0]=> string(2) "12" } http://cvs.php.net/diff.php/php-src/ext/simplexml/tests/015.phpt?r1=1.4&r2=1.5&ty=u Index: php-src/ext/simplexml/tests/015.phpt diff -u php-src/ext/simplexml/tests/015.phpt:1.4 php-src/ext/simplexml/tests/015.phpt:1.5 --- php-src/ext/simplexml/tests/015.phpt:1.4 Wed Jan 21 06:32:30 2004 +++ php-src/ext/simplexml/tests/015.phpt Thu Jan 22 16:47:54 2004 @@ -36,20 +36,20 @@ var_dump($people->person[1]['name']); ?> ===DONE=== ---EXPECT-- -object(simplexml_element)#4 (1) { +--EXPECTF-- +object(simplexml_element)#%d (1) { [0]=> string(3) "Joe" } -object(simplexml_element)#4 (1) { +object(simplexml_element)#%d (1) { [0]=> string(3) "Joe" } -object(simplexml_element)#1 (1) { +object(simplexml_element)#%d (1) { [0]=> string(3) "Joe" } -object(simplexml_element)#1 (1) { +object(simplexml_element)#%d (1) { [0]=> string(3) "Boe" } http://cvs.php.net/diff.php/php-src/ext/simplexml/tests/016.phpt?r1=1.4&r2=1.5&ty=u Index: php-src/ext/simplexml/tests/016.phpt diff -u php-src/ext/simplexml/tests/016.phpt:1.4 php-src/ext/simplexml/tests/016.phpt:1.5 --- php-src/ext/simplexml/tests/016.phpt:1.4 Sat Jan 17 14:41:32 2004 +++ php-src/ext/simplexml/tests/016.phpt Thu Jan 22 16:47:54 2004 @@ -28,29 +28,29 @@ ?> ===DONE=== ---EXPECT-- -object(simplexml_element)#4 (1) { +--EXPECTF-- +object(simplexml_element)#%d (1) { [0]=> string(3) "Joe" } -object(simplexml_element)#2 (1) { +object(simplexml_element)#%d (1) { [0]=> string(6) "JoeFoo" } -object(simplexml_element)#5 (1) { +object(simplexml_element)#%d (1) { [0]=> string(9) "JoeFooBar" } ---[0]--- -object(simplexml_element)#3 (1) { +object(simplexml_element)#%d (1) { [0]=> string(3) "Joe" } -object(simplexml_element)#2 (1) { +object(simplexml_element)#%d (1) { [0]=> string(6) "JoeFoo" } -object(simplexml_element)#5 (1) { +object(simplexml_element)#%d (1) { [0]=> string(9) "JoeFooBar" } http://cvs.php.net/diff.php/php-src/ext/simplexml/tests/bug24392.phpt?r1=1.2&r2=1.3&ty=u Index: php-src/ext/simplexml/tests/bug24392.phpt diff -u php-src/ext/simplexml/tests/bug24392.phpt:1.2 php-src/ext/simplexml/tests/bug24392.phpt:1.3 --- php-src/ext/simplexml/tests/bug24392.phpt:1.2 Sun Oct 5 09:53:16 2003 +++ php-src/ext/simplexml/tests/bug24392.phpt Thu Jan 22 16:47:54 2004 @@ -2,9 +2,6 @@ Bug #24392 (empty namespaces causing confusion) --SKIPIF-- <?php if (!extension_loaded("simplexml")) print "skip simplexml extension is not loaded"; ?> ---POST-- ---GET-- ---INI-- --FILE-- <?php $s = simplexml_load_file(dirname(__FILE__).'/bug24392.xml');
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php