| 1 |
|
| 2 |
# $Id: pod-coverage.t,v 1.1 2008/04/03 22:12:55 Martin Exp $ |
| 3 |
|
| 4 |
use strict; |
| 5 |
use warnings; |
| 6 |
use Test::More; |
| 7 |
use blib; |
| 8 |
|
| 9 |
# BEGIN { sub Pod::Coverage::TRACE_ALL () { 1 } } |
| 10 |
# BEGIN { sub TRACE_ALL () { 1 } } |
| 11 |
|
| 12 |
# Ensure a recent version of Test::Pod::Coverage |
| 13 |
my $min_tpc = 1.08; |
| 14 |
eval "use Test::Pod::Coverage $min_tpc"; |
| 15 |
plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage" |
| 16 |
if $@; |
| 17 |
|
| 18 |
# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version, |
| 19 |
# but older versions don't recognize some common documentation styles |
| 20 |
my $min_pc = 0.18; |
| 21 |
eval "use Pod::Coverage $min_pc"; |
| 22 |
plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage" |
| 23 |
if $@; |
| 24 |
|
| 25 |
all_pod_coverage_ok(); |
| 26 |
|
| 27 |
__END__ |