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