line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Stream::Hub::Subtest; |
2
|
32
|
|
|
32
|
|
1197
|
use strict; |
|
32
|
|
|
|
|
69
|
|
|
32
|
|
|
|
|
816
|
|
3
|
32
|
|
|
32
|
|
168
|
use warnings; |
|
32
|
|
|
|
|
66
|
|
|
32
|
|
|
|
|
829
|
|
4
|
|
|
|
|
|
|
|
5
|
32
|
|
|
32
|
|
166
|
use Test::Stream::Hub; |
|
32
|
|
|
|
|
67
|
|
|
32
|
|
|
|
|
1150
|
|
6
|
|
|
|
|
|
|
use Test::Stream::HashBase( |
7
|
32
|
|
|
|
|
281
|
base => 'Test::Stream::Hub', |
8
|
|
|
|
|
|
|
accessors => [qw/nested bailed_out exit_code/], |
9
|
32
|
|
|
32
|
|
167
|
); |
|
32
|
|
|
|
|
63
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub process { |
12
|
1556
|
|
|
1556
|
1
|
2082
|
my $self = shift; |
13
|
1556
|
|
|
|
|
2122
|
my ($e) = @_; |
14
|
1556
|
|
|
|
|
4418
|
$e->set_nested($self->nested); |
15
|
1556
|
100
|
|
|
|
14605
|
$self->set_bailed_out($e) if $e->isa('Test::Stream::Event::Bail'); |
16
|
1556
|
|
|
|
|
4480
|
$self->SUPER::process($e); |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub terminate { |
20
|
6
|
|
|
6
|
0
|
45
|
my $self = shift; |
21
|
6
|
|
|
|
|
7
|
my ($code) = @_; |
22
|
6
|
|
|
|
|
26
|
$self->set_exit_code($code); |
23
|
32
|
|
|
32
|
|
191
|
no warnings 'exiting'; |
|
32
|
|
|
|
|
134
|
|
|
32
|
|
|
|
|
1927
|
|
24
|
6
|
|
|
|
|
67
|
last TS_SUBTEST_WRAPPER; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__END__ |