| 1 | 3 | ▶ | use 5.008; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | package Class::Scaffold::App::Test; | ||
| 6 | 3 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 3 | $Class::Scaffold::App::Test::VERSION = '1.102280'; | |
| 8 | } | ||
| 9 | # ABSTRACT: Base class for test programs | ||
| 10 | 3 | ▶ | use parent 'Class::Scaffold::App::CommandLine'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 0 | ▶ | sub app_code { |
|
Subroutine
app_code: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 13 | 0 | my $self = shift; | |
| 14 | 0 | $self->SUPER::app_code(@_); | |
| 15 | 0 | $self->delegate->make_obj('test_util_loader'); | |
| 16 | 0 | $self->delegate->set_rollback_mode; | |
| 17 | 0 | $self->delegate->test_mode(1); | |
| 18 | |||
| 19 | # We're not going through Environment's make_obj(), so we have | ||
| 20 | # to connect manually. | ||
| 21 | 0 | $self->delegate->core_storage->test_setup; | |
| 22 | } | ||
| 23 | 3 | 1; | |
| 24 | |||
| 25 | __END__ | ||