-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
27 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ README | |
lib/AudioFile/Info.pm | ||
t/1.t | ||
t/2_pod.t | ||
t/3_pod_coverage.t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
--- #YAML:1.0 | ||
name: AudioFile-Info | ||
version: 1.05 | ||
version: 1.07 | ||
author: | ||
- Dave Cross, E<lt>dave@dave.org.ukE<gt> | ||
abstract: Perl extension to get info from audio files. | ||
license: perl | ||
distribution_type: module | ||
requires: | ||
YAML: 0 | ||
perl: 5.6.0 | ||
recommends: {} | ||
build_requires: {} | ||
conflicts: {} | ||
provides: | ||
AudioFile::Info: | ||
file: lib/AudioFile/Info.pm | ||
version: 1.05 | ||
generated_by: Module::Build version 0.20 | ||
version: 1.07 | ||
generated_by: Module::Build version 0.2607 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
# Before `make install' is performed this script should be runnable with | ||
# `make test'. After `make install' it should work as `perl 1.t' | ||
use Test::More tests => 4; | ||
BEGIN { use_ok('AudioFile::Info') } | ||
|
||
######################### | ||
# Hard to test anything really as we don't have any plugins installed | ||
# at this point | ||
# | ||
# Hmm... ok, let's try and test some stuff that shouldn't work :) | ||
|
||
# change 'tests => 1' to 'tests => last_test_to_print'; | ||
eval { AudioFile::Info->new }; | ||
ok($@); | ||
|
||
use Test; | ||
BEGIN { plan tests => 1 }; | ||
use AudioFile::Info; | ||
ok(1); | ||
eval { AudioFile::Info->new('file_with_no_ext') }; | ||
ok($@); | ||
|
||
######################### | ||
eval { AudioFile::Info->new('file_with_bad_ext.foo') }; | ||
ok($@); | ||
|
||
# Insert your test code below, the Test::More module is use()ed here so read | ||
# its man page ( perldoc Test::More ) for help writing this test script. | ||
# | ||
# Hard to test anything really as we don't have any plugins installed | ||
# at this point |