File: 098_pod.t

package info (click to toggle)
libsoap-wsdl-perl 3.004-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,600 kB
  • sloc: perl: 8,433; xml: 1,769; java: 19; makefile: 15
file content (19 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;

my @dir_from = ('t');
if (!$ENV{HARNESS_ACTIVE}) {
    # perl Build test or make test run from top-level dir.
    if ( -d '../t/' ) {
        @dir_from = ('../lib/');
    }
}

my @files = all_pod_files(@dir_from);

plan tests => scalar(@files);

foreach my $module (@files){
    pod_file_ok( $module )
}