Skip to content

Commit

Permalink
added test requirement/skip for GD so no longer errors out; now using…
Browse files Browse the repository at this point in the history
… Bio::Root::Test.
  • Loading branch information
DaveMessina committed Jun 5, 2010
1 parent d1937b2 commit 50e62b4
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions t/Align/Graphics.t
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
#!usr/bin/perl -w
use strict;

BEGIN
{
use lib 't/lib';

# use BioperlTest;
use Test::More tests=>41;
use Bio::Root::Test;
test_begin( -tests => 41,
-requires_modules => [qw(GD)]);

#Check if module and all its methods can be loaded
use_ok('Bio::Align::Graphics');
require_ok('Bio::Align::Graphics');
can_ok('Bio::Align::Graphics', qw(new draw height width aln_length aln_format no_sequences));
}


#Get an alignment file
my $file = Bio::Root::IO->catfile("t","data","pep-266.aln");
Expand Down

0 comments on commit 50e62b4

Please sign in to comment.