line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::Event::Skip; |
2
|
57
|
|
|
57
|
|
478
|
use strict; |
|
57
|
|
|
|
|
56
|
|
|
57
|
|
|
|
|
1213
|
|
3
|
57
|
|
|
57
|
|
162
|
use warnings; |
|
57
|
|
|
|
|
53
|
|
|
57
|
|
|
|
|
1690
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.000044'; |
6
|
|
|
|
|
|
|
|
7
|
57
|
|
|
57
|
|
162
|
use base 'Test2::Event::Ok'; |
|
57
|
|
|
|
|
67
|
|
|
57
|
|
|
|
|
3358
|
|
8
|
57
|
|
|
57
|
|
239
|
use Test2::Util::HashBase qw{reason}; |
|
57
|
|
|
|
|
68
|
|
|
57
|
|
|
|
|
287
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub init { |
11
|
4
|
|
|
4
|
0
|
7
|
my $self = shift; |
12
|
4
|
|
|
|
|
17
|
$self->SUPER::init; |
13
|
4
|
|
|
|
|
8
|
$self->{+EFFECTIVE_PASS} = 1; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
2
|
|
|
2
|
1
|
3
|
sub causes_fail { 0 } |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub summary { |
19
|
2
|
|
|
2
|
1
|
3
|
my $self = shift; |
20
|
2
|
|
|
|
|
9
|
my $out = $self->SUPER::summary(@_); |
21
|
|
|
|
|
|
|
|
22
|
2
|
100
|
|
|
|
4
|
if (my $reason = $self->reason) { |
23
|
1
|
|
|
|
|
3
|
$out .= " (SKIP: $reason)"; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
else { |
26
|
1
|
|
|
|
|
1
|
$out .= " (SKIP)"; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
2
|
|
|
|
|
4
|
return $out; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |