File: pod_coverage.t

package info (click to toggle)
libppix-utilities-perl 1.000001-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 208 kB
  • ctags: 11
  • sloc: perl: 1,281; makefile: 2
file content (35 lines) | stat: -rw-r--r-- 883 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env perl

#      $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/distributions/PPIx-Utilities/xt/author/pod_coverage.t $
#     $Date: 2010-03-14 17:05:21 -0500 (Sun, 14 Mar 2010) $
#   $Author: clonezone $
# $Revision: 3789 $

use 5.006;

use strict;
use warnings;

our $VERSION = '1.000001';

use Test::More;
use Test::Pod::Coverage;

my @trusted_methods = qw<
    description
>;

my $method_string = join q< | >, @trusted_methods;
my $regex = qr< \A (?: $method_string ) \z >xms;
all_pod_coverage_ok( { trustme => [$regex] } );

# Local Variables:
#   mode: cperl
#   cperl-indent-level: 4
#   fill-column: 78
#   indent-tabs-mode: nil
#   c-indentation-style: bsd
# End:
# setup vim: set filetype=perl tabstop=4 softtabstop=4 expandtab :
# setup vim: set shiftwidth=4 shiftround textwidth=78 nowrap autoindent :
# setup vim: set foldmethod=indent foldlevel=0 :