]> granicus.if.org Git - php/commitdiff
Removing deprecated test replaced by individual tests for imageistruecolor and imaget...
authorRafael Machado Dohms <rdohms@php.net>
Mon, 20 Jul 2009 03:48:55 +0000 (03:48 +0000)
committerRafael Machado Dohms <rdohms@php.net>
Mon, 20 Jul 2009 03:48:55 +0000 (03:48 +0000)
ext/gd/tests/truecolor.phpt [deleted file]

diff --git a/ext/gd/tests/truecolor.phpt b/ext/gd/tests/truecolor.phpt
deleted file mode 100644 (file)
index 9e30cbe..0000000
+++ /dev/null
@@ -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