diff options
author | Fabien Villepinte <fabien.villepinte@gmail.com> | 2019-11-07 21:31:47 +0100 |
---|---|---|
committer | Fabien Villepinte <fabien.villepinte@gmail.com> | 2019-11-07 21:31:47 +0100 |
commit | a555cc0b3d4f745e6d0bb8c595de400a0c728827 (patch) | |
tree | 61afac4216a8e7e629a878b8a873d8b32b7cf4a4 /ext/gd/tests | |
parent | 80cfd990740aef314b7943a3fa18c27a23f40566 (diff) | |
download | php-git-a555cc0b3d4f745e6d0bb8c595de400a0c728827.tar.gz |
Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.
Closes GH-4872.
Diffstat (limited to 'ext/gd/tests')
53 files changed, 0 insertions, 106 deletions
diff --git a/ext/gd/tests/bug47946.phpt b/ext/gd/tests/bug47946.phpt index aeea7fb324..cb180f5b22 100644 --- a/ext/gd/tests/bug47946.phpt +++ b/ext/gd/tests/bug47946.phpt @@ -45,7 +45,5 @@ makeFilter($im, $edgeMatrix); require_once __DIR__ . '/func.inc'; test_image_equals_file(__DIR__ . '/bug47946_exp.png', $im); ?> -===DONE=== --EXPECT-- The images are equal. -===DONE=== diff --git a/ext/gd/tests/bug50194.phpt b/ext/gd/tests/bug50194.phpt index 0ccab83063..2815ee1609 100644 --- a/ext/gd/tests/bug50194.phpt +++ b/ext/gd/tests/bug50194.phpt @@ -32,7 +32,5 @@ if (isset($matches[1]) && $matches[1] > 2000) { imagedestroy($im); ?> -===DONE=== --EXPECT-- The images are similar. -===DONE=== diff --git a/ext/gd/tests/bug52070.phpt b/ext/gd/tests/bug52070.phpt index d44a527479..4ff97c909c 100644 --- a/ext/gd/tests/bug52070.phpt +++ b/ext/gd/tests/bug52070.phpt @@ -19,7 +19,5 @@ imagedashedline($im, 800, 400, 800, 800, $color); include_once __DIR__ . '/func.inc'; test_image_equals_file(__DIR__ . '/bug52070.png', $im); ?> -===DONE=== --EXPECT-- The images are equal. -===DONE=== diff --git a/ext/gd/tests/bug65148.phpt b/ext/gd/tests/bug65148.phpt index 9effae9714..1ce5480dd6 100644 --- a/ext/gd/tests/bug65148.phpt +++ b/ext/gd/tests/bug65148.phpt @@ -45,7 +45,6 @@ foreach ($interpolations as $name => $interpolation) { imagedestroy($img); print_r($results); ?> -===DONE=== --EXPECT-- Array ( @@ -176,4 +175,3 @@ Array ) ) -===DONE=== diff --git a/ext/gd/tests/bug66005.phpt b/ext/gd/tests/bug66005.phpt index 307b06855c..9d63524570 100644 --- a/ext/gd/tests/bug66005.phpt +++ b/ext/gd/tests/bug66005.phpt @@ -28,7 +28,5 @@ imagecopy($dest, $png_full, 100, 0, 0, 0, 50, 50); include_once __DIR__ . '/func.inc'; test_image_equals_file(__DIR__ . '/bug66005.png', $dest); ?> -==DONE== --EXPECT-- The images are equal. -==DONE== diff --git a/ext/gd/tests/bug67325.phpt b/ext/gd/tests/bug67325.phpt index 8290946c0f..fe369ee949 100644 --- a/ext/gd/tests/bug67325.phpt +++ b/ext/gd/tests/bug67325.phpt @@ -26,7 +26,5 @@ var_dump($white); imagedestroy($im); ?> -===DONE=== --EXPECT-- int(0) -===DONE=== diff --git a/ext/gd/tests/bug72482_2.phpt b/ext/gd/tests/bug72482_2.phpt index a8a08faa53..f9f5833274 100644 --- a/ext/gd/tests/bug72482_2.phpt +++ b/ext/gd/tests/bug72482_2.phpt @@ -15,7 +15,5 @@ imageline($im, 0, 0, 10, 10, imagecolorallocate($im, 0, 0, 0)); test_image_equals_file(__DIR__ . DIRECTORY_SEPARATOR . 'bug72482_2.png', $im); ?> -===DONE=== --EXPECT-- The images are equal. -===DONE=== diff --git a/ext/gd/tests/bug72913.phpt b/ext/gd/tests/bug72913.phpt index 3ab068a134..3ec0766982 100644 --- a/ext/gd/tests/bug72913.phpt +++ b/ext/gd/tests/bug72913.phpt @@ -22,7 +22,5 @@ imagecopy($dst, $src, 0,0, 0,0, 50,50); include_once __DIR__ . '/func.inc'; test_image_equals_file(__DIR__ . '/bug72913.png', $dst); ?> -==DONE== --EXPECT-- The images are equal. -==DONE== diff --git a/ext/gd/tests/bug73155.phpt b/ext/gd/tests/bug73155.phpt index dc1791e565..96ba12a469 100644 --- a/ext/gd/tests/bug73155.phpt +++ b/ext/gd/tests/bug73155.phpt @@ -19,10 +19,8 @@ printf("x chunk count: %d\n", $header['x_count']); printf("y chunk count: %d\n", $header['y_count']); printf("file size: %d\n", strlen($buffer)); ?> -===DONE=== --EXPECT-- chunk size: 64 x chunk count: 1 y chunk count: 1 file size: 5145 -===DONE=== diff --git a/ext/gd/tests/bug73157.phpt b/ext/gd/tests/bug73157.phpt index b03e91ec9d..f0f19fdf23 100644 --- a/ext/gd/tests/bug73157.phpt +++ b/ext/gd/tests/bug73157.phpt @@ -16,7 +16,5 @@ $buffer = ob_get_clean(); $header = unpack('@10/nchunk_size', $buffer); printf("chunk size: %d\n", $header['chunk_size']); ?> -===DONE=== --EXPECT-- chunk size: 256 -===DONE=== diff --git a/ext/gd/tests/bug73159.phpt b/ext/gd/tests/bug73159.phpt index 4889ffb6fd..ae11f3012b 100644 --- a/ext/gd/tests/bug73159.phpt +++ b/ext/gd/tests/bug73159.phpt @@ -15,7 +15,5 @@ $buffer = ob_get_clean(); $header = unpack('@12/nformat', $buffer); printf("format: %d\n", $header['format']); ?> -===DONE=== --EXPECT-- format: 4 -===DONE=== diff --git a/ext/gd/tests/bug73161.phpt b/ext/gd/tests/bug73161.phpt index 42ad718606..bc386dc9c2 100644 --- a/ext/gd/tests/bug73161.phpt +++ b/ext/gd/tests/bug73161.phpt @@ -11,8 +11,6 @@ if (!extension_loaded('gd')) die('skip gd extension not available'); $im = imagecreatefromgd2(__DIR__ . DIRECTORY_SEPARATOR . 'bug73161.gd2'); var_dump($im); ?> -===DONE=== --EXPECTF-- Warning: imagecreatefromgd2(): '%s' is not a valid GD2 file in %s on line %d bool(false) -===DONE=== diff --git a/ext/gd/tests/bug73213.phpt b/ext/gd/tests/bug73213.phpt index 86c4078fd9..3c8f33079b 100644 --- a/ext/gd/tests/bug73213.phpt +++ b/ext/gd/tests/bug73213.phpt @@ -16,7 +16,5 @@ imageline($im, 0,0, 32767,0, $black); test_image_equals_file(__DIR__ . DIRECTORY_SEPARATOR . 'bug73213.png', $im); ?> -===DONE=== --EXPECT-- The images are equal. -===DONE=== diff --git a/ext/gd/tests/bug73272.phpt b/ext/gd/tests/bug73272.phpt index ccee8d6e67..33d7b4155e 100644 --- a/ext/gd/tests/bug73272.phpt +++ b/ext/gd/tests/bug73272.phpt @@ -18,7 +18,5 @@ $dst = imagerotate($src, 60, 0xFFFFFF); test_image_equals_file(__DIR__ . DIRECTORY_SEPARATOR . 'bug73272.png', $dst); ?> -===DONE=== --EXPECT-- The images are equal. -===DONE=== diff --git a/ext/gd/tests/bug73279.phpt b/ext/gd/tests/bug73279.phpt index aba91f0d3a..886b61c55b 100644 --- a/ext/gd/tests/bug73279.phpt +++ b/ext/gd/tests/bug73279.phpt @@ -14,7 +14,5 @@ imagecolorallocate($src, 255, 255, 255); $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED); printf("color: %x\n", imagecolorat($dst, 99, 99)); ?> -===DONE=== --EXPECT-- color: ffffff -===DONE=== diff --git a/ext/gd/tests/bug73279_old.phpt b/ext/gd/tests/bug73279_old.phpt index 810b15201f..1db9861b0c 100644 --- a/ext/gd/tests/bug73279_old.phpt +++ b/ext/gd/tests/bug73279_old.phpt @@ -14,9 +14,7 @@ imagecolorallocate($src, 255, 255, 255); $dst = imagescale($src, 200, 200, IMG_BILINEAR_FIXED); printf("color: %x\n", imagecolorat($dst, 99, 99)); ?> -===DONE=== --XFAIL-- Bug #330 has not yet been fixed --EXPECT-- color: ffffff -===DONE=== diff --git a/ext/gd/tests/bug73281.phpt b/ext/gd/tests/bug73281.phpt index 162ee1b33a..81bb2d2d28 100644 --- a/ext/gd/tests/bug73281.phpt +++ b/ext/gd/tests/bug73281.phpt @@ -29,7 +29,6 @@ foreach ($coordinates as $coordinate) { printf("%3d, %3d: %x\n", $x, $y, imagecolorat($dst, $x, $y)); } ?> -===DONE=== --EXPECT-- truecolor source 0, 0: ffffff @@ -42,4 +41,3 @@ palette source 0, 199: ffffff 199, 199: ffffff 199, 0: ffffff -===DONE=== diff --git a/ext/gd/tests/bug73291.phpt b/ext/gd/tests/bug73291.phpt index ffa2fe7e4c..a3fd5b3c10 100644 --- a/ext/gd/tests/bug73291.phpt +++ b/ext/gd/tests/bug73291.phpt @@ -26,10 +26,8 @@ foreach ([0.1, 0.5, 1.0, 10.0] as $threshold) { } ?> -===DONE=== --EXPECT-- size: 247*247 size: 237*237 size: 229*229 size: 175*175 -===DONE=== diff --git a/ext/gd/tests/bug73549.phpt b/ext/gd/tests/bug73549.phpt index e0cc6cf42e..8194d43e72 100644 --- a/ext/gd/tests/bug73549.phpt +++ b/ext/gd/tests/bug73549.phpt @@ -11,11 +11,9 @@ $im = imagecreatetruecolor(8, 8); var_dump(imagepng($im, $stream)); var_dump($stream); ?> -===DONE=== --EXPECTF-- bool(true) resource(%d) of type (stream) -===DONE=== --CLEAN-- <?php unlink(__DIR__ . DIRECTORY_SEPARATOR . 'bug73549.png'); diff --git a/ext/gd/tests/bug73614.phpt b/ext/gd/tests/bug73614.phpt index f94881e2f3..dc0ccc10d9 100644 --- a/ext/gd/tests/bug73614.phpt +++ b/ext/gd/tests/bug73614.phpt @@ -21,7 +21,5 @@ imagefilledarc($image, 250, 250, 500, 250, 91, 360 , $red, IMG_ARC_PIE); test_image_equals_file(__DIR__ . '/bug73614.png', $image); ?> -===DONE=== --EXPECT-- The images are equal. -===DONE=== diff --git a/ext/gd/tests/bug73868.phpt b/ext/gd/tests/bug73868.phpt index 135be7917b..fd9537c4a0 100644 --- a/ext/gd/tests/bug73868.phpt +++ b/ext/gd/tests/bug73868.phpt @@ -8,11 +8,9 @@ if (!extension_loaded('gd')) die('skip gd extension not available'); <?php var_dump(imagecreatefromgd2(__DIR__ . DIRECTORY_SEPARATOR . 'bug73868.gd2')); ?> -===DONE=== --EXPECTF-- Warning: imagecreatefromgd2(): gd2: EOF while reading in %s on line %d Warning: imagecreatefromgd2(): '%s' is not a valid GD2 file in %s on line %d bool(false) -===DONE=== diff --git a/ext/gd/tests/bug73869.phpt b/ext/gd/tests/bug73869.phpt index 16b2edc7a1..69c7e1b543 100644 --- a/ext/gd/tests/bug73869.phpt +++ b/ext/gd/tests/bug73869.phpt @@ -9,11 +9,9 @@ if (!extension_loaded('gd')) die('skip gd extension not available'); var_dump(imagecreatefromgd2(__DIR__ . DIRECTORY_SEPARATOR . 'bug73869a.gd2')); var_dump(imagecreatefromgd2(__DIR__ . DIRECTORY_SEPARATOR . 'bug73869b.gd2')); ?> -===DONE=== --EXPECTF-- Warning: imagecreatefromgd2(): '%s' is not a valid GD2 file in %s on line %d bool(false) Warning: imagecreatefromgd2(): '%s' is not a valid GD2 file in %s on line %d bool(false) -===DONE=== diff --git a/ext/gd/tests/bug73957.phpt b/ext/gd/tests/bug73957.phpt index 370956f032..0ab715b178 100644 --- a/ext/gd/tests/bug73957.phpt +++ b/ext/gd/tests/bug73957.phpt @@ -14,7 +14,5 @@ if ($im) { // which is not supposed to happen var_dump(imagesx($im)); } ?> -===DONE=== --EXPECT-- bool(false) -===DONE=== diff --git a/ext/gd/tests/bug75111.phpt b/ext/gd/tests/bug75111.phpt index 3950799730..4ec22c4a3a 100644 --- a/ext/gd/tests/bug75111.phpt +++ b/ext/gd/tests/bug75111.phpt @@ -16,10 +16,8 @@ $str .= hex2bin("01001800000000000000000000000000000000000000000000000000"); var_dump(imagecreatefromstring($str)); ?> -===DONE=== --EXPECTF-- Warning: imagecreatefromstring(): Passed data is not in 'BMP' format in %s on line %d Warning: imagecreatefromstring(): Couldn't create GD Image Stream out of Data in %s on line %d bool(false) -===DONE=== diff --git a/ext/gd/tests/bug75124.phpt b/ext/gd/tests/bug75124.phpt index 513d452147..47c313fa84 100644 --- a/ext/gd/tests/bug75124.phpt +++ b/ext/gd/tests/bug75124.phpt @@ -25,7 +25,5 @@ for ($i = 0, $width = imagesx($im); $i < $width; $i ++) { } } ?> -===DONE=== --EXPECT-- bool(true) -===DONE=== diff --git a/ext/gd/tests/bug75437.phpt b/ext/gd/tests/bug75437.phpt index 1dbbae6478..7da6d2f236 100644 --- a/ext/gd/tests/bug75437.phpt +++ b/ext/gd/tests/bug75437.phpt @@ -12,8 +12,6 @@ $rf = new ReflectionFunction('imagewebp'); var_dump($rf->getNumberOfParameters()); var_dump($rf->getNumberOfRequiredParameters()); ?> -===DONE=== --EXPECT-- int(3) int(1) -===DONE=== diff --git a/ext/gd/tests/bug75571.phpt b/ext/gd/tests/bug75571.phpt index 5bd26b84ec..10b459d421 100644 --- a/ext/gd/tests/bug75571.phpt +++ b/ext/gd/tests/bug75571.phpt @@ -8,8 +8,6 @@ if (!extension_loaded('gd')) die('skip gd extension not available'); <?php var_dump(imagecreatefromgif(__DIR__ . '/bug75571.gif')); ?> -===DONE=== --EXPECTF-- Warning: imagecreatefromgif(): '%s' is not a valid GIF file in %s on line %d bool(false) -===DONE=== diff --git a/ext/gd/tests/bug77195.phpt b/ext/gd/tests/bug77195.phpt index 5aa1f51b02..f90035b741 100644 --- a/ext/gd/tests/bug77195.phpt +++ b/ext/gd/tests/bug77195.phpt @@ -11,9 +11,7 @@ $filename = __DIR__ . '/bug77195.jpg'; @imagecreatefromjpeg($filename); imagecreatefromjpeg($filename); ?> -===DONE=== --EXPECTF-- Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: JPEG datastream contains no image in %s on line %d Warning: imagecreatefromjpeg(): '%s' is not a valid JPEG file in %s on line %d -===DONE=== diff --git a/ext/gd/tests/bug77200.phpt b/ext/gd/tests/bug77200.phpt index 99d8efb550..b673760671 100644 --- a/ext/gd/tests/bug77200.phpt +++ b/ext/gd/tests/bug77200.phpt @@ -30,8 +30,6 @@ $cropped = imagecropauto($orig, IMG_CROP_SIDES); var_dump(imagesx($cropped)); ?> -===DONE=== --EXPECT-- int(4) int(4) -===DONE=== diff --git a/ext/gd/tests/bug77269.phpt b/ext/gd/tests/bug77269.phpt index 527f26c397..6a426a2aa0 100644 --- a/ext/gd/tests/bug77269.phpt +++ b/ext/gd/tests/bug77269.phpt @@ -13,8 +13,6 @@ $im = imagecreate(2**28, 1); imagescale($im, 1, 1, IMG_TRIANGLE); ?> -===DONE=== --EXPECTF-- Warning: imagescale():%S product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully in %s on line %d -===DONE=== diff --git a/ext/gd/tests/bug77272.phpt b/ext/gd/tests/bug77272.phpt index d3bfa24aaa..f2d1c90a6d 100644 --- a/ext/gd/tests/bug77272.phpt +++ b/ext/gd/tests/bug77272.phpt @@ -13,9 +13,7 @@ if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); $img = imagecreate(2**28, 1); var_dump(imagescale($img, 1, 1, IMG_TRIANGLE)); ?> -===DONE=== --EXPECTF-- Warning: imagescale():%S product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully in %s on line %d bool(false) -===DONE=== diff --git a/ext/gd/tests/bug77479.phpt b/ext/gd/tests/bug77479.phpt index 063f5d4f8a..855d511992 100644 --- a/ext/gd/tests/bug77479.phpt +++ b/ext/gd/tests/bug77479.phpt @@ -13,13 +13,11 @@ $im = imagecreate(40000, 20000); imagecolorallocate($im, 0, 0, 0); imagewbmp($im, __DIR__ . '/77479.wbmp'); ?> -===DONE=== --EXPECTF-- Warning: imagewbmp():%S product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully in %s on line %d Warning: imagewbmp(): Could not create WBMP in %s on line %d -===DONE=== --CLEAN-- <?php @unlink(__DIR__ . '/77479.wbmp'); diff --git a/ext/gd/tests/bug77700.phpt b/ext/gd/tests/bug77700.phpt index 07b7ffbbba..27b93cf0d0 100644 --- a/ext/gd/tests/bug77700.phpt +++ b/ext/gd/tests/bug77700.phpt @@ -14,10 +14,8 @@ imagegif($im, __DIR__ . 'bug77700.gif'); $im = imagecreatefromgif(__DIR__ . 'bug77700.gif'); var_dump(imageinterlace($im)); ?> -===DONE=== --EXPECT-- int(1) -===DONE=== --CLEAN-- <?php unlink(__DIR__ . 'bug77700.gif'); diff --git a/ext/gd/tests/bug77943.phpt b/ext/gd/tests/bug77943.phpt index 1009b3e4b3..5a64eb85b4 100644 --- a/ext/gd/tests/bug77943.phpt +++ b/ext/gd/tests/bug77943.phpt @@ -23,7 +23,5 @@ imageline($im, 10, 0, $width, $height-10, $blue); test_image_equals_file(__DIR__ . '/bug77943.png', $im); ?> -===DONE=== --EXPECT-- The images are equal. -===DONE=== diff --git a/ext/gd/tests/bug77973.phpt b/ext/gd/tests/bug77973.phpt index 2545dbe128..6a469a32c2 100644 --- a/ext/gd/tests/bug77973.phpt +++ b/ext/gd/tests/bug77973.phpt @@ -13,13 +13,11 @@ file_put_contents($filepath, $contents); $im = imagecreatefromxbm($filepath); var_dump($im); ?> -===DONE=== --EXPECTF-- Warning: imagecreatefromxbm(): invalid XBM in %s on line %d Warning: imagecreatefromxbm(): '%s' is not a valid XBM file in %s on line %d bool(false) -===DONE=== --CLEAN-- <?php unlink(__DIR__ . '/bug77973.xbm'); diff --git a/ext/gd/tests/gd_info_variation1.phpt b/ext/gd/tests/gd_info_variation1.phpt index efad42588a..1ffd014335 100644 --- a/ext/gd/tests/gd_info_variation1.phpt +++ b/ext/gd/tests/gd_info_variation1.phpt @@ -20,7 +20,6 @@ echo "*** Testing gd_info() : variation ***\n"; var_dump(gd_info()); ?> -===DONE=== --EXPECTF-- *** Testing gd_info() : variation *** array(%d) { @@ -49,4 +48,3 @@ array(%d) { ["JIS-mapped Japanese Font Support"]=> bool(%s) } -===DONE=== diff --git a/ext/gd/tests/imagecolorallocate_basic.phpt b/ext/gd/tests/imagecolorallocate_basic.phpt index e0e9adf852..64ce2203a0 100644 --- a/ext/gd/tests/imagecolorallocate_basic.phpt +++ b/ext/gd/tests/imagecolorallocate_basic.phpt @@ -25,11 +25,9 @@ var_dump( imagecolorallocate($im, 0, 255, 0) ); var_dump( imagecolorallocate($im, 0, 0, 255) ); var_dump( imagecolorallocate($im, 255, 255, 255) ); ?> -===DONE=== --EXPECT-- *** Testing imagecolorallocate() : basic functionality *** int(16711680) int(65280) int(255) int(16777215) -===DONE=== diff --git a/ext/gd/tests/imagecolorallocate_variation5.phpt b/ext/gd/tests/imagecolorallocate_variation5.phpt index ae6acb18f6..1451af5a83 100644 --- a/ext/gd/tests/imagecolorallocate_variation5.phpt +++ b/ext/gd/tests/imagecolorallocate_variation5.phpt @@ -49,7 +49,6 @@ foreach($values as $key => $value) { ); }; ?> -===DONE=== --EXPECT-- *** Testing imagecolorallocate() : usage variations *** @@ -92,4 +91,3 @@ int(657930) int(16714250) int(720650) int(658175) -===DONE=== diff --git a/ext/gd/tests/imagecolorallocate_variation6.phpt b/ext/gd/tests/imagecolorallocate_variation6.phpt index 9f21739ff1..6af26801b8 100644 --- a/ext/gd/tests/imagecolorallocate_variation6.phpt +++ b/ext/gd/tests/imagecolorallocate_variation6.phpt @@ -47,7 +47,6 @@ foreach($values as $key => $value) { ); }; ?> -===DONE=== --EXPECT-- *** Testing imagecolorallocate() : usage variations *** @@ -74,4 +73,3 @@ foreach($values as $key => $value) { !! [ValueError] Green component is out of range, must be between 0 and 255 (inclusive) !! [ValueError] Blue component is out of range, must be between 0 and 255 (inclusive) !! [ValueError] Blue component is out of range, must be between 0 and 255 (inclusive) -===DONE=== diff --git a/ext/gd/tests/imagecolorstotal_basic.phpt b/ext/gd/tests/imagecolorstotal_basic.phpt index 22eb022fc2..0cdc10bcdd 100644 --- a/ext/gd/tests/imagecolorstotal_basic.phpt +++ b/ext/gd/tests/imagecolorstotal_basic.phpt @@ -29,8 +29,6 @@ echo 'Total colors in image: ' . imagecolorstotal($im); imagedestroy($im); ?> -===DONE=== --EXPECT-- *** Testing imagecolorstotal() : basic functionality *** Total colors in image: 128 -===DONE=== diff --git a/ext/gd/tests/imagecolourstotal_basic.phpt b/ext/gd/tests/imagecolourstotal_basic.phpt index 58405c5c19..e67794b604 100644 --- a/ext/gd/tests/imagecolourstotal_basic.phpt +++ b/ext/gd/tests/imagecolourstotal_basic.phpt @@ -39,7 +39,6 @@ var_dump( imagecolorstotal( $img ) ); imagedestroy( $img ); ?> -===DONE=== --EXPECT-- *** Testing imagecolorstotal() : basic functionality *** int(0) @@ -47,4 +46,3 @@ int(1) int(3) int(0) int(0) -===DONE=== diff --git a/ext/gd/tests/imagecreatefrombmp_basic.phpt b/ext/gd/tests/imagecreatefrombmp_basic.phpt index 96c90700b8..9cf6bd2ca3 100644 --- a/ext/gd/tests/imagecreatefrombmp_basic.phpt +++ b/ext/gd/tests/imagecreatefrombmp_basic.phpt @@ -13,7 +13,5 @@ $im = imagecreatefrombmp(__DIR__ . '/imagecreatefrombmp_basic.bmp'); include_once __DIR__ . '/func.inc'; test_image_equals_file(__DIR__ . '/imagecreatefrombmp_basic.png', $im); ?> -===DONE=== --EXPECT-- The images are equal. -===DONE=== diff --git a/ext/gd/tests/imagecreatefromstring_bmp.phpt b/ext/gd/tests/imagecreatefromstring_bmp.phpt index a0c8b3e57e..14d7aabede 100644 --- a/ext/gd/tests/imagecreatefromstring_bmp.phpt +++ b/ext/gd/tests/imagecreatefromstring_bmp.phpt @@ -22,7 +22,5 @@ $im = imagecreatefromstring($bmp); include_once __DIR__ . '/func.inc'; test_image_equals_file(__DIR__ . '/imagecreatefromstring_bmp.png', $im); ?> -===DONE=== --EXPECT-- The images are equal. -===DONE=== diff --git a/ext/gd/tests/imagecreatefromstring_gif.phpt b/ext/gd/tests/imagecreatefromstring_gif.phpt index c913f4ed13..66f91c1aff 100644 --- a/ext/gd/tests/imagecreatefromstring_gif.phpt +++ b/ext/gd/tests/imagecreatefromstring_gif.phpt @@ -13,8 +13,6 @@ var_dump(imagesx($im)); var_dump(imagesy($im)); ?> -===DONE=== --EXPECT-- int(10) int(10) -===DONE=== diff --git a/ext/gd/tests/imagecreatefromstring_png.phpt b/ext/gd/tests/imagecreatefromstring_png.phpt index efb8cc3622..b76f1a181a 100644 --- a/ext/gd/tests/imagecreatefromstring_png.phpt +++ b/ext/gd/tests/imagecreatefromstring_png.phpt @@ -13,8 +13,6 @@ var_dump(imagesx($im)); var_dump(imagesy($im)); ?> -===DONE=== --EXPECT-- int(10) int(10) -===DONE=== diff --git a/ext/gd/tests/imagecreatefromstring_webp.phpt b/ext/gd/tests/imagecreatefromstring_webp.phpt index fbae919ab4..e60be0499a 100644 --- a/ext/gd/tests/imagecreatefromstring_webp.phpt +++ b/ext/gd/tests/imagecreatefromstring_webp.phpt @@ -13,8 +13,6 @@ var_dump(imagesx($im)); var_dump(imagesy($im)); ?> -===DONE=== --EXPECT-- int(10) int(10) -===DONE=== diff --git a/ext/gd/tests/imagegammacorrect_variation2.phpt b/ext/gd/tests/imagegammacorrect_variation2.phpt index 6a66147ce9..908be81d42 100644 --- a/ext/gd/tests/imagegammacorrect_variation2.phpt +++ b/ext/gd/tests/imagegammacorrect_variation2.phpt @@ -61,7 +61,6 @@ function cell_color($im, $x, $y) } } ?> -===DONE=== --EXPECT-- palette gamma (1, 2): The images are equal. truecolor gamma (1, 2): The images are equal. @@ -69,4 +68,3 @@ palette gamma (1, 1): The images are equal. truecolor gamma (1, 1): The images are equal. palette gamma (2, 1): The images are equal. truecolor gamma (2, 1): The images are equal. -===DONE=== diff --git a/ext/gd/tests/imagegd_truecolor.phpt b/ext/gd/tests/imagegd_truecolor.phpt index 6787ad3029..5c03f6994b 100644 --- a/ext/gd/tests/imagegd_truecolor.phpt +++ b/ext/gd/tests/imagegd_truecolor.phpt @@ -25,10 +25,8 @@ printf("size: %d\n", strlen($buffer)); test_image_equals_file(__DIR__ . DIRECTORY_SEPARATOR . 'imagegd_truecolor.png', $im); ?> -===DONE=== --EXPECT-- signature: 65534 truecolor: 1 size: 411 The images are equal. -===DONE=== diff --git a/ext/gd/tests/imageopenpolygon_basic.phpt b/ext/gd/tests/imageopenpolygon_basic.phpt index 0109cf015e..b6323b4ddc 100644 --- a/ext/gd/tests/imageopenpolygon_basic.phpt +++ b/ext/gd/tests/imageopenpolygon_basic.phpt @@ -23,7 +23,5 @@ imageopenpolygon($im, [10,50, 25,10, 40,89, 55,10, 80,89, 90,50], 6, $blue); test_image_equals_file(__DIR__ . DIRECTORY_SEPARATOR . 'imageopenpolygon.png', $im); ?> -===DONE=== --EXPECT-- The images are equal. -===DONE=== diff --git a/ext/gd/tests/imagepolygon_aa.phpt b/ext/gd/tests/imagepolygon_aa.phpt index 9725bdabe8..e6a7dafd1d 100644 --- a/ext/gd/tests/imagepolygon_aa.phpt +++ b/ext/gd/tests/imagepolygon_aa.phpt @@ -18,7 +18,5 @@ imagepolygon($im, [10,10, 49,89, 89,49], 3, $black); test_image_equals_file(__DIR__ . DIRECTORY_SEPARATOR . 'imagepolygon_aa.png', $im); ?> -===DONE=== --EXPECT-- The images are equal. -===DONE=== diff --git a/ext/gd/tests/imageresolution_jpeg.phpt b/ext/gd/tests/imageresolution_jpeg.phpt index a659e2682a..73b76c1f9d 100644 --- a/ext/gd/tests/imageresolution_jpeg.phpt +++ b/ext/gd/tests/imageresolution_jpeg.phpt @@ -22,7 +22,6 @@ imagejpeg($exp, $filename); $act = imagecreatefromjpeg($filename); var_dump(imageresolution($act)); ?> -===DONE=== --EXPECT-- array(2) { [0]=> @@ -36,7 +35,6 @@ array(2) { [1]=> int(299) } -===DONE=== --CLEAN-- <?php @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'imageresolution_jpeg.jpeg'); diff --git a/ext/gd/tests/imageresolution_png.phpt b/ext/gd/tests/imageresolution_png.phpt index 5bb835b4e8..5ff3d8ae9e 100644 --- a/ext/gd/tests/imageresolution_png.phpt +++ b/ext/gd/tests/imageresolution_png.phpt @@ -21,7 +21,6 @@ imagepng($exp, $filename); $act = imagecreatefrompng($filename); var_dump(imageresolution($act)); ?> -===DONE=== --EXPECT-- array(2) { [0]=> @@ -35,7 +34,6 @@ array(2) { [1]=> int(299) } -===DONE=== --CLEAN-- <?php @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'imageresolution_png.png'); diff --git a/ext/gd/tests/test_image_equals_file_palette.phpt b/ext/gd/tests/test_image_equals_file_palette.phpt index 0cfea7f415..51192a6ecd 100644 --- a/ext/gd/tests/test_image_equals_file_palette.phpt +++ b/ext/gd/tests/test_image_equals_file_palette.phpt @@ -31,11 +31,9 @@ imagefilledrectangle($im, 3,3, 7,7, $red); test_image_equals_file($filename, $im); ?> -===DONE=== --EXPECT-- The images differ in 25 pixels. The images are equal. -===DONE=== --CLEAN-- <?php unlink(__DIR__ . DIRECTORY_SEPARATOR . 'test_image_equals_file_palette.png'); |