line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SmokeRunner::Multi::Runner; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
7
|
|
|
7
|
|
23483
|
$SmokeRunner::Multi::Runner::AUTHORITY = 'cpan:YANICK'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
$SmokeRunner::Multi::Runner::VERSION = '0.19'; |
7
|
|
|
|
|
|
|
} |
8
|
|
|
|
|
|
|
#ABSTRACT: Base class for running test sets |
9
|
|
|
|
|
|
|
|
10
|
7
|
|
|
7
|
|
46
|
use strict; |
|
7
|
|
|
|
|
11
|
|
|
7
|
|
|
|
|
320
|
|
11
|
7
|
|
|
7
|
|
36
|
use warnings; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
313
|
|
12
|
|
|
|
|
|
|
|
13
|
7
|
|
|
7
|
|
44
|
use base 'Class::Accessor::Fast'; |
|
7
|
|
|
|
|
15
|
|
|
7
|
|
|
|
|
3831
|
|
14
|
|
|
|
|
|
|
__PACKAGE__->mk_ro_accessors( 'set' ); |
15
|
|
|
|
|
|
|
|
16
|
7
|
|
|
7
|
|
14446
|
use SmokeRunner::Multi::Validate qw( validate TEST_SET_TYPE ); |
|
7
|
|
|
|
|
17
|
|
|
7
|
|
|
|
|
59
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
{ |
20
|
|
|
|
|
|
|
my $spec = { set => TEST_SET_TYPE, |
21
|
|
|
|
|
|
|
}; |
22
|
|
|
|
|
|
|
sub new |
23
|
|
|
|
|
|
|
{ |
24
|
13
|
|
|
13
|
1
|
5521
|
my $class = shift; |
25
|
13
|
|
|
|
|
720
|
my %p = validate( @_, $spec ); |
26
|
|
|
|
|
|
|
|
27
|
12
|
|
|
|
|
104
|
return bless \%p, $class; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub run_tests |
32
|
|
|
|
|
|
|
{ |
33
|
1
|
|
|
1
|
1
|
12
|
die "The run_tests() method must be overridden in a subclass.\n" |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
__END__ |