[svn-upgrade] Integrating new upstream version, libtest-pod-perl (1.26)
Rene Mayorga
16 years ago
0 | 0 |
Change log for Test::Pod
|
|
1 |
|
|
2 |
1.26 - Wed Jul 19 09:54:48 CDT 2006
|
|
3 |
|
|
4 |
No new functionality in this version.
|
|
5 |
|
|
6 |
[FIXES]
|
|
7 |
* Fixed a Win32 build bug.
|
|
8 |
* Fixed a bug in the SYNOPSIS.
|
1 | 9 |
|
2 | 10 |
1.24 - Wed Feb 1 15:18:06 PST 2006
|
3 | 11 |
[THINGS THAT MAY BREAK YOUR CODE]
|
2 | 2 |
Makefile.PL
|
3 | 3 |
Pod.pm
|
4 | 4 |
|
|
5 |
t/00-load.t
|
5 | 6 |
t/all_pod_files.t
|
6 | 7 |
t/cut-outside-block.pod
|
7 | 8 |
t/cut-outside-block.t
|
0 | |
--- #YAML:1.0
|
1 | |
name: Test-Pod
|
2 | |
version: 1.24
|
3 | |
abstract: ~
|
4 | |
license: unknown
|
5 | |
generated_by: ExtUtils::MakeMaker version 6.30_01
|
6 | |
author: ~
|
7 | |
distribution_type: module
|
8 | |
requires:
|
|
0 |
# http://module-build.sourceforge.net/META-spec.html
|
|
1 |
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
|
|
2 |
name: Test-Pod
|
|
3 |
version: 1.26
|
|
4 |
version_from: Pod.pm
|
|
5 |
installdirs: site
|
|
6 |
requires:
|
9 | 7 |
File::Spec: 0
|
10 | 8 |
Pod::Simple: 2.04
|
11 | 9 |
Test::Builder::Tester: 1.02
|
12 | 10 |
Test::More: 0.62
|
13 | |
meta-spec:
|
14 | |
url: <http://module-build.sourceforge.net/META-spec-new.html>;
|
15 | |
version: 1.1
|
|
11 |
|
|
12 |
distribution_type: module
|
|
13 |
generated_by: ExtUtils::MakeMaker version 6.30
|
7 | 7 |
|
8 | 8 |
=head1 VERSION
|
9 | 9 |
|
10 | |
Version 1.24
|
|
10 |
Version 1.26
|
11 | 11 |
|
12 | 12 |
=cut
|
13 | 13 |
|
14 | 14 |
use vars qw( $VERSION );
|
15 | |
$VERSION = '1.24';
|
|
15 |
$VERSION = '1.26';
|
16 | 16 |
|
17 | 17 |
=head1 SYNOPSIS
|
18 | 18 |
|
19 | 19 |
C<Test::Pod> lets you check the validity of a POD file, and report
|
20 | 20 |
its results in standard C<Test::Simple> fashion.
|
21 | 21 |
|
22 | |
use Test::Pod;
|
23 | |
plan tests => $num_tests;
|
|
22 |
use Test::Pod tests => $num_tests;
|
24 | 23 |
pod_file_ok( $file, "Valid POD file" );
|
25 | 24 |
|
26 | 25 |
Module authors can include the following in a F<t/pod.t> file and
|
|
0 |
#!perl -T
|
|
1 |
|
|
2 |
use warnings;
|
|
3 |
use strict;
|
|
4 |
use Test::More tests => 1;
|
|
5 |
|
|
6 |
BEGIN {
|
|
7 |
use_ok( 'Test::Pod' );
|
|
8 |
}
|
|
9 |
|
|
10 |
diag( "Testing Test::Pod $Test::Pod::VERSION, Perl $], $^X" );
|
28 | 28 |
}
|
29 | 29 |
my @files = sort map { lc } all_pod_files( "blib", "t/pod" );
|
30 | 30 |
@expected = sort map { lc } @expected;
|
|
31 |
s{\\}{/}g for @files, @expected;
|
31 | 32 |
is_deeply( \@files, \@expected, "Got all the distro files" );
|