]> git.imager.perl.org - imager.git/commitdiff
missed some t/testtools.pl usage
authorTony Cook <tony@develop=help.com>
Tue, 29 Apr 2008 23:11:55 +0000 (23:11 +0000)
committerTony Cook <tony@develop=help.com>
Tue, 29 Apr 2008 23:11:55 +0000 (23:11 +0000)
ICO/t/t70icosing.t
ICO/t/t71icomult.t
ICO/t/t72cursing.t
ICO/t/t73curmult.t
MANIFEST

index 6a42ec840557cc2e59b18997db9c714d5476dfe5..8327e47f6872302dde972d93436abdd1c9f784c5 100644 (file)
@@ -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";
index fbb2f9e421143941654b43a1ce40169d9cea49e5..f602c4569dd138f2ac12464d19cfc550b8e94d4f 100644 (file)
@@ -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";
index d8632abc65ed95e9e2940fa830e349bef3f45429..8a174247e54b300a8f22439dc1434dbad3b8301c 100644 (file)
@@ -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";
index b2ba49ed511fcc16aa7348dfd893b9eeaf8f842d..d0248bdabaa6666c1a1c3a9573cf28daf15b4f95 100644 (file)
@@ -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";
index 2d66ce91d00dac6b37f76c8a8d5286d31b2edc6a..1fb3d1de63ca39da0b6d09947b7b7f29753b04aa 100644 (file)
--- 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