r6200@rob-kinyons-computer-2 (orig r9980): rkinyon | 2007-09-22 21:02:54 -0400
[dbsrgits/DBM-Deep.git] / t / 99_pod_coverage.t
1 # Only DBM::Deep has any POD to test. All the other classes are private
2 # classes. Hence, they have no POD outside of DBM::Deep::Internals
3
4 use strict;
5
6 use Test::More tests => 1;
7
8 eval "use Test::Pod::Coverage 1.04";
9 plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
10
11 # I don't know why TYPE_ARRAY isn't being caught and TYPE_HASH is.
12 my @private_methods = qw(
13     TYPE_ARRAY
14 );
15
16 # These are method names that have been commented out, for now
17 # max_of total_of
18 # begin_page end_page
19
20 my $private_regex = do {
21     local $"='|';
22     qr/^(?:@private_methods)$/
23 };
24
25 pod_coverage_ok( 'DBM::Deep' => {
26     also_private => [ $private_regex ],
27 });