diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-12-28 17:33:09 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-12-28 17:33:09 +0100 |
commit | 99990d767acbaaeef73c9ee424a773262d13e05f (patch) | |
tree | cdcf0e6fecb510322b5d5fc2865f61215354b4f9 /gmagick-tests.patch | |
parent | 85a61a85a260f34a52440e9f773cddc0deb62589 (diff) |
php-pecl-gmagick 1.1.2RC1
Diffstat (limited to 'gmagick-tests.patch')
-rw-r--r-- | gmagick-tests.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/gmagick-tests.patch b/gmagick-tests.patch deleted file mode 100644 index 280ff67..0000000 --- a/gmagick-tests.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- tests.orig/gmagick-054-getquantumdepth.phpt 2012-01-23 08:06:35.694766376 +0100 -+++ tests/gmagick-054-getquantumdepth.phpt 2012-01-23 08:17:58.499797061 +0100 -@@ -9,11 +9,22 @@ - <?php - $gm = new Gmagick(); - $gm->read("magick:rose"); --print_r($gm->getQuantumDepth()); -+$q=$gm->getQuantumDepth(); -+if (is_array($q) && count($q)==2 && isset($q['quantumDepthLong']) && isset($q['quantumDepthString'])) { -+ echo "Struct OK\n"; -+ if ($q['quantumDepthLong']=='8' && $q['quantumDepthString']=='Q8') { -+ echo "Quantum OK\n"; -+ } else if ($q['quantumDepthLong']=='16' && $q['quantumDepthString']=='Q16') { -+ echo "Quantum OK\n"; -+ } else { -+ echo "Quantum KO\n"; -+ print_r($q); -+ } -+} else { -+ echo "Struct KO\n"; -+ print_r($q); -+} - ?> - --EXPECTF-- --Array --( -- [quantumDepthLong] => 8 -- [quantumDepthString] => Q8 --) -\ Pas de fin de ligne à la fin du fichier -+Struct OK -+Quantum OK |