line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::Bundle::SpecDeclare; |
2
|
2
|
|
|
2
|
|
868
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
70
|
|
3
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
62
|
|
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
1160
|
use Test2::IPC; |
|
2
|
|
|
|
|
61876
|
|
|
2
|
|
|
|
|
10
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
require Test2::Bundle::Extended; |
8
|
|
|
|
|
|
|
require Test2::Tools::Spec; |
9
|
|
|
|
|
|
|
require Test2::Plugin::SpecDeclare; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub import { |
12
|
2
|
|
|
2
|
|
26
|
my $class = shift; |
13
|
2
|
|
|
|
|
44
|
my @args = @_; |
14
|
|
|
|
|
|
|
|
15
|
2
|
|
|
|
|
10
|
my @caller = caller; |
16
|
2
|
|
|
|
|
14
|
my $target = { |
17
|
|
|
|
|
|
|
package => $caller[0], |
18
|
|
|
|
|
|
|
file => $caller[1], |
19
|
|
|
|
|
|
|
line => $caller[2], |
20
|
|
|
|
|
|
|
}; |
21
|
|
|
|
|
|
|
|
22
|
2
|
|
|
|
|
20
|
my @imports = qw{ |
23
|
|
|
|
|
|
|
describe |
24
|
|
|
|
|
|
|
tests it |
25
|
|
|
|
|
|
|
case |
26
|
|
|
|
|
|
|
before_all around_all after_all |
27
|
|
|
|
|
|
|
before_case around_case after_case |
28
|
|
|
|
|
|
|
before_each around_each after_each |
29
|
|
|
|
|
|
|
mini |
30
|
|
|
|
|
|
|
iso miso |
31
|
|
|
|
|
|
|
async masync |
32
|
|
|
|
|
|
|
}; |
33
|
|
|
|
|
|
|
|
34
|
2
|
50
|
|
|
|
132
|
eval <<" EOT" || die $@; |
35
|
|
|
|
|
|
|
package $caller[0]; |
36
|
|
|
|
|
|
|
#line $caller[2] "$caller[1]" |
37
|
|
|
|
|
|
|
Test2::Bundle::Extended->import(\@args); Test2::Tools::Spec->import(\@imports); Test2::Plugin::SpecDeclare->import; |
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
EOT |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__END__ |