svn: /php/php-src/branches/PHP_5_2/ext/gd/tests/ image_type_to_mime_type_basic.phpt imagecopyresampled_basic.phpt imagedashedline_basic.phpt
imagefilledpolygon_basic.phpt

From: Date: Sat, 26 Sep 2009 16:55:11 +0000
Subject: svn: /php/php-src/branches/PHP_5_2/ext/gd/tests/ image_type_to_mime_type_basic.phpt imagecopyresampled_basic.phpt imagedashedline_basic.phpt
imagefilledpolygon_basic.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-60533@lists.php.net to get a copy of this message
felipe Sat, 26 Sep 2009 16:55:11 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288849 Log: - Fixed tests Changed paths: U php/php-src/branches/PHP_5_2/ext/gd/tests/image_type_to_mime_type_basic.phpt U php/php-src/branches/PHP_5_2/ext/gd/tests/imagecopyresampled_basic.phpt U php/php-src/branches/PHP_5_2/ext/gd/tests/imagedashedline_basic.phpt U php/php-src/branches/PHP_5_2/ext/gd/tests/imagefilledpolygon_basic.phpt Modified: php/php-src/branches/PHP_5_2/ext/gd/tests/image_type_to_mime_type_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/image_type_to_mime_type_basic.phpt 2009-09-26 16:54:08 UTC (rev 288848) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/image_type_to_mime_type_basic.phpt 2009-09-26 16:55:11 UTC (rev 288849) @@ -2,8 +2,7 @@ image_type_to_mime_type() --SKIPIF-- <?php - if (!function_exists('image_type_to_mime_type')) die('skip image_type_to_mime_type() not available'); - require_once('skipif_imagetype.inc'); + if (!function_exists('image_type_to_mime_type')) die('skip image_type_to_mime_type() not available'); ?> --FILE-- <?php @@ -61,4 +60,4 @@ string(24) "application/octet-stream" string(9) "image/xbm" -Done image_type_to_mime_type() test \ No newline at end of file +Done image_type_to_mime_type() test Modified: php/php-src/branches/PHP_5_2/ext/gd/tests/imagecopyresampled_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imagecopyresampled_basic.phpt 2009-09-26 16:54:08 UTC (rev 288848) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imagecopyresampled_basic.phpt 2009-09-26 16:55:11 UTC (rev 288849) @@ -3,7 +3,7 @@ --SKIPIF-- <?php if (!function_exists('imagecopyresampled')) die('skip imagecopyresampled() not available'); - require_once('skipif_imagetype.inc'); + if (!(imagetype() & IMG_PNG)) die('skip PNG Support is not enabled'); ?> --FILE-- <?php Modified: php/php-src/branches/PHP_5_2/ext/gd/tests/imagedashedline_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imagedashedline_basic.phpt 2009-09-26 16:54:08 UTC (rev 288848) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imagedashedline_basic.phpt 2009-09-26 16:55:11 UTC (rev 288849) @@ -3,7 +3,7 @@ --SKIPIF-- <?php if (!function_exists('imagedashedline')) die('skip imagedashedline() not available'); - require_once('skipif_imagetype.inc'); + if (!(imagetype() & IMG_PNG)) die('skip PNG Support is not enabled'); ?> --FILE-- <?php Modified: php/php-src/branches/PHP_5_2/ext/gd/tests/imagefilledpolygon_basic.phpt =================================================================== --- php/php-src/branches/PHP_5_2/ext/gd/tests/imagefilledpolygon_basic.phpt 2009-09-26 16:54:08 UTC (rev 288848) +++ php/php-src/branches/PHP_5_2/ext/gd/tests/imagefilledpolygon_basic.phpt 2009-09-26 16:55:11 UTC (rev 288849) @@ -3,7 +3,7 @@ --SKIPIF-- <?php if (!function_exists('imagefilledpolygon')) die('skip imagefilledpolygon() not available'); - require_once('skipif_imagetype.inc'); + if (!(imagetype() & IMG_PNG)) die('skip PNG Support is not enabled'); ?> --FILE-- <?php

« previous php.cvs (#60533) next »