line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::Event::Skip; |
2
|
54
|
|
|
54
|
|
500
|
use strict; |
|
54
|
|
|
|
|
51
|
|
|
54
|
|
|
|
|
1184
|
|
3
|
54
|
|
|
54
|
|
146
|
use warnings; |
|
54
|
|
|
|
|
57
|
|
|
54
|
|
|
|
|
1587
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.000042'; |
6
|
|
|
|
|
|
|
|
7
|
54
|
|
|
54
|
|
153
|
use base 'Test2::Event::Ok'; |
|
54
|
|
|
|
|
58
|
|
|
54
|
|
|
|
|
2993
|
|
8
|
54
|
|
|
54
|
|
190
|
use Test2::Util::HashBase qw{reason}; |
|
54
|
|
|
|
|
52
|
|
|
54
|
|
|
|
|
217
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub init { |
11
|
4
|
|
|
4
|
0
|
5
|
my $self = shift; |
12
|
4
|
|
|
|
|
16
|
$self->SUPER::init; |
13
|
4
|
|
|
|
|
8
|
$self->{+EFFECTIVE_PASS} = 1; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
2
|
|
|
2
|
1
|
2
|
sub causes_fail { 0 } |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub summary { |
19
|
2
|
|
|
2
|
1
|
3
|
my $self = shift; |
20
|
2
|
|
|
|
|
8
|
my $out = $self->SUPER::summary(@_); |
21
|
|
|
|
|
|
|
|
22
|
2
|
100
|
|
|
|
4
|
if (my $reason = $self->reason) { |
23
|
1
|
|
|
|
|
2
|
$out .= " (SKIP: $reason)"; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
else { |
26
|
1
|
|
|
|
|
2
|
$out .= " (SKIP)"; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
2
|
|
|
|
|
4
|
return $out; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |