Music::Tag::Test - Routines to test Music::Tag plugins
#!/usr/bin/perl -w use strict; use Test::More tests => 62; use Music::Tag::Test; BEGIN { use_ok('Music::Tag') } my $c = filetest("t/elise.mp3", "t/elisetest.mp3", {},{ values_in => { artist =>, "Beethoven", album => "GPL", title 1=> "Elise", sha1 => '39cd05447fa9ab6d6db08f41a78ac8628874c37e', }, skip_write_tests => 0, random_write => [ qw(title artist album) ], random_write_date => [ qw(releaseepoch) ], random_write_num => [ qw(track) ], picture_in => 0, picture_file => 'beethoven.jpg', picture_sha1 => 'b2bf4b2f71bf01e12473dd0ebe295777127589f4', picture_read => 1, count => 60, plugin => 'MP3' });
Music::Tag::Test provides routines to test Music::Tag plugins
Takes a hashref of options to perform multiple test on a file.
Create a tag for given options.
Perform read test
Write random data to tags
Read back data written.
Read a picture
Write a picture
Unknown
Music::Tag
Edward Allen III <ealleniii _at_ cpan _dot_ org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either:
a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" which comes with Perl.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details.
You should have received a copy of the Artistic License with this Kit, in the file named "Artistic". If not, I'll be glad to provide one.
You should also have received a copy of the GNU General Public License along with this program in the file named "Copying". If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA or visit their web page on the Internet at http://www.gnu.org/copyleft/gpl.html.
Copyright © 2007,2010 Edward Allen III. Some rights reserved.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '©'. Assuming UTF-8
To install Music::Tag, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Music::Tag
CPAN shell
perl -MCPAN -e shell install Music::Tag
For more information on module installation, please visit the detailed CPAN module installation guide.