line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Routine::Test::Role; |
2
|
|
|
|
|
|
|
# ABSTRACT: role providing test attributes |
3
|
|
|
|
|
|
|
$Test::Routine::Test::Role::VERSION = '0.029'; |
4
|
10
|
|
|
10
|
|
5769
|
use Moose::Role; |
|
10
|
|
|
|
|
22
|
|
|
10
|
|
|
|
|
75
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
has description => ( |
7
|
|
|
|
|
|
|
is => 'ro', |
8
|
|
|
|
|
|
|
isa => 'Str', |
9
|
|
|
|
|
|
|
lazy => 1, |
10
|
|
|
|
|
|
|
default => sub { $_[0]->name }, |
11
|
|
|
|
|
|
|
); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has _origin => ( |
14
|
|
|
|
|
|
|
is => 'ro', |
15
|
|
|
|
|
|
|
isa => 'HashRef', |
16
|
|
|
|
|
|
|
required => 1, |
17
|
|
|
|
|
|
|
); |
18
|
|
|
|
|
|
|
|
19
|
36
|
|
|
36
|
0
|
142
|
sub skip_reason { return } |
20
|
|
|
|
|
|
|
|
21
|
10
|
|
|
10
|
|
46786
|
no Moose::Role; |
|
10
|
|
|
|
|
22
|
|
|
10
|
|
|
|
|
47
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=pod |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=encoding UTF-8 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 NAME |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Test::Routine::Test::Role - role providing test attributes |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 VERSION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
version 0.029 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 PERL VERSION |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
This module should work on any version of perl still receiving updates from |
42
|
|
|
|
|
|
|
the Perl 5 Porters. This means it should work on any version of perl released |
43
|
|
|
|
|
|
|
in the last two to three years. (That is, if the most recently released |
44
|
|
|
|
|
|
|
version is v5.40, then this module should work on both v5.40 and v5.38.) |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
47
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
48
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
49
|
|
|
|
|
|
|
the minimum required perl. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 AUTHOR |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Ricardo Signes <cpan@semiotic.systems> |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
This software is copyright (c) 2010 by Ricardo Signes. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
60
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=cut |