line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
26694
|
use 5.008; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
93
|
|
2
|
2
|
|
|
2
|
|
13
|
use warnings; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
82
|
|
3
|
2
|
|
|
2
|
|
10
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
124
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Class::Scaffold::App::Test; |
6
|
|
|
|
|
|
|
BEGIN { |
7
|
2
|
|
|
2
|
|
131
|
$Class::Scaffold::App::Test::VERSION = '1.102280'; |
8
|
|
|
|
|
|
|
} |
9
|
|
|
|
|
|
|
# ABSTRACT: Base class for test programs |
10
|
2
|
|
|
2
|
|
12
|
use parent 'Class::Scaffold::App::CommandLine'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
22
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub app_code { |
13
|
2
|
|
|
2
|
1
|
20
|
my $self = shift; |
14
|
2
|
|
|
|
|
23
|
$self->SUPER::app_code(@_); |
15
|
2
|
|
|
|
|
9
|
$self->delegate->make_obj('test_util_loader'); |
16
|
2
|
|
|
|
|
114
|
$self->delegate->set_rollback_mode; |
17
|
2
|
|
|
|
|
24
|
$self->delegate->test_mode(1); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
# We're not going through Environment's make_obj(), so we have |
20
|
|
|
|
|
|
|
# to connect manually. |
21
|
2
|
|
|
|
|
22
|
$self->delegate->core_storage->test_setup; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |