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