File: pod-coverage.t

package info (click to toggle)
libpostscript-file-perl 2.23%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 828 kB
  • sloc: perl: 7,056; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /usr/bin/perl
#---------------------------------------------------------------------

use Test::More;

eval "use Test::Pod::Coverage 1.08; 1"
or plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage";

eval "use Pod::Coverage::TrustPod 0.100001; 1"
or plan skip_all => "Pod::Coverage::TrustPod 0.100001 required for testing POD coverage";

my $opts = { coverage_class => 'Pod::Coverage::TrustPod' };

plan tests => 4;

pod_coverage_ok('PostScript::File', $opts);
pod_coverage_ok('PostScript::File::Functions', $opts);
pod_coverage_ok('PostScript::File::Metrics', $opts);
pod_coverage_ok('PostScript::File::Metrics::Loader', $opts);