line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Routine::Test; |
2
|
|
|
|
|
|
|
# ABSTRACT: a test method in a Test::Routine role |
3
|
|
|
|
|
|
|
$Test::Routine::Test::VERSION = '0.029'; |
4
|
10
|
|
|
10
|
|
64
|
use Moose; |
|
10
|
|
|
|
|
27
|
|
|
10
|
|
|
|
|
70
|
|
5
|
|
|
|
|
|
|
extends 'Moose::Meta::Method'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
with 'Test::Routine::Test::Role'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
#pod =head1 OVERVIEW |
10
|
|
|
|
|
|
|
#pod |
11
|
|
|
|
|
|
|
#pod Test::Routine::Test is a very simple subclass of L<Moose::Meta::Method>, used |
12
|
|
|
|
|
|
|
#pod primarily to identify which methods in a class are tests. It also has |
13
|
|
|
|
|
|
|
#pod attributes used for labeling and ordering test runs. |
14
|
|
|
|
|
|
|
#pod |
15
|
|
|
|
|
|
|
#pod =cut |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=pod |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=encoding UTF-8 |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 NAME |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Test::Routine::Test - a test method in a Test::Routine role |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 VERSION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
version 0.029 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 OVERVIEW |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Test::Routine::Test is a very simple subclass of L<Moose::Meta::Method>, used |
36
|
|
|
|
|
|
|
primarily to identify which methods in a class are tests. It also has |
37
|
|
|
|
|
|
|
attributes used for labeling and ordering test runs. |
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 |