File Coverage

blib/lib/Test/Apocalypse/Signature.pm
Criterion Covered Total %
statement 14 18 77.7
branch 0 2 0.0
condition n/a
subroutine 6 7 85.7
pod 0 1 0.0
total 20 28 71.4


line stmt bran cond sub pod time code
1             #
2             # This file is part of Test-Apocalypse
3             #
4             # This software is copyright (c) 2014 by Apocalypse.
5             #
6             # This is free software; you can redistribute it and/or modify it under
7             # the same terms as the Perl 5 programming language system itself.
8             #
9 39     39   16165286 use strict; use warnings;
  39     39   53  
  39         1276  
  39         196  
  39         45  
  39         1819  
10             package Test::Apocalypse::Signature;
11             $Test::Apocalypse::Signature::VERSION = '1.003';
12             BEGIN {
13 39     39   552 $Test::Apocalypse::Signature::AUTHORITY = 'cpan:APOCAL';
14             }
15              
16             # ABSTRACT: Plugin for Test::Signature
17              
18 39     39   164 use Test::More;
  39         187  
  39         273  
19 39     39   24287 use Test::Signature 1.10;
  39         16695  
  39         3179  
20              
21             # Various people have said SIGNATURE tests are INSANE on end-user install...
22 38     38   266 sub _do_automated { 0 }
23              
24             sub do_test {
25             # do we have a signature file?
26 0 0   0 0   if ( -e 'SIGNATURE' ) {
27 0           signature_ok();
28             } else {
29 0           plan skip_all => 'No SIGNATURE file found';
30             }
31              
32 0           return;
33             }
34              
35             1;
36              
37             __END__
38              
39             =pod
40              
41             =encoding UTF-8
42              
43             =for :stopwords Apocalypse Niebur Ryan
44              
45             =for Pod::Coverage do_test
46              
47             =head1 NAME
48              
49             Test::Apocalypse::Signature - Plugin for Test::Signature
50              
51             =head1 VERSION
52              
53             This document describes v1.003 of Test::Apocalypse::Signature - released October 24, 2014 as part of Test-Apocalypse.
54              
55             =head1 DESCRIPTION
56              
57             Encapsulates L<Test::Signature> functionality.
58              
59             =head1 SEE ALSO
60              
61             Please see those modules/websites for more information related to this module.
62              
63             =over 4
64              
65             =item *
66              
67             L<Test::Apocalypse|Test::Apocalypse>
68              
69             =back
70              
71             =head1 AUTHOR
72              
73             Apocalypse <APOCAL@cpan.org>
74              
75             =head1 COPYRIGHT AND LICENSE
76              
77             This software is copyright (c) 2014 by Apocalypse.
78              
79             This is free software; you can redistribute it and/or modify it under
80             the same terms as the Perl 5 programming language system itself.
81              
82             The full text of the license can be found in the
83             F<LICENSE> file included with this distribution.
84              
85             =head1 DISCLAIMER OF WARRANTY
86              
87             THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
88             APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
89             HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
90             OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
91             THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
92             PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
93             IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
94             ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
95              
96             IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
97             WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
98             THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
99             GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
100             USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
101             DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
102             PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
103             EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
104             SUCH DAMAGES.
105              
106             =cut