https://rt.cpan.org/Ticket/Display.html?id=65386
https://rt.cpan.org/Ticket/Display.html?id=62855
+ - make sure each test script that needs testout/ creates it.
+ https://rt.cpan.org/Ticket/Display.html?id=65088
+
Imager 0.80 - 17 Jan 2011
===========
use Imager qw(:all :handy);
use Imager::Test qw(test_image is_color3);
+-d "testout" or mkdir "testout";
+
Imager::init('log'=>'testout/t70newgif.log');
my $green=i_color_new(0,255,0,0);
use Imager;
use Imager::Test qw(test_image);
+-d "testout" or mkdir "testout";
# checks that we load the ICO write handler automatically
+
my $img = test_image();
ok($img->write(file => 'testout/icosing.ico'),
"write ico with autoload")
use Imager;
use Imager::Test qw(test_image);
+-d "testout" or mkdir "testout";
+
# checks that we load the ICO write handler automatically
my $img = test_image();
ok(Imager->write_multi({ file => 'testout/icomult.ico' }, $img, $img),
use Imager;
use Imager::Test qw(test_image);
+-d "testout" or mkdir "testout";
+
# checks that we load the CUR write handler automatically
my $img = test_image();
ok($img->write(file => 'testout/cursing.cur'),
use Imager;
use Imager::Test qw(test_image);
+-d "testout" or mkdir "testout";
+
# checks that we load the CUR write handler automatically
my $img = test_image();
ok(Imager->write_multi({ file => 'testout/icomult.cur' }, $img, $img),
use Imager::Test qw(image_bounds_checks is_color3 is_color4 is_fcolor4 color_cmp mask_tests);
+-d "testout" or mkdir "testout";
+
init_log("testout/t01introvert.log",1);
my $im_g = Imager::ImgRaw::new(100, 101, 1);
use Test::More tests => 142;
use Imager qw(:all :handy);
use Imager::Test qw(is_color3 is_fcolor3);
+
+-d "testout" or mkdir "testout";
+
init_log("testout/t020masked.log", 1);
my $base_rgb = Imager::ImgRaw::new(100, 100, 3);
BEGIN { use_ok(Imager=>qw(:all :handy)) }
+-d "testout" or mkdir "testout";
+
init_log("testout/t021sixteen.log", 1);
use Imager::Color::Float;
BEGIN { use_ok(Imager => qw(:all :handy)) }
+-d "testout" or mkdir "testout";
+
init_log("testout/t022double.log", 1);
use Imager::Test qw(image_bounds_checks test_colorf_gpix test_colorf_glin mask_tests);
use Imager qw(:all);
++$loaded;
print "ok 1\n";
+
+-d "testout" or mkdir "testout";
+
init_log("testout/t05error.log", 1);
# try to read an invalid pnm file
BEGIN { use_ok(Imager => ':all') };
+-d "testout" or mkdir "testout";
+
init_log("testout/t07iolayer.log", 1);
undef($/);
use Test::More tests => 35;
use Imager;
+-d "testout" or mkdir "testout";
+
Imager::init_log("testout/t1000files.log", 1);
SKIP:
use Test::More;
use Imager qw(:all);
+-d "testout" or mkdir "testout";
+
init_log("testout/t101jpeg.log",1);
$Imager::formats{"jpeg"}
use Test::More tests => 47;
use Imager qw(:all);
use Imager::Test qw/is_color3 is_color4/;
+
+-d "testout" or mkdir "testout";
+
init_log("testout/t103raw.log",1);
$| = 1;
use strict;
use Imager::Test qw(test_image_raw test_image_16 is_color3 is_color1 is_image);
+-d "testout" or mkdir "testout";
+
init_log("testout/t104ppm.log",1);
my $green = i_color_new(0,255,0,255);
use Test::More tests => 213;
use Imager qw(:all);
use Imager::Test qw(test_image_raw is_image is_color3 test_image);
+
+-d "testout" or mkdir "testout";
+
init_log("testout/t107bmp.log",1);
my $debug_writes = 0;
use strict;
use Test::More tests=>46;
use Imager::Test qw(is_color4 is_image);
-init_log("testout/t108tga.log",1);
+-d "testout" or mkdir "testout";
+
+init_log("testout/t108tga.log",1);
my $img = create_test_image();
my $base_diff = 0;
use Imager;
use Imager::Test qw(is_fcolor4);
+-d "testout" or mkdir "testout";
+
init_log("testout/t15color.log",1);
my $c1 = Imager::Color->new(100, 150, 200, 250);
use Imager::Test qw(is_image is_color4 is_fcolor4 is_color3);
use Config;
+-d "testout" or mkdir "testout";
+
Imager::init_log("testout/t20fill.log", 1);
my $blue = NC(0,0,255);
use Imager::Test qw(is_color3 is_image);
use constant PI => 3.14159265358979;
+-d "testout" or mkdir "testout";
+
init_log("testout/t21draw.log",1);
my $redobj = NC(255, 0, 0);
use Imager;
use Imager::Test qw(is_image);
+-d "testout" or mkdir "testout";
+
{ # flood_fill wouldn't fill to the right if the area was just a
# single scan-line
my $im = Imager->new(xsize => 5, ysize => 3);
plan tests => 95;
+-d "testout" or mkdir "testout";
+
init_log("testout/t30t1font.log",1);
my $deffont = 'fontfiles/dcr10.pfb';
BEGIN { use_ok(Imager => ':all') }
use Imager::Test qw(diff_text_with_nul is_color3);
+-d "testout" or mkdir "testout";
+
init_log("testout/t35ttfont.log",2);
SKIP:
BEGIN { use_ok('Imager') };
+-d "testout" or mkdir "testout";
+
init_log("testout/t36oofont.log", 1);
my $fontname_tt=$ENV{'TTFONTTEST'}||'./fontfiles/dodge.ttf';
BEGIN { use_ok(Imager=>':all') }
use Imager::Test qw(is_image is_color4 is_image_similar);
+-d "testout" or mkdir "testout";
+
Imager::init('log'=>'testout/t40scale.log');
my $img=Imager->new();
my $buggy_giflib_file = "buggy_giflib.txt";
+-d "testout" or mkdir "testout";
+
Imager::init("log"=>"testout/t50basicoo.log");
# single image/file types
#$Imager::DEBUG=1;
+-d "testout" or mkdir "testout";
+
Imager::init('log'=>'testout/t55trans.log');
$img=Imager->new() || die "unable to create image object\n";
BEGIN { use_ok('Imager'); }
use Imager::Test qw(is_color3);
+-d "testout" or mkdir "testout";
+
Imager::init('log'=>'testout/t58trans2.log');
my $im1 = Imager->new();
use strict;
use Imager qw(:handy);
use Test::More tests => 113;
+
+-d "testout" or mkdir "testout";
+
Imager::init_log("testout/t61filters.log", 1);
use Imager::Test qw(is_image_similar test_image is_image is_color4 is_fcolor4);
# meant for testing the filters themselves
#$Imager::DEBUG=1;
+-d "testout" or mkdir "testout";
+
Imager::init('log'=>'testout/t64copyflip.log');
my $img=Imager->new() or die "unable to create image object\n";
#$Imager::DEBUG=1;
+-d "testout" or mkdir "testout";
+
Imager::init('log'=>'testout/t65crop.log');
my $img=Imager->new() || die "unable to create image object\n";
#$Imager::DEBUG=1;
+-d "testout" or mkdir "testout";
+
Imager::init('log'=>'testout/t66paste.log');
# the original smoke tests
use Test::More tests => 27;
use Imager::Test qw(test_colorf_gpix is_fcolor1 is_fcolor3);
+-d "testout" or mkdir "testout";
+
Imager::init("log"=>'testout/t67convert.log');
my $imbase = Imager::ImgRaw::new(200,300,3);
+-d "testout" or mkdir "testout";
+
Imager::init("log"=>'testout/t68map.log');
use Imager qw(:all :handy);
use Imager qw(:all :handy);
use Imager::Test qw(is_image);
+-d "testout" or mkdir "testout";
+
init_log("testout/t69rubthru.log", 1);
my $src_height = 80;
sub PI () { 3.14159265358979323846 }
+-d "testout" or mkdir "testout";
+
Imager::init_log("testout/t75aapolyaa.log",1);
my $red = Imager::Color->new(255,0,0);
BEGIN { use_ok('Imager') }
+-d "testout" or mkdir "testout";
+
require_ok('Imager::Font::Wrap');
my $img = Imager->new(xsize=>400, ysize=>400);
plan skip_all => "perl 5.005_04, 5.005_05 too buggy"
if $] =~ /^5\.005_0[45]$/;
+-d "testout" or mkdir "testout";
+
plan tests => 9;
require Inline;
Inline->import(with => 'Imager');
use Imager;
+-d "testout" or mkdir "testout";
+
Imager::init('log'=>'testout/t90cc.log');
{
$Imager::formats{"tiff"}
or plan skip_all => "no tiff support";
+-d "testout" or mkdir "testout";
+
plan tests => 2;
my $dest = Imager->new(xsize => 100, ysize => 100, channels => 4);