| 1 | 1 | ▶ | use 5.008; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | package Class::Scaffold::App::Test::Class; | ||
| 6 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | $Class::Scaffold::App::Test::Class::VERSION = '1.102280'; | |
| 8 | } | ||
| 9 | # ABSTRACT: Base class for Test::Class-based test programs | ||
| 10 | 1 | ▶ | use parent qw(Class::Scaffold::App::CommandLine Test::Class::GetoptControl); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use constant GETOPT => qw( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | runs|r=s | ||
| 13 | 1 | ); | |
| 14 | 1 | ▶ | use constant GETOPT_DEFAULTS => (runs => 2,); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | 0 | ▶ | sub app_code { |
|
Subroutine
app_code: not called CC=1 SCAR=2.2
Pod
documented
| |||
| 17 | 0 | my $self = shift; | |
| 18 | 0 | $self->SUPER::app_code(@_); | |
| 19 | 0 | ▶ | { no warnings 'once'; $::app = $self; } |
|
Subroutine
BEGIN: called CC=1 SCAR=0.6
| |||
| 20 | 0 | $self->runtests; | |
| 21 | } | ||
| 22 | 1 | 1; | |
| 23 | |||
| 24 | __END__ | ||