From: Pierre Joye Date: Mon, 4 Mar 2013 06:26:07 +0000 (+0100) Subject: - add test for imagecropauto X-Git-Tag: php-5.5.0alpha6~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2024ff3b61956f05929f2b87fa259b485cdf0810;p=php - add test for imagecropauto --- diff --git a/UPGRADING b/UPGRADING index 5f7d3ee66b..ee1ff67c85 100755 --- a/UPGRADING +++ b/UPGRADING @@ -177,6 +177,7 @@ PHP 5.5 UPGRADE NOTES - GD - imageflip - imagecrop + - imagecropauto - Hash: - hash_pbkdf2() diff --git a/ext/gd/tests/imagecrop_auto.phpt b/ext/gd/tests/imagecrop_auto.phpt new file mode 100644 index 0000000000..1860e39c44 --- /dev/null +++ b/ext/gd/tests/imagecrop_auto.phpt @@ -0,0 +1,82 @@ +--TEST-- +Testing imagecropauto() +--SKIPIF-- + +--FILE-- + +--EXPECT-- +TC IMG_CROP_DEFAULT +int(11) +int(11) +Palette IMG_CROP_DEFAULT +int(11) +int(11) +TC IMG_CROP_SIDES +int(11) +int(11) +Palette IMG_CROP_SIDES +int(11) +int(11) +TC IMG_CROP_BLACK +int(11) +int(11) +Palette IMG_CROP_BLACK +int(11) +int(11) +IMG_CROP_THRESHOLD +int(240) +int(134) \ No newline at end of file