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