From a461c437cdca963184d3de55e2c52792634f1f3b Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Wed, 10 Oct 2007 19:28:08 +0000 Subject: [PATCH] moving files --- .../{000-makeResolutions.t => 010-makeResolutions.t} | 9 +++++++++ 1 file changed, 9 insertions(+) rename t/Asset/File/Image/Photo/{000-makeResolutions.t => 010-makeResolutions.t} (96%) diff --git a/t/Asset/File/Image/Photo/000-makeResolutions.t b/t/Asset/File/Image/Photo/010-makeResolutions.t similarity index 96% rename from t/Asset/File/Image/Photo/000-makeResolutions.t rename to t/Asset/File/Image/Photo/010-makeResolutions.t index 974f3b4a3..7d7c4744a 100644 --- a/t/Asset/File/Image/Photo/000-makeResolutions.t +++ b/t/Asset/File/Image/Photo/010-makeResolutions.t @@ -19,6 +19,15 @@ use Scalar::Util qw( blessed ); use WebGUI::Test; use WebGUI::Session; use Test::More; +my $graphicsClass; +BEGIN { + if (eval { require Graphics::Magick; 1 }) { + $graphicsClass = 'Graphics::Magick'; + } + elsif (eval { require Image::Magick; 1 }) { + $graphicsClass = 'Image::Magick'; + } +} use WebGUI::Asset::File::Image::Photo; #----------------------------------------------------------------------------