cvs: php-src /ext/gd/tests copyresized.phpt types.phpt

From: Date: Mon, 26 Dec 2005 17:15:51 +0000
Subject: cvs: php-src /ext/gd/tests copyresized.phpt types.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-36255@lists.php.net to get a copy of this message
pajoye Mon Dec 26 17:15:51 2005 EDT Added files: /php-src/ext/gd/tests types.phpt Modified files: /php-src/ext/gd/tests copyresized.phpt Log: - imagetypes test - copyresized title http://cvs.php.net/viewcvs.cgi/php-src/ext/gd/tests/copyresized.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/gd/tests/copyresized.phpt diff -u php-src/ext/gd/tests/copyresized.phpt:1.1 php-src/ext/gd/tests/copyresized.phpt:1.2 --- php-src/ext/gd/tests/copyresized.phpt:1.1 Mon Dec 26 12:05:36 2005 +++ php-src/ext/gd/tests/copyresized.phpt Mon Dec 26 17:15:51 2005 @@ -1,8 +1,8 @@ --TEST-- -imagecopy +imagecopyresized --SKIPIF-- <?php - if (!function_exists('imagecopy')) die("skip gd extension not available\n"); + if (!function_exists('imagecopyresized')) die("skip gd extension not available\n"); ?> --FILE-- <?php http://cvs.php.net/viewcvs.cgi/php-src/ext/gd/tests/types.phpt?view=markup&rev=1.1 Index: php-src/ext/gd/tests/types.phpt +++ php-src/ext/gd/tests/types.phpt --TEST-- imagetypes --SKIPIF-- <?php if (!function_exists('imagetypes')) die("skip gd extension not available\n"); ?> --FILE-- <?php $flags = imagetypes(); if ($flags&0x1 && !function_exists("imagegif")) { echo "gif failed\n"; } if ($flags&0x2 && !function_exists("imagejpeg")) { echo "jpeg failed\n"; } if ($flags&0x4 && !function_exists("imagepng")) { echo "png failed\n"; } if ($flags&0x8 && !function_exists("imagewbmp")) { echo "wbmp failed\n"; } if ($flags&16 && !function_exists("imagecreatefromxpm")) { echo "xom failed\n"; } echo "ok\n"; ?> --EXPECTF-- ok

« previous php.cvs (#36255) next »