5 use Test
::RequiresInternet qw
/www.coveralia.com 80/;
6 use Test
::More tests
=> 3;
7 use Music
::Tag traditional
=> 1;
8 BEGIN { use_ok
('Music::Tag::Coveralia') };
11 my ($artist, $album, $expect) = @_;
12 my $mt = Music
::Tag
->new('t/empty.flac', {$ENV{TEST_VERBOSE
} ?
(verbose
=> 1) : (quiet
=> 1)});
15 $mt->add_plugin('Coveralia');
17 my $exists = $expect ?
'exists' : 'does not exist';
18 is
$mt->has_data('picture'), $expect, "$artist - $album $exists"
21 test
'Metallica', 'Ride The Lightning', 1;
22 test
'Metal', 'Ride The Lightning', 0;
This page took 0.022466 seconds and 4 git commands to generate.