line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Nightly::Report::Template; |
2
|
|
|
|
|
|
|
|
3
|
9
|
|
|
9
|
|
26714
|
use strict; |
|
9
|
|
|
|
|
19
|
|
|
9
|
|
|
|
|
732
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.03'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Test::Nightly::Report::Template |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 DESCRIPTION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Default template for test reporting |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
16
|
|
|
|
|
|
|
|
17
|
9
|
|
|
|
|
802
|
use constant DEFAULT => |
18
|
|
|
|
|
|
|
' |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Test::Nightly Report |
56
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
| Test |
59
|
|
|
|
|
|
|
| Passed |
60
|
|
|
|
|
|
|
| Failed |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
[% FOREACH module = tests.keys %] |
63
|
|
|
|
|
|
|
| [% module %] |
64
|
|
|
|
|
|
|
[% FOREACH test_group = tests.$module %] |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
| [% test_group.test %] |
67
|
|
|
|
|
|
|
| [% IF test_group.status == \'passed\' %]Passed[% ELSE %] [% END %] |
68
|
|
|
|
|
|
|
| [% IF test_group.status == \'failed\' %]Failed[% ELSE %] [% END %] |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
[% END %] |
71
|
|
|
|
|
|
|
[% END %] |
72
|
|
|
|
|
|
|
| |
73
|
9
|
|
|
9
|
|
51
|
'; |
|
9
|
|
|
|
|
21
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 AUTHOR |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Kirstin Bettiol |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 COPYRIGHT |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
(c) 2005 Kirstin Bettiol |
82
|
|
|
|
|
|
|
This library is free software, you can use it under the same terms as perl itself. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head1 SEE ALSO |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
L |
87
|
|
|
|
|
|
|
L. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=cut |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
1; |
92
|
|
|
|
|
|
|
|