Skip to content

Commit

Permalink
Add a stub test for the S3 mover.
Browse files Browse the repository at this point in the history
  • Loading branch information
dse committed Jul 15, 2011
1 parent 8c1499f commit 2af2a5d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions t/Bric/Util/Trans/S3/Test.pm
@@ -0,0 +1,23 @@
package Bric::Util::Trans::S3::Test;
use strict;
use warnings;
use base qw(Bric::Test::Base);
use Test::More;

##############################################################################
# Test class loading.
##############################################################################
sub _test_load : Test(3) {
eval { require Net::Amazon::S3; 1 } or
return 'Net::Amazon::S3 not installed';
use_ok('Bric::Util::Trans::S3');
isa_ok 'Bric::Util::Trans::S3', 'Bric';
can_ok 'Bric::Util::Trans::S3', qw(
new
put_res
del_res
);
}

1;
__END__

0 comments on commit 2af2a5d

Please sign in to comment.