X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F92-pod-coverage.t;h=a225486c8c3e61360feade855a5f6b23681d8311;hb=d44c95e8e9820ee69e76506bde7c2c5fbe37b568;hp=718c85859709bed3cb916c0ae8e1166d597199e8;hpb=41a4b907f4846f2d35b170f517fb83ceb13f298c;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/t/92-pod-coverage.t b/t/92-pod-coverage.t index 718c858..a225486 100644 --- a/t/92-pod-coverage.t +++ b/t/92-pod-coverage.t @@ -1,5 +1,8 @@ +#!perl -T + use strict; use warnings; + use Test::More; # Ensure a recent version of Test::Pod::Coverage @@ -13,5 +16,38 @@ my $min_pc = 0.18; eval "use Pod::Coverage $min_pc"; plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage" if $@; -plan tests => 1; +my $trustparents = { coverage_class => 'Pod::Coverage::CountParents' }; + +plan tests => 21; + pod_coverage_ok('Test::Valgrind'); + +pod_coverage_ok('Test::Valgrind::Action'); +pod_coverage_ok('Test::Valgrind::Action::Captor'); +pod_coverage_ok('Test::Valgrind::Action::Suppressions', $trustparents); +pod_coverage_ok('Test::Valgrind::Action::Test', $trustparents); + +pod_coverage_ok('Test::Valgrind::Carp'); + +pod_coverage_ok('Test::Valgrind::Command'); +pod_coverage_ok('Test::Valgrind::Command::Aggregate', $trustparents); +pod_coverage_ok('Test::Valgrind::Command::Perl', $trustparents); +pod_coverage_ok('Test::Valgrind::Command::PerlScript', $trustparents); + +pod_coverage_ok('Test::Valgrind::Component'); + +pod_coverage_ok('Test::Valgrind::Parser'); +pod_coverage_ok('Test::Valgrind::Parser::Suppressions::Text', $trustparents); +pod_coverage_ok('Test::Valgrind::Parser::Text', $trustparents); +pod_coverage_ok('Test::Valgrind::Parser::XML', $trustparents); +pod_coverage_ok('Test::Valgrind::Parser::XML::Twig', { + %$trustparents, + also_private => [ qr/^handle_/, qw/stash/ ], +}); + +pod_coverage_ok('Test::Valgrind::Report'); +pod_coverage_ok('Test::Valgrind::Session'); +pod_coverage_ok('Test::Valgrind::Suppressions'); + +pod_coverage_ok('Test::Valgrind::Tool'); +pod_coverage_ok('Test::Valgrind::Tool::memcheck', $trustparents);