line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::Event::Skip; |
2
|
57
|
|
|
57
|
|
531
|
use strict; |
|
57
|
|
|
|
|
60
|
|
|
57
|
|
|
|
|
1307
|
|
3
|
57
|
|
|
57
|
|
164
|
use warnings; |
|
57
|
|
|
|
|
1431
|
|
|
57
|
|
|
|
|
2608
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.000043'; |
6
|
|
|
|
|
|
|
$VERSION = eval $VERSION; ## no critic (BuiltinFunctions::ProhibitStringyEval) |
7
|
|
|
|
|
|
|
|
8
|
57
|
|
|
57
|
|
202
|
use base 'Test2::Event::Ok'; |
|
57
|
|
|
|
|
43
|
|
|
57
|
|
|
|
|
3438
|
|
9
|
57
|
|
|
57
|
|
203
|
use Test2::Util::HashBase qw{reason}; |
|
57
|
|
|
|
|
68
|
|
|
57
|
|
|
|
|
264
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub init { |
12
|
4
|
|
|
4
|
0
|
7
|
my $self = shift; |
13
|
4
|
|
|
|
|
20
|
$self->SUPER::init; |
14
|
4
|
|
|
|
|
8
|
$self->{+EFFECTIVE_PASS} = 1; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
2
|
|
|
2
|
1
|
3
|
sub causes_fail { 0 } |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub summary { |
20
|
2
|
|
|
2
|
1
|
3
|
my $self = shift; |
21
|
2
|
|
|
|
|
7
|
my $out = $self->SUPER::summary(@_); |
22
|
|
|
|
|
|
|
|
23
|
2
|
100
|
|
|
|
5
|
if (my $reason = $self->reason) { |
24
|
1
|
|
|
|
|
3
|
$out .= " (SKIP: $reason)"; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
else { |
27
|
1
|
|
|
|
|
2
|
$out .= " (SKIP)"; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
2
|
|
|
|
|
8
|
return $out; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |