line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CHI::t::Constants; |
2
|
|
|
|
|
|
|
$CHI::t::Constants::VERSION = '0.60'; |
3
|
1
|
|
|
1
|
|
295
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
29
|
|
4
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
19
|
|
5
|
1
|
|
|
1
|
|
403
|
use CHI::Test; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
6
|
1
|
|
|
1
|
|
6
|
use base qw(CHI::Test::Class); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
393
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub test_import : Tests { |
9
|
|
|
|
|
|
|
{ |
10
|
1
|
|
|
1
|
0
|
671
|
package Foo; |
11
|
1
|
|
|
|
|
3
|
$Foo::VERSION = '0.60'; |
12
|
1
|
|
|
1
|
|
12
|
use CHI::Constants qw(CHI_Meta_Namespace); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
75
|
|
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
{ |
15
|
1
|
|
|
|
|
1
|
package Bar; |
16
|
1
|
|
|
|
|
15
|
$Bar::VERSION = '0.60'; |
17
|
1
|
|
|
1
|
|
6
|
use CHI::Constants qw(:all); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
189
|
|
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
{ |
20
|
1
|
|
|
|
|
2
|
package Baz; |
21
|
1
|
|
|
|
|
2
|
$Baz::VERSION = '0.60'; |
22
|
|
|
|
|
|
|
} |
23
|
1
|
|
|
|
|
5
|
is( Foo::CHI_Meta_Namespace, '_CHI_METACACHE' ); |
24
|
1
|
|
|
|
|
351
|
is( Bar::CHI_Meta_Namespace, '_CHI_METACACHE' ); |
25
|
1
|
|
|
|
|
208
|
ok( Bar->can('CHI_Meta_Namespace') ); |
26
|
1
|
|
|
|
|
196
|
ok( !Baz->can('CHI_Meta_Namespace') ); |
27
|
1
|
|
|
1
|
|
5
|
} |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
7
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |