From: Tony Cook <tony@develop=help.com>
Date: Tue, 29 Apr 2008 23:11:55 +0000 (+0000)
Subject: missed some t/testtools.pl usage
X-Git-Tag: Imager-0.65~4
X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/12a86be95567046edd25f8b78e99e75f7b1c083a

missed some t/testtools.pl usage
---

diff --git a/ICO/t/t70icosing.t b/ICO/t/t70icosing.t
index 6a42ec84..8327e47f 100644
--- a/ICO/t/t70icosing.t
+++ b/ICO/t/t70icosing.t
@@ -2,10 +2,10 @@
 use strict;
 use Test::More tests => 1;
 use Imager;
-require '../t/testtools.pl';
+use Imager::Test qw(test_image);
 
 # checks that we load the ICO write handler automatically
-my $img = test_oo_img();
+my $img = test_image();
 ok($img->write(file => 'testout/icosing.ico'),
    "write ico with autoload")
   or print "# ",$img->errstr,"\n";
diff --git a/ICO/t/t71icomult.t b/ICO/t/t71icomult.t
index fbb2f9e4..f602c456 100644
--- a/ICO/t/t71icomult.t
+++ b/ICO/t/t71icomult.t
@@ -2,10 +2,10 @@
 use strict;
 use Test::More tests => 1;
 use Imager;
-require '../t/testtools.pl';
+use Imager::Test qw(test_image);
 
 # checks that we load the ICO write handler automatically
-my $img = test_oo_img();
+my $img = test_image();
 ok(Imager->write_multi({ file => 'testout/icomult.ico' }, $img, $img),
    "write_multi ico with autoload")
   or print "# ",Imager->errstr,"\n";
diff --git a/ICO/t/t72cursing.t b/ICO/t/t72cursing.t
index d8632abc..8a174247 100644
--- a/ICO/t/t72cursing.t
+++ b/ICO/t/t72cursing.t
@@ -2,10 +2,10 @@
 use strict;
 use Test::More tests => 1;
 use Imager;
-require '../t/testtools.pl';
+use Imager::Test qw(test_image);
 
 # checks that we load the CUR write handler automatically
-my $img = test_oo_img();
+my $img = test_image();
 ok($img->write(file => 'testout/cursing.cur'),
    "write cur with autoload")
   or print "# ",$img->errstr,"\n";
diff --git a/ICO/t/t73curmult.t b/ICO/t/t73curmult.t
index b2ba49ed..d0248bda 100644
--- a/ICO/t/t73curmult.t
+++ b/ICO/t/t73curmult.t
@@ -2,10 +2,10 @@
 use strict;
 use Test::More tests => 1;
 use Imager;
-require '../t/testtools.pl';
+use Imager::Test qw(test_image);
 
 # checks that we load the CUR write handler automatically
-my $img = test_oo_img();
+my $img = test_image();
 ok(Imager->write_multi({ file => 'testout/icomult.cur' }, $img, $img),
    "write_multi cur with autoload")
   or print "# ",Imager->errstr,"\n";
diff --git a/MANIFEST b/MANIFEST
index 2d66ce91..1fb3d1de 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -273,7 +273,6 @@ t/t91pod.t		Test POD with Test::Pod
 t/t92samples.t
 t/t93podcover.t	POD Coverage tests
 t/t94kwalitee.t		Various "kwalitee" tests
-t/testtools.pl
 t/tr18561.t		Regression tests
 t/tr18561b.t
 tags.c