line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
1858
|
use 5.008; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
40
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
25
|
|
3
|
1
|
|
|
1
|
|
12
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
58
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Class::Scaffold::App::Test::Classes; |
6
|
|
|
|
|
|
|
BEGIN { |
7
|
1
|
|
|
1
|
|
32
|
$Class::Scaffold::App::Test::Classes::VERSION = '1.102280'; |
8
|
|
|
|
|
|
|
} |
9
|
|
|
|
|
|
|
# ABSTRACT: Base class for companion test classes |
10
|
1
|
|
|
1
|
|
860
|
use FindBin '$Bin'; |
|
1
|
|
|
|
|
1282
|
|
|
1
|
|
|
|
|
276
|
|
11
|
1
|
|
|
1
|
|
1186
|
use Test::More; |
|
1
|
|
|
|
|
31928
|
|
|
1
|
|
|
|
|
11
|
|
12
|
1
|
|
|
1
|
|
2056
|
use Test::CompanionClasses::Engine; |
|
1
|
|
|
|
|
35905
|
|
|
1
|
|
|
|
|
12
|
|
13
|
1
|
|
|
1
|
|
41
|
use parent 'Class::Scaffold::App::Test'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
14
|
|
|
|
|
|
|
__PACKAGE__->mk_array_accessors(qw(inherited))->mk_scalar_accessors(qw(lib)); |
15
|
1
|
|
|
1
|
|
88
|
use constant DEFAULTS => (lib => "$Bin/../lib",); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
56
|
|
16
|
1
|
|
|
1
|
|
5
|
use constant GETOPT => ('exact'); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
123
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub app_code { |
19
|
1
|
|
|
1
|
1
|
2
|
my $self = shift; |
20
|
1
|
|
|
|
|
11
|
$self->SUPER::app_code(@_); |
21
|
1
|
|
|
|
|
56
|
Test::CompanionClasses::Engine->new->run_tests( |
22
|
|
|
|
|
|
|
exact => $self->opt->{exact}, |
23
|
|
|
|
|
|
|
lib => $self->lib, |
24
|
|
|
|
|
|
|
filter => [@ARGV], |
25
|
|
|
|
|
|
|
inherited => [ $self->inherited ], |
26
|
|
|
|
|
|
|
); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |