~ubuntu-branches/ubuntu/maverick/libmodule-starter-plugin-cgiapp-perl/maverick

« back to all changes in this revision

Viewing changes to t/pod-coverage.t

  • Committer: Bazaar Package Importer
  • Author(s): Jaldhar H. Vyas
  • Date: 2008-09-18 22:36:44 UTC
  • Revision ID: james.westby@ubuntu.com-20080918223644-ali0eh6eno0tw5ta
Tags: upstream-0.05
ImportĀ upstreamĀ versionĀ 0.05

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!perl -T
 
2
#
 
3
# $Id: pod-coverage.t 1 2008-03-23 13:38:20Z jaldhar $
 
4
#
 
5
use strict;
 
6
use warnings;
 
7
use English qw( -no_match_vars );
 
8
use Test::More;
 
9
 
 
10
my $min_tpc = 1.08;
 
11
eval "use Test::Pod::Coverage $min_tpc;";
 
12
if ($EVAL_ERROR) {
 
13
    plan skip_all =>
 
14
        "Test::Pod::Coverage $min_tpc required for testing POD coverage";
 
15
}
 
16
 
 
17
# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
 
18
# but older versions don't recognize some common documentation styles
 
19
my $min_pc = 0.18;
 
20
eval "use Pod::Coverage $min_pc;";
 
21
if ($EVAL_ERROR) {
 
22
    plan skip_all =>
 
23
        "Pod::Coverage $min_pc required for testing POD coverage";
 
24
}
 
25
 
 
26
all_pod_coverage_ok();