rdohms Mon, 20 Jul 2009 03:48:55 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=284410
Changed paths: D php/php-src/branches/PHP_5_2/ext/gd/tests/truecolor.phpt D php/php-src/branches/PHP_5_3/ext/gd/tests/truecolor.phpt D php/php-src/trunk/ext/gd/tests/truecolor.phpt Log: Removing deprecated test replaced by individual tests for imageistruecolor and imagetruecolortopalette Deleted: php/php-src/branches/PHP_5_2/ext/gd/tests/truecolor.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/truecolor.phpt 2009-07-20 03:47:29 UTC (rev 284409) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/truecolor.phpt 2009-07-20 03:48:55 UTC (rev 284410) @@ -1,19 +0,0 @@ ---TEST-- -imageistruecolor, truecolortopalette ---SKIPIF-- -<?php - if (!function_exists('imagetruecolortopalette')) die("skip gd extension not available\n"); -?> ---FILE-- -<?php -$im = imagecreatetruecolor(1,1); -if (imageistruecolor($im)) echo "ok\n"; - -if (imagetruecolortopalette($im, 1,2)) echo "ok\n"; -if (!imageistruecolor($im)) echo "ok\n"; - -?> ---EXPECTF-- -ok -ok -ok Deleted: php/php-src/branches/PHP_5_3/ext/gd/tests/truecolor.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/gd/tests/truecolor.phpt 2009-07-20 03:47:29 UTC (rev 284409) +++ php/php-src/branches/PHP_5_3/ext/gd/tests/truecolor.phpt 2009-07-20 03:48:55 UTC (rev 284410) @@ -1,19 +0,0 @@ ---TEST-- -imageistruecolor, truecolortopalette ---SKIPIF-- -<?php - if (!function_exists('imagetruecolortopalette')) die("skip gd extension not available\n"); -?> ---FILE-- -<?php -$im = imagecreatetruecolor(1,1); -if (imageistruecolor($im)) echo "ok\n"; - -if (imagetruecolortopalette($im, 1,2)) echo "ok\n"; -if (!imageistruecolor($im)) echo "ok\n"; - -?> ---EXPECTF-- -ok -ok -ok Deleted: php/php-src/trunk/ext/gd/tests/truecolor.phpt =================================================================== --- php/php-src/trunk/ext/gd/tests/truecolor.phpt 2009-07-20 03:47:29 UTC (rev 284409) +++ php/php-src/trunk/ext/gd/tests/truecolor.phpt 2009-07-20 03:48:55 UTC (rev 284410) @@ -1,19 +0,0 @@ ---TEST-- -imageistruecolor, truecolortopalette ---SKIPIF-- -<?php - if (!function_exists('imagetruecolortopalette')) die("skip gd extension not available\n"); -?> ---FILE-- -<?php -$im = imagecreatetruecolor(1,1); -if (imageistruecolor($im)) echo "ok\n"; - -if (imagetruecolortopalette($im, 1,2)) echo "ok\n"; -if (!imageistruecolor($im)) echo "ok\n"; - -?> ---EXPECTF-- -ok -ok -ok
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php