AnyEvent-DBI-MySQL
view release on metacpan or search on metacpan
t/01.export.t view on Meta::CPAN
use warnings;
use strict;
use Test::More;
use AnyEvent::DBI::MySQL;
my @exports
# = qw( func1 func2 )
;
my @not_exports
# = qw( func3 func4 )
;
plan +(@exports + @not_exports)
? ( tests => @exports + @not_exports )
: ( skip_all => q{This module doesn't export anything} )
;
for my $export (@exports) {
can_ok( __PACKAGE__, $export );
}
for my $not_export (@not_exports) {
ok( ! __PACKAGE__->can($not_export) );
}
( run in 0.654 second using v1.01-cache-2.11-cpan-cc502c75498 )