line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
6130
|
use 5.008; |
|
1
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
53
|
|
2
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
50
|
|
3
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
82
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Class::Value::Contact::EmailAddress_TEST; |
6
|
|
|
|
|
|
|
our $VERSION = '1.100840'; |
7
|
|
|
|
|
|
|
# ABSTRACT: Contact-related value objects |
8
|
1
|
|
|
1
|
|
6
|
use Test::More; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
15
|
|
9
|
1
|
|
|
1
|
|
7095
|
use parent 'Class::Value::Test'; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
15
|
|
10
|
1
|
|
|
|
|
78
|
use constant TESTDATA => ( |
11
|
|
|
|
|
|
|
{ args => {}, |
12
|
|
|
|
|
|
|
valid => [ |
13
|
|
|
|
|
|
|
qw( |
14
|
|
|
|
|
|
|
gr@univie.ac.at |
15
|
|
|
|
|
|
|
123@456.789.zz |
16
|
|
|
|
|
|
|
*@q.to |
17
|
|
|
|
|
|
|
a+b@c.com |
18
|
|
|
|
|
|
|
0@0.0 |
19
|
|
|
|
|
|
|
) |
20
|
|
|
|
|
|
|
], |
21
|
|
|
|
|
|
|
invalid => [ |
22
|
|
|
|
|
|
|
qw( |
23
|
|
|
|
|
|
|
Borg |
24
|
|
|
|
|
|
|
a.test |
25
|
|
|
|
|
|
|
foo@bar.com@blah.com |
26
|
|
|
|
|
|
|
0@0 |
27
|
|
|
|
|
|
|
foo@at |
28
|
|
|
|
|
|
|
fh@@univie.ac.at |
29
|
|
|
|
|
|
|
fh@univie.ac.at@univie.ac.at |
30
|
|
|
|
|
|
|
12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890@foo.at |
31
|
|
|
|
|
|
|
z.o.m.@gmx.net |
32
|
|
|
|
|
|
|
"z.o.m.@gmx.net" |
33
|
|
|
|
|
|
|
) |
34
|
|
|
|
|
|
|
], |
35
|
|
|
|
|
|
|
}, |
36
|
1
|
|
|
1
|
|
95909
|
); |
|
1
|
|
|
|
|
2
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |