svn: php/php-src/ branches/PHP_5_2/ext/gd/tests/truecolor.phpt branches/PHP_5_3/ext/gd/tests/truecolor.phpt trunk/ext/gd/tests/truecolor.phpt

From: Date: Mon, 20 Jul 2009 03:48:55 +0000
Subject: svn: php/php-src/ branches/PHP_5_2/ext/gd/tests/truecolor.phpt branches/PHP_5_3/ext/gd/tests/truecolor.phpt trunk/ext/gd/tests/truecolor.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-59639@lists.php.net to get a copy of this message
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

« previous php.cvs (#59639) next »