line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
1
|
|
|
1
|
|
8
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
41
|
|
3
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
48
|
|
4
|
|
|
|
|
|
|
{ |
5
|
|
|
|
|
|
|
package OOP::Perlish::Class::Accessor::UnitTests::Base; |
6
|
1
|
|
|
1
|
|
7
|
use Test::Class; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
30
|
|
7
|
1
|
|
|
1
|
|
6
|
use base qw(Test::Class); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
114
|
|
8
|
1
|
|
|
1
|
|
1305
|
use Test::More; |
|
1
|
|
|
|
|
7592
|
|
|
1
|
|
|
|
|
9
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub teardown : Test(teardown) |
11
|
|
|
|
|
|
|
{ |
12
|
68
|
|
|
68
|
1
|
76999
|
my ($self) = @_; |
13
|
68
|
|
|
|
|
188
|
delete $self->{___fields}; |
14
|
68
|
|
|
|
|
457
|
delete $self->{accessor}; |
15
|
1
|
|
|
1
|
|
388
|
} |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 VERSION |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 SYNOPSIS |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 METHODS |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 AUTHOR |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Jamie Beverly, C<< >> |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 BUGS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Please report any bugs or feature requests to C, |
33
|
|
|
|
|
|
|
or through |
34
|
|
|
|
|
|
|
the web interface at |
35
|
|
|
|
|
|
|
L. I will be |
36
|
|
|
|
|
|
|
notified, and then you'll |
37
|
|
|
|
|
|
|
automatically be notified of progress on your bug as I make changes. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 SUPPORT |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
perldoc OOP::Perlish::Class |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
You can also look for information at: |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=over 4 |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
L |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
L |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item * CPAN Ratings |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
L |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=item * Search CPAN |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
L |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=back |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Copyright 2009 Jamie Beverly |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
76
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
77
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
See http://dev.perl.org/licenses/ for more information. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=cut |