line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::Event::ProcessFinish; |
2
|
25
|
|
|
25
|
|
386
|
use strict; |
|
25
|
|
|
|
|
25
|
|
|
25
|
|
|
|
|
524
|
|
3
|
25
|
|
|
25
|
|
59
|
use warnings; |
|
25
|
|
|
|
|
25
|
|
|
25
|
|
|
|
|
1090
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.000012'; |
6
|
|
|
|
|
|
|
|
7
|
25
|
|
|
25
|
|
74
|
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } |
|
25
|
|
|
|
|
878
|
|
8
|
25
|
|
|
25
|
|
96
|
use Test2::Util::HashBase qw/file result/; |
|
25
|
|
|
|
|
25
|
|
|
25
|
|
|
|
|
102
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub init { |
11
|
611
|
|
|
611
|
0
|
12921
|
my $self = shift; |
12
|
611
|
50
|
|
|
|
2398
|
defined $self->{+RESULT} or $self->trace->throw("'result' is a required attribute"); |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub summary { |
16
|
601
|
|
|
601
|
1
|
792
|
my $self = shift; |
17
|
601
|
50
|
|
|
|
3039
|
return $self->{+FILE} . ' ' . ($self->{+RESULT}->passed ? 'passed' : 'failed'); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |