line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::Event::Skip; |
2
|
246
|
|
|
246
|
|
2189
|
use strict; |
|
246
|
|
|
|
|
525
|
|
|
246
|
|
|
|
|
7111
|
|
3
|
246
|
|
|
246
|
|
1283
|
use warnings; |
|
246
|
|
|
|
|
530
|
|
|
246
|
|
|
|
|
13794
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.302180'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
246
|
|
|
246
|
|
1554
|
BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) } |
|
246
|
|
|
|
|
14488
|
|
9
|
246
|
|
|
246
|
|
1829
|
use Test2::Util::HashBase qw{reason}; |
|
246
|
|
|
|
|
590
|
|
|
246
|
|
|
|
|
1690
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub init { |
12
|
40
|
|
|
40
|
0
|
72
|
my $self = shift; |
13
|
40
|
|
|
|
|
189
|
$self->SUPER::init; |
14
|
40
|
|
|
|
|
85
|
$self->{+EFFECTIVE_PASS} = 1; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
0
|
|
|
0
|
1
|
0
|
sub causes_fail { 0 } |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub summary { |
20
|
2
|
|
|
2
|
1
|
4
|
my $self = shift; |
21
|
2
|
|
|
|
|
10
|
my $out = $self->SUPER::summary(@_); |
22
|
|
|
|
|
|
|
|
23
|
2
|
100
|
|
|
|
7
|
if (my $reason = $self->reason) { |
24
|
1
|
|
|
|
|
4
|
$out .= " (SKIP: $reason)"; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
else { |
27
|
1
|
|
|
|
|
2
|
$out .= " (SKIP)"; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
2
|
|
|
|
|
23
|
return $out; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub extra_amnesty { |
34
|
40
|
|
|
40
|
0
|
78
|
my $self = shift; |
35
|
|
|
|
|
|
|
|
36
|
40
|
|
|
|
|
71
|
my @out; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
push @out => { |
39
|
|
|
|
|
|
|
tag => 'TODO', |
40
|
|
|
|
|
|
|
details => $self->{+TODO}, |
41
|
40
|
100
|
|
|
|
142
|
} if defined $self->{+TODO}; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
push @out => { |
44
|
|
|
|
|
|
|
tag => 'skip', |
45
|
40
|
|
|
|
|
169
|
details => $self->{+REASON}, |
46
|
|
|
|
|
|
|
inherited => 0, |
47
|
|
|
|
|
|
|
}; |
48
|
|
|
|
|
|
|
|
49
|
40
|
|
|
|
|
156
|
return @out; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
1; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
__END__ |