line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
14042
|
use 5.008; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
80
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
3
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
70
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Class::Scaffold::Storable_TEST; |
6
|
|
|
|
|
|
|
BEGIN { |
7
|
1
|
|
|
1
|
|
19
|
$Class::Scaffold::Storable_TEST::VERSION = '1.102280'; |
8
|
|
|
|
|
|
|
} |
9
|
|
|
|
|
|
|
# ABSTRACT: Companion test class for the storable base class |
10
|
1
|
|
|
1
|
|
11
|
use Error::Hierarchy::Test 'throws2_ok'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
57
|
|
11
|
1
|
|
|
1
|
|
7
|
use Test::More; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
22
|
|
12
|
1
|
|
|
1
|
|
397
|
use parent 'Class::Scaffold::Test'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
13
|
1
|
|
|
1
|
|
91
|
use constant PLAN => 1; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
221
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub run { |
16
|
1
|
|
|
1
|
1
|
7
|
my $self = shift; |
17
|
1
|
|
|
|
|
10
|
$self->SUPER::run(@_); |
18
|
1
|
|
|
|
|
6167
|
$self->make_real_object; |
19
|
|
|
|
|
|
|
throws2_ok { |
20
|
1
|
|
|
1
|
|
65
|
Class::Scaffold::Storable_TEST::x001->new->storage->prepare('foo'); |
21
|
|
|
|
|
|
|
} |
22
|
1
|
|
|
|
|
33
|
'Error::Hierarchy::Internal::CustomMessage', |
23
|
|
|
|
|
|
|
qr/can't find method to get storage object from delegate/, |
24
|
|
|
|
|
|
|
'using non-existing storage'; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
package Class::Scaffold::Storable_TEST::x001; |
28
|
|
|
|
|
|
|
BEGIN { |
29
|
1
|
|
|
1
|
|
20
|
$Class::Scaffold::Storable_TEST::x001::VERSION = '1.102280'; |
30
|
|
|
|
|
|
|
} |
31
|
1
|
|
|
1
|
|
7
|
use parent 'Class::Scaffold::Storable'; |
|
1
|
|
|
|
|
12
|
|
|
1
|
|
|
|
|
10
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |