line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
11
|
|
|
11
|
|
153
|
use v5.12.0; |
|
11
|
|
|
|
|
39
|
|
2
|
|
|
|
|
|
|
package Test::Routine::Test 0.031; |
3
|
|
|
|
|
|
|
# ABSTRACT: a test method in a Test::Routine role |
4
|
|
|
|
|
|
|
|
5
|
11
|
|
|
11
|
|
77
|
use Moose; |
|
11
|
|
|
|
|
30
|
|
|
11
|
|
|
|
|
77
|
|
6
|
|
|
|
|
|
|
extends 'Moose::Meta::Method'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
with 'Test::Routine::Test::Role'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
#pod =head1 OVERVIEW |
11
|
|
|
|
|
|
|
#pod |
12
|
|
|
|
|
|
|
#pod Test::Routine::Test is a very simple subclass of L<Moose::Meta::Method>, used |
13
|
|
|
|
|
|
|
#pod primarily to identify which methods in a class are tests. It also has |
14
|
|
|
|
|
|
|
#pod attributes used for labeling and ordering test runs. |
15
|
|
|
|
|
|
|
#pod |
16
|
|
|
|
|
|
|
#pod =cut |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=pod |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=encoding UTF-8 |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Test::Routine::Test - a test method in a Test::Routine role |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 VERSION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
version 0.031 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 OVERVIEW |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Test::Routine::Test is a very simple subclass of L<Moose::Meta::Method>, used |
37
|
|
|
|
|
|
|
primarily to identify which methods in a class are tests. It also has |
38
|
|
|
|
|
|
|
attributes used for labeling and ordering test runs. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 PERL VERSION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This module should work on any version of perl still receiving updates from |
43
|
|
|
|
|
|
|
the Perl 5 Porters. This means it should work on any version of perl released |
44
|
|
|
|
|
|
|
in the last two to three years. (That is, if the most recently released |
45
|
|
|
|
|
|
|
version is v5.40, then this module should work on both v5.40 and v5.38.) |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
48
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
49
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
50
|
|
|
|
|
|
|
the minimum required perl. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 AUTHOR |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Ricardo Signes <cpan@semiotic.systems> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This software is copyright (c) 2010 by Ricardo Signes. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
61
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |