line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
4992
|
use 5.008; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
59
|
|
2
|
1
|
|
|
1
|
|
8
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
3
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
76
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Class::Scaffold::Environment_TEST; |
6
|
|
|
|
|
|
|
BEGIN { |
7
|
1
|
|
|
1
|
|
24
|
$Class::Scaffold::Environment_TEST::VERSION = '1.102280'; |
8
|
|
|
|
|
|
|
} |
9
|
|
|
|
|
|
|
# ABSTRACT: Companion test class for the framework environment base class |
10
|
1
|
|
|
1
|
|
6
|
use Error::Hierarchy::Test 'throws2_ok'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
59
|
|
11
|
1
|
|
|
1
|
|
4
|
use Test::More; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
12
|
1
|
|
|
1
|
|
348
|
use parent 'Class::Scaffold::Test'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
13
|
1
|
|
|
1
|
|
97
|
use constant PLAN => 1; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
213
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub run { |
16
|
1
|
|
|
1
|
1
|
6
|
my $self = shift; |
17
|
1
|
|
|
|
|
8
|
$self->SUPER::run(@_); |
18
|
1
|
|
|
1
|
|
55
|
throws2_ok { $self->delegate->make_obj(foobar => 'abc') } |
19
|
1
|
|
|
|
|
420
|
'Error::Hierarchy::Internal::CustomMessage', |
20
|
|
|
|
|
|
|
qr/Factory type 'foobar' is not defined/, |
21
|
|
|
|
|
|
|
'trying to make an object of an unknown object type'; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |