Blame t/docs/pod-coverage.t

Packit Service d987f3
#!/usr/bin/perl
Packit Service d987f3
#
Packit Service d987f3
# Test that all methods are documented in POD.
Packit Service d987f3
#
Packit Service d987f3
# The canonical version of this file is maintained in the rra-c-util package,
Packit Service d987f3
# which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
Packit Service d987f3
#
Packit Service d987f3
# Written by Russ Allbery <eagle@eyrie.org>
Packit Service d987f3
# Copyright 2013, 2014
Packit Service d987f3
#     The Board of Trustees of the Leland Stanford Junior University
Packit Service d987f3
#
Packit Service d987f3
# Permission is hereby granted, free of charge, to any person obtaining a
Packit Service d987f3
# copy of this software and associated documentation files (the "Software"),
Packit Service d987f3
# to deal in the Software without restriction, including without limitation
Packit Service d987f3
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
Packit Service d987f3
# and/or sell copies of the Software, and to permit persons to whom the
Packit Service d987f3
# Software is furnished to do so, subject to the following conditions:
Packit Service d987f3
#
Packit Service d987f3
# The above copyright notice and this permission notice shall be included in
Packit Service d987f3
# all copies or substantial portions of the Software.
Packit Service d987f3
#
Packit Service d987f3
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Packit Service d987f3
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Packit Service d987f3
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
Packit Service d987f3
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
Packit Service d987f3
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
Packit Service d987f3
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
Packit Service d987f3
# DEALINGS IN THE SOFTWARE.
Packit Service d987f3
Packit Service d987f3
use 5.006;
Packit Service d987f3
use strict;
Packit Service d987f3
use warnings;
Packit Service d987f3
Packit Service d987f3
use lib 't/lib';
Packit Service d987f3
Packit Service d987f3
use Test::More;
Packit Service d987f3
use Test::RRA qw(skip_unless_automated use_prereq);
Packit Service d987f3
use Test::RRA::Config qw(@POD_COVERAGE_EXCLUDE);
Packit Service d987f3
Packit Service d987f3
# Skip for normal user installs since this doesn't affect functionality.
Packit Service d987f3
skip_unless_automated('POD coverage tests');
Packit Service d987f3
Packit Service d987f3
# Load prerequisite modules.
Packit Service d987f3
use_prereq('Test::Pod::Coverage');
Packit Service d987f3
Packit Service d987f3
# Test everything found in the distribution.
Packit Service d987f3
all_pod_coverage_ok({ also_private => [@POD_COVERAGE_EXCLUDE] });