]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blob - t/92-pod-coverage.t
This is 1.00
[perl/modules/Test-Valgrind.git] / t / 92-pod-coverage.t
1 #!perl -T
2
3 use strict;
4 use warnings;
5
6 use Test::More;
7
8 # Ensure a recent version of Test::Pod::Coverage
9 my $min_tpc = 1.08;
10 eval "use Test::Pod::Coverage $min_tpc";
11 plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage" if $@;
12
13 # Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
14 # but older versions don't recognize some common documentation styles
15 my $min_pc = 0.18;
16 eval "use Pod::Coverage $min_pc";
17 plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage" if $@;
18
19 my $trustparents = { coverage_class => 'Pod::Coverage::CountParents' };
20
21 plan tests => 14;
22
23 pod_coverage_ok('Test::Valgrind');
24
25 pod_coverage_ok('Test::Valgrind::Action');
26 pod_coverage_ok('Test::Valgrind::Action::Captor');
27 pod_coverage_ok('Test::Valgrind::Action::Suppressions', $trustparents);
28 pod_coverage_ok('Test::Valgrind::Action::Test', $trustparents);
29
30 pod_coverage_ok('Test::Valgrind::Carp');
31
32 pod_coverage_ok('Test::Valgrind::Command');
33 pod_coverage_ok('Test::Valgrind::Command::Perl', $trustparents);
34
35 pod_coverage_ok('Test::Valgrind::Report');
36 pod_coverage_ok('Test::Valgrind::Session');
37 pod_coverage_ok('Test::Valgrind::Suppressions');
38
39 pod_coverage_ok('Test::Valgrind::Tool');
40 pod_coverage_ok('Test::Valgrind::Tool::SuppressionsParser');
41 pod_coverage_ok('Test::Valgrind::Tool::memcheck', $trustparents);