| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
1
|
|
|
1
|
|
11098
|
use 5.008; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
37
|
|
|
2
|
1
|
|
|
1
|
|
4
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
28
|
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
49
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Data::Semantic::URI::TestData::fax; |
|
6
|
|
|
|
|
|
|
our $VERSION = '1.100850'; |
|
7
|
|
|
|
|
|
|
# ABSTRACT: Test data class for the fax URI semantic data class |
|
8
|
1
|
|
|
1
|
|
6
|
use Test::More; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
8
|
|
|
9
|
1
|
|
|
|
|
86
|
use constant TESTDATA => ( |
|
10
|
|
|
|
|
|
|
{ args => {}, |
|
11
|
|
|
|
|
|
|
valid => [ |
|
12
|
|
|
|
|
|
|
qw( |
|
13
|
|
|
|
|
|
|
fax:+1-212-555-1234;tsp=terrifictelecom.com |
|
14
|
|
|
|
|
|
|
fax:+1-212-555-1234;tsp=terrifictelecom.com;phone-context=X-COMPANY-NET |
|
15
|
|
|
|
|
|
|
fax:+1-212-555-1234;tsub=0123456789-.();tsp=terrifictelecom.com;phone-context=X-COMPANY-NET |
|
16
|
|
|
|
|
|
|
fax:+123-456-789;isub=123(456) |
|
17
|
|
|
|
|
|
|
fax:+12345 |
|
18
|
|
|
|
|
|
|
fax:+1234567890;phone-context=+1234;vnd.company.option=%22foo%22 |
|
19
|
|
|
|
|
|
|
fax:+1234567890;phone-context=+1234;vnd.company.option=foo |
|
20
|
|
|
|
|
|
|
fax:+123456;postd=*** |
|
21
|
|
|
|
|
|
|
fax:+12345;tsub=0123456789-.() |
|
22
|
|
|
|
|
|
|
fax:+1234;option=%22!%22 |
|
23
|
|
|
|
|
|
|
fax:+1234;option=%22%5C!%22 |
|
24
|
|
|
|
|
|
|
fax:+1234;option=%22%5C%22%22 |
|
25
|
|
|
|
|
|
|
fax:+1234;option=%22bar%22 |
|
26
|
|
|
|
|
|
|
fax:+358-555-1234567 |
|
27
|
|
|
|
|
|
|
fax:+358-555-1234567;postd=pp22 |
|
28
|
|
|
|
|
|
|
fax:+358-555-123456;tsub=0123456789-.()7 |
|
29
|
|
|
|
|
|
|
fax:+456-7890;phone-context=213;phone-context=213 |
|
30
|
|
|
|
|
|
|
fax:0w003585551234567;phone-context=+3585551234 |
|
31
|
|
|
|
|
|
|
fax:456-7890;phone-context=213 |
|
32
|
|
|
|
|
|
|
fax:456-7890;phone-context=213;phone-context=213 |
|
33
|
|
|
|
|
|
|
fax:456-7890;phone-context=X-COMPANY-NET |
|
34
|
|
|
|
|
|
|
fax:456-7890;tsub=0123456789-.();phone-context=213 |
|
35
|
|
|
|
|
|
|
fax:456-7890;tsub=0123456789-.();phone-context=X-COMPANY-NET |
|
36
|
|
|
|
|
|
|
) |
|
37
|
|
|
|
|
|
|
], |
|
38
|
|
|
|
|
|
|
invalid => [ |
|
39
|
|
|
|
|
|
|
qw( |
|
40
|
|
|
|
|
|
|
fax:+1-800-RUN-PERL |
|
41
|
|
|
|
|
|
|
fax:+1234;option=%22%22%22 |
|
42
|
|
|
|
|
|
|
fax:+1234;option=%22%5C%22 |
|
43
|
|
|
|
|
|
|
fax:456-7890 |
|
44
|
|
|
|
|
|
|
fax:456-7890;phone-context=213;tsub=0123456789-.() |
|
45
|
|
|
|
|
|
|
fax:456-7890;tsub=213; |
|
46
|
|
|
|
|
|
|
fax:456-7890;tsub=213;tsub=456 |
|
47
|
|
|
|
|
|
|
) |
|
48
|
|
|
|
|
|
|
], |
|
49
|
|
|
|
|
|
|
}, |
|
50
|
|
|
|
|
|
|
{ args => { nofuture => 1 }, |
|
51
|
|
|
|
|
|
|
valid => [ |
|
52
|
|
|
|
|
|
|
qw( |
|
53
|
|
|
|
|
|
|
fax:+1-212-555-1234;tsp=terrifictelecom.com |
|
54
|
|
|
|
|
|
|
fax:+1-212-555-1234;tsp=terrifictelecom.com;phone-context=X-COMPANY-NET |
|
55
|
|
|
|
|
|
|
fax:+1-212-555-1234;tsub=0123456789-.();tsp=terrifictelecom.com;phone-context=X-COMPANY-NET |
|
56
|
|
|
|
|
|
|
fax:+123-456-789;isub=123(456) |
|
57
|
|
|
|
|
|
|
fax:+12345 |
|
58
|
|
|
|
|
|
|
fax:+123456;postd=*** |
|
59
|
|
|
|
|
|
|
fax:+358-555-1234567 |
|
60
|
|
|
|
|
|
|
fax:+358-555-1234567;postd=pp22 |
|
61
|
|
|
|
|
|
|
fax:+456-7890;phone-context=213;phone-context=213 |
|
62
|
|
|
|
|
|
|
fax:0w003585551234567;phone-context=+3585551234 |
|
63
|
|
|
|
|
|
|
fax:456-7890;phone-context=213 |
|
64
|
|
|
|
|
|
|
fax:456-7890;phone-context=213;phone-context=213 |
|
65
|
|
|
|
|
|
|
fax:456-7890;phone-context=X-COMPANY-NET |
|
66
|
|
|
|
|
|
|
fax:456-7890;tsub=0123456789-.();phone-context=213 |
|
67
|
|
|
|
|
|
|
fax:456-7890;tsub=0123456789-.();phone-context=X-COMPANY-NET |
|
68
|
|
|
|
|
|
|
) |
|
69
|
|
|
|
|
|
|
], |
|
70
|
|
|
|
|
|
|
invalid => [ |
|
71
|
|
|
|
|
|
|
qw( |
|
72
|
|
|
|
|
|
|
fax:+1-800-RUN-PERL |
|
73
|
|
|
|
|
|
|
fax:+123-456-789;isub=123(456);isub=123(456) |
|
74
|
|
|
|
|
|
|
fax:+123-456-789;isub=A23(456) |
|
75
|
|
|
|
|
|
|
fax:+1234567890;phone-context=+1234;vnd.company.option=%22foo%22 |
|
76
|
|
|
|
|
|
|
fax:+1234567890;phone-context=+1234;vnd.company.option=foo |
|
77
|
|
|
|
|
|
|
fax:+12345;tsub=foo |
|
78
|
|
|
|
|
|
|
fax:+1234;option=%22!%22 |
|
79
|
|
|
|
|
|
|
fax:+1234;option=%22%22%22 |
|
80
|
|
|
|
|
|
|
fax:+1234;option=%22%5C!%22 |
|
81
|
|
|
|
|
|
|
fax:+1234;option=%22%5C%22%22 |
|
82
|
|
|
|
|
|
|
fax:+1234;option=%22%5C%22 |
|
83
|
|
|
|
|
|
|
fax:+1234;option=%22bar%22 |
|
84
|
|
|
|
|
|
|
fax:+358-555-1234567;phone-context=+1234;postd=pp22 |
|
85
|
|
|
|
|
|
|
fax:1234567890;phone-context=+1234;vnd.company.option=%22foo%22 |
|
86
|
|
|
|
|
|
|
fax:1234567890;phone-context=+1234;vnd.company.option=foo |
|
87
|
|
|
|
|
|
|
fax:1234;option=%22!%22 |
|
88
|
|
|
|
|
|
|
fax:1234;option=%22%5C!%22 |
|
89
|
|
|
|
|
|
|
fax:1234;option=%22%5C%22%22 |
|
90
|
|
|
|
|
|
|
fax:1234;option=%22bar%22 |
|
91
|
|
|
|
|
|
|
fax:456-7890 |
|
92
|
|
|
|
|
|
|
fax:456-7890;tsub=213; |
|
93
|
|
|
|
|
|
|
fax:456-7890;tsub=213;tsub=456 |
|
94
|
|
|
|
|
|
|
) |
|
95
|
|
|
|
|
|
|
], |
|
96
|
|
|
|
|
|
|
}, |
|
97
|
1
|
|
|
1
|
|
621
|
); |
|
|
1
|
|
|
|
|
1
|
|
|
98
|
|
|
|
|
|
|
1; |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
__END__ |