addressable 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
5
-
6
- <!--
7
-
8
- Addressable -- URI Implementation
9
-
10
- -->
11
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
12
- <head>
13
- <title>Addressable -- URI Implementation</title>
14
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
15
- </head>
16
- <frameset rows="20%, 80%">
17
- <frameset cols="25%,35%,45%">
18
- <frame src="fr_file_index.html" title="Files" name="Files" />
19
- <frame src="fr_class_index.html" name="Classes" />
20
- <frame src="fr_method_index.html" name="Methods" />
21
- </frameset>
22
- <frame src="files/README.html" name="docwin" />
23
- </frameset>
24
- </html>
@@ -1,208 +0,0 @@
1
-
2
- body {
3
- font-family: Verdana,Arial,Helvetica,sans-serif;
4
- font-size: 90%;
5
- margin: 0;
6
- margin-left: 40px;
7
- padding: 0;
8
- background: white;
9
- }
10
-
11
- h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
12
- h1 { font-size: 150%; }
13
- h2,h3,h4 { margin-top: 1em; }
14
-
15
- a { background: #eef; color: #039; text-decoration: none; }
16
- a:hover { background: #039; color: #eef; }
17
-
18
- /* Override the base stylesheet's Anchor inside a table cell */
19
- td > a {
20
- background: transparent;
21
- color: #039;
22
- text-decoration: none;
23
- }
24
-
25
- /* and inside a section title */
26
- .section-title > a {
27
- background: transparent;
28
- color: #eee;
29
- text-decoration: none;
30
- }
31
-
32
- /* === Structural elements =================================== */
33
-
34
- div#index {
35
- margin: 0;
36
- margin-left: -40px;
37
- padding: 0;
38
- font-size: 90%;
39
- }
40
-
41
-
42
- div#index a {
43
- margin-left: 0.7em;
44
- }
45
-
46
- div#index .section-bar {
47
- margin-left: 0px;
48
- padding-left: 0.7em;
49
- background: #ccc;
50
- font-size: small;
51
- }
52
-
53
-
54
- div#classHeader, div#fileHeader {
55
- width: auto;
56
- color: white;
57
- padding: 0.5em 1.5em 0.5em 1.5em;
58
- margin: 0;
59
- margin-left: -40px;
60
- border-bottom: 3px solid #006;
61
- }
62
-
63
- div#classHeader a, div#fileHeader a {
64
- background: inherit;
65
- color: white;
66
- }
67
-
68
- div#classHeader td, div#fileHeader td {
69
- background: inherit;
70
- color: white;
71
- }
72
-
73
-
74
- div#fileHeader {
75
- background: #057;
76
- }
77
-
78
- div#classHeader {
79
- background: #048;
80
- }
81
-
82
-
83
- .class-name-in-header {
84
- font-size: 180%;
85
- font-weight: bold;
86
- }
87
-
88
-
89
- div#bodyContent {
90
- padding: 0 1.5em 0 1.5em;
91
- }
92
-
93
- div#description {
94
- padding: 0.5em 1.5em;
95
- background: #efefef;
96
- border: 1px dotted #999;
97
- }
98
-
99
- div#description h1,h2,h3,h4,h5,h6 {
100
- color: #125;;
101
- background: transparent;
102
- }
103
-
104
- div#validator-badges {
105
- text-align: center;
106
- }
107
- div#validator-badges img { border: 0; }
108
-
109
- div#copyright {
110
- color: #333;
111
- background: #efefef;
112
- font: 0.75em sans-serif;
113
- margin-top: 5em;
114
- margin-bottom: 0;
115
- padding: 0.5em 2em;
116
- }
117
-
118
-
119
- /* === Classes =================================== */
120
-
121
- table.header-table {
122
- color: white;
123
- font-size: small;
124
- }
125
-
126
- .type-note {
127
- font-size: small;
128
- color: #DEDEDE;
129
- }
130
-
131
- .xxsection-bar {
132
- background: #eee;
133
- color: #333;
134
- padding: 3px;
135
- }
136
-
137
- .section-bar {
138
- color: #333;
139
- border-bottom: 1px solid #999;
140
- margin-left: -20px;
141
- }
142
-
143
-
144
- .section-title {
145
- background: #79a;
146
- color: #eee;
147
- padding: 3px;
148
- margin-top: 2em;
149
- margin-left: -30px;
150
- border: 1px solid #999;
151
- }
152
-
153
- .top-aligned-row { vertical-align: top }
154
- .bottom-aligned-row { vertical-align: bottom }
155
-
156
- /* --- Context section classes ----------------------- */
157
-
158
- .context-row { }
159
- .context-item-name { font-family: monospace; font-weight: bold; color: black; }
160
- .context-item-value { font-size: small; color: #448; }
161
- .context-item-desc { color: #333; padding-left: 2em; }
162
-
163
- /* --- Method classes -------------------------- */
164
- .method-detail {
165
- background: #efefef;
166
- padding: 0;
167
- margin-top: 0.5em;
168
- margin-bottom: 1em;
169
- border: 1px dotted #ccc;
170
- }
171
- .method-heading {
172
- color: black;
173
- background: #ccc;
174
- border-bottom: 1px solid #666;
175
- padding: 0.2em 0.5em 0 0.5em;
176
- }
177
- .method-signature { color: black; background: inherit; }
178
- .method-name { font-weight: bold; }
179
- .method-args { font-style: italic; }
180
- .method-description { padding: 0 0.5em 0 0.5em; }
181
-
182
- /* --- Source code sections -------------------- */
183
-
184
- a.source-toggle { font-size: 90%; }
185
- div.method-source-code {
186
- background: #262626;
187
- color: #ffdead;
188
- margin: 1em;
189
- padding: 0.5em;
190
- border: 1px dashed #999;
191
- overflow: hidden;
192
- }
193
-
194
- div.method-source-code pre { color: #ffdead; overflow: hidden; }
195
-
196
- /* --- Ruby keyword styles --------------------- */
197
-
198
- .standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
199
-
200
- .ruby-constant { color: #7fffd4; background: transparent; }
201
- .ruby-keyword { color: #00ffff; background: transparent; }
202
- .ruby-ivar { color: #eedd82; background: transparent; }
203
- .ruby-operator { color: #00ffee; background: transparent; }
204
- .ruby-identifier { color: #ffdead; background: transparent; }
205
- .ruby-node { color: #ffa07a; background: transparent; }
206
- .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
207
- .ruby-regexp { color: #ffa07a; background: transparent; }
208
- .ruby-value { color: #7fffd4; background: transparent; }
@@ -1,1486 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>RSpec results</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Expires" content="-1" />
11
- <meta http-equiv="Pragma" content="no-cache" />
12
- <style type="text/css">
13
- body {
14
- margin: 0;
15
- padding: 0;
16
- background: #fff;
17
- font-size: 80%;
18
- }
19
- </style>
20
- </head>
21
- <body>
22
- <div class="rspec-report">
23
- <script type="text/javascript">
24
- // <![CDATA[
25
- function moveProgressBar(percentDone) {
26
- document.getElementById("rspec-header").style.width = percentDone +"%";
27
- }
28
- function makeRed(element_id) {
29
- document.getElementById(element_id).style.background = '#C40D0D';
30
- document.getElementById(element_id).style.color = '#FFFFFF';
31
- }
32
-
33
- function makeYellow(element_id) {
34
- if (element_id == "rspec-header" && document.getElementById(element_id).style.background != '#C40D0D')
35
- {
36
- document.getElementById(element_id).style.background = '#FAF834';
37
- document.getElementById(element_id).style.color = '#000000';
38
- }
39
- else
40
- {
41
- document.getElementById(element_id).style.background = '#FAF834';
42
- document.getElementById(element_id).style.color = '#000000';
43
- }
44
- }
45
-
46
- // ]]>
47
- </script>
48
- <style type="text/css">
49
- #rspec-header {
50
- background: #65C400; color: #fff;
51
- }
52
-
53
- .rspec-report h1 {
54
- margin: 0px 10px 0px 10px;
55
- padding: 10px;
56
- font-family: "Lucida Grande", Helvetica, sans-serif;
57
- font-size: 1.8em;
58
- }
59
-
60
- #summary {
61
- margin: 0; padding: 5px 10px;
62
- font-family: "Lucida Grande", Helvetica, sans-serif;
63
- text-align: right;
64
- position: absolute;
65
- top: 0px;
66
- right: 0px;
67
- }
68
-
69
- #summary p {
70
- margin: 0 0 0 2px;
71
- }
72
-
73
- #summary #totals {
74
- font-size: 1.2em;
75
- }
76
-
77
- .behaviour {
78
- margin: 0 10px 5px;
79
- background: #fff;
80
- }
81
-
82
- dl {
83
- margin: 0; padding: 0 0 5px;
84
- font: normal 11px "Lucida Grande", Helvetica, sans-serif;
85
- }
86
-
87
- dt {
88
- padding: 3px;
89
- background: #65C400;
90
- color: #fff;
91
- font-weight: bold;
92
- }
93
-
94
- dd {
95
- margin: 5px 0 5px 5px;
96
- padding: 3px 3px 3px 18px;
97
- }
98
-
99
- dd.spec.passed {
100
- border-left: 5px solid #65C400;
101
- border-bottom: 1px solid #65C400;
102
- background: #DBFFB4; color: #3D7700;
103
- }
104
-
105
- dd.spec.failed {
106
- border-left: 5px solid #C20000;
107
- border-bottom: 1px solid #C20000;
108
- color: #C20000; background: #FFFBD3;
109
- }
110
-
111
- dd.spec.not_implemented {
112
- border-left: 5px solid #FAF834;
113
- border-bottom: 1px solid #FAF834;
114
- background: #FCFB98; color: #131313;
115
- }
116
-
117
- dd.spec.pending_fixed {
118
- border-left: 5px solid #0000C2;
119
- border-bottom: 1px solid #0000C2;
120
- color: #0000C2; background: #D3FBFF;
121
- }
122
-
123
- .backtrace {
124
- color: #000;
125
- font-size: 12px;
126
- }
127
-
128
- a {
129
- color: #BE5C00;
130
- }
131
-
132
- /* Ruby code, style similar to vibrant ink */
133
- .ruby {
134
- font-size: 12px;
135
- font-family: monospace;
136
- color: white;
137
- background-color: black;
138
- padding: 0.1em 0 0.2em 0;
139
- }
140
-
141
- .ruby .keyword { color: #FF6600; }
142
- .ruby .constant { color: #339999; }
143
- .ruby .attribute { color: white; }
144
- .ruby .global { color: white; }
145
- .ruby .module { color: white; }
146
- .ruby .class { color: white; }
147
- .ruby .string { color: #66FF00; }
148
- .ruby .ident { color: white; }
149
- .ruby .method { color: #FFCC00; }
150
- .ruby .number { color: white; }
151
- .ruby .char { color: white; }
152
- .ruby .comment { color: #9933CC; }
153
- .ruby .symbol { color: white; }
154
- .ruby .regex { color: #44B4CC; }
155
- .ruby .punct { color: white; }
156
- .ruby .escape { color: white; }
157
- .ruby .interp { color: white; }
158
- .ruby .expr { color: white; }
159
-
160
- .ruby .offending { background-color: gray; }
161
- .ruby .linenum {
162
- width: 75px;
163
- padding: 0.1em 1em 0.2em 0;
164
- color: #000000;
165
- background-color: #FFFBD3;
166
- }
167
-
168
- </style>
169
-
170
- <div id="rspec-header">
171
- <h1>RSpec Results</h1>
172
-
173
- <div id="summary">
174
- <p id="totals">&nbsp;</p>
175
- <p id="duration">&nbsp;</p>
176
- </div>
177
- </div>
178
-
179
- <div class="results">
180
- <div class="behaviour">
181
- <dl>
182
- <dt id="behaviour_1">Addressable::URI when created with a non-numeric port number</dt>
183
- <script type="text/javascript">moveProgressBar('0.2');</script>
184
- <dd class="spec passed"><span class="passed_spec_name">should raise an error</span></dd>
185
- </dl>
186
- </div>
187
- <div class="behaviour">
188
- <dl>
189
- <dt id="behaviour_2">Addressable::URI when created with a scheme but no hierarchical segment</dt>
190
- <script type="text/javascript">moveProgressBar('0.4');</script>
191
- <dd class="spec passed"><span class="passed_spec_name">should raise an error</span></dd>
192
- </dl>
193
- </div>
194
- <div class="behaviour">
195
- <dl>
196
- <dt id="behaviour_3">Addressable::URI when created from nil components</dt>
197
- <script type="text/javascript">moveProgressBar('0.6');</script>
198
- <dd class="spec passed"><span class="passed_spec_name">should have an empty path</span></dd>
199
- <script type="text/javascript">moveProgressBar('0.9');</script>
200
- <dd class="spec passed"><span class="passed_spec_name">should be an empty uri</span></dd>
201
- </dl>
202
- </div>
203
- <div class="behaviour">
204
- <dl>
205
- <dt id="behaviour_4">Addressable::URI when created from string components</dt>
206
- <script type="text/javascript">moveProgressBar('1.1');</script>
207
- <dd class="spec passed"><span class="passed_spec_name">should be equal to the equivalent parsed URI</span></dd>
208
- </dl>
209
- </div>
210
- <div class="behaviour">
211
- <dl>
212
- <dt id="behaviour_5">Addressable::URI when created with a nil host but non-nil authority components</dt>
213
- <script type="text/javascript">moveProgressBar('1.3');</script>
214
- <dd class="spec passed"><span class="passed_spec_name">should raise an error</span></dd>
215
- </dl>
216
- </div>
217
- <div class="behaviour">
218
- <dl>
219
- <dt id="behaviour_6">Addressable::URI when parsed from 'ftp://ftp.is.co.za/rfc/rfc1808.txt'</dt>
220
- <script type="text/javascript">moveProgressBar('1.5');</script>
221
- <dd class="spec passed"><span class="passed_spec_name">should use the 'ftp' scheme</span></dd>
222
- <script type="text/javascript">moveProgressBar('1.8');</script>
223
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
224
- <script type="text/javascript">moveProgressBar('2.0');</script>
225
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'ftp.is.co.za'</span></dd>
226
- <script type="text/javascript">moveProgressBar('2.2');</script>
227
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/rfc/rfc1808.txt'</span></dd>
228
- <script type="text/javascript">moveProgressBar('2.4');</script>
229
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
230
- </dl>
231
- </div>
232
- <div class="behaviour">
233
- <dl>
234
- <dt id="behaviour_7">Addressable::URI when parsed from 'http://www.ietf.org/rfc/rfc2396.txt'</dt>
235
- <script type="text/javascript">moveProgressBar('2.7');</script>
236
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
237
- <script type="text/javascript">moveProgressBar('2.9');</script>
238
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
239
- <script type="text/javascript">moveProgressBar('3.1');</script>
240
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'www.ietf.org'</span></dd>
241
- <script type="text/javascript">moveProgressBar('3.3');</script>
242
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/rfc/rfc2396.txt'</span></dd>
243
- <script type="text/javascript">moveProgressBar('3.6');</script>
244
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
245
- </dl>
246
- </div>
247
- <div class="behaviour">
248
- <dl>
249
- <dt id="behaviour_8">Addressable::URI when parsed from 'ldap://[2001:db8::7]/c=GB?objectClass?one'</dt>
250
- <script type="text/javascript">moveProgressBar('3.8');</script>
251
- <dd class="spec passed"><span class="passed_spec_name">should use the 'ldap' scheme</span></dd>
252
- <script type="text/javascript">moveProgressBar('4.0');</script>
253
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
254
- <script type="text/javascript">moveProgressBar('4.2');</script>
255
- <dd class="spec passed"><span class="passed_spec_name">should have a host of '[2001:db8::7]'</span></dd>
256
- <script type="text/javascript">moveProgressBar('4.5');</script>
257
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/c=GB'</span></dd>
258
- <script type="text/javascript">moveProgressBar('4.7');</script>
259
- <dd class="spec passed"><span class="passed_spec_name">should have a query of 'objectClass?one'</span></dd>
260
- <script type="text/javascript">moveProgressBar('4.9');</script>
261
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
262
- </dl>
263
- </div>
264
- <div class="behaviour">
265
- <dl>
266
- <dt id="behaviour_9">Addressable::URI when parsed from 'mailto:John.Doe@example.com'</dt>
267
- <script type="text/javascript">moveProgressBar('5.1');</script>
268
- <dd class="spec passed"><span class="passed_spec_name">should use the 'mailto' scheme</span></dd>
269
- <script type="text/javascript">moveProgressBar('5.4');</script>
270
- <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
271
- <script type="text/javascript">moveProgressBar('5.6');</script>
272
- <dd class="spec passed"><span class="passed_spec_name">should have a path of 'John.Doe@example.com'</span></dd>
273
- <script type="text/javascript">moveProgressBar('5.8');</script>
274
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
275
- </dl>
276
- </div>
277
- <div class="behaviour">
278
- <dl>
279
- <dt id="behaviour_10">Addressable::URI when parsed from 'news:comp.infosystems.www.servers.unix'</dt>
280
- <script type="text/javascript">moveProgressBar('6.0');</script>
281
- <dd class="spec passed"><span class="passed_spec_name">should use the 'news' scheme</span></dd>
282
- <script type="text/javascript">moveProgressBar('6.3');</script>
283
- <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
284
- <script type="text/javascript">moveProgressBar('6.5');</script>
285
- <dd class="spec passed"><span class="passed_spec_name">should have a path of 'comp.infosystems.www.servers.unix'</span></dd>
286
- <script type="text/javascript">moveProgressBar('6.7');</script>
287
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
288
- </dl>
289
- </div>
290
- <div class="behaviour">
291
- <dl>
292
- <dt id="behaviour_11">Addressable::URI when parsed from 'tel:+1-816-555-1212'</dt>
293
- <script type="text/javascript">moveProgressBar('6.9');</script>
294
- <dd class="spec passed"><span class="passed_spec_name">should use the 'tel' scheme</span></dd>
295
- <script type="text/javascript">moveProgressBar('7.2');</script>
296
- <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
297
- <script type="text/javascript">moveProgressBar('7.4');</script>
298
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '+1-816-555-1212'</span></dd>
299
- <script type="text/javascript">moveProgressBar('7.6');</script>
300
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
301
- </dl>
302
- </div>
303
- <div class="behaviour">
304
- <dl>
305
- <dt id="behaviour_12">Addressable::URI when parsed from 'telnet://192.0.2.16:80/'</dt>
306
- <script type="text/javascript">moveProgressBar('7.9');</script>
307
- <dd class="spec passed"><span class="passed_spec_name">should use the 'telnet' scheme</span></dd>
308
- <script type="text/javascript">moveProgressBar('8.1');</script>
309
- <dd class="spec passed"><span class="passed_spec_name">should have a host of '192.0.2.16'</span></dd>
310
- <script type="text/javascript">moveProgressBar('8.3');</script>
311
- <dd class="spec passed"><span class="passed_spec_name">should have a port of '80'</span></dd>
312
- <script type="text/javascript">moveProgressBar('8.5');</script>
313
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
314
- <script type="text/javascript">moveProgressBar('8.8');</script>
315
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
316
- <script type="text/javascript">moveProgressBar('9.0');</script>
317
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
318
- </dl>
319
- </div>
320
- <div class="behaviour">
321
- <dl>
322
- <dt id="behaviour_13">Addressable::URI when parsed from 'urn:oasis:names:specification:docbook:dtd:xml:4.1.2'</dt>
323
- <script type="text/javascript">moveProgressBar('9.2');</script>
324
- <dd class="spec passed"><span class="passed_spec_name">should use the 'urn' scheme</span></dd>
325
- <script type="text/javascript">moveProgressBar('9.4');</script>
326
- <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
327
- <script type="text/javascript">moveProgressBar('9.7');</script>
328
- <dd class="spec passed"><span class="passed_spec_name">should have a path of 'oasis:names:specification:docbook:dtd:xml:4.1.2'</span></dd>
329
- <script type="text/javascript">moveProgressBar('9.9');</script>
330
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
331
- </dl>
332
- </div>
333
- <div class="behaviour">
334
- <dl>
335
- <dt id="behaviour_14">Addressable::URI when parsed from 'http://example.com'</dt>
336
- <script type="text/javascript">moveProgressBar('10.1');</script>
337
- <dd class="spec passed"><span class="passed_spec_name">when inspected, should have the correct URI</span></dd>
338
- <script type="text/javascript">moveProgressBar('10.3');</script>
339
- <dd class="spec passed"><span class="passed_spec_name">when inspected, should have the correct class name</span></dd>
340
- <script type="text/javascript">moveProgressBar('10.6');</script>
341
- <dd class="spec passed"><span class="passed_spec_name">when inspected, should have the correct object id</span></dd>
342
- <script type="text/javascript">moveProgressBar('10.8');</script>
343
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
344
- <script type="text/javascript">moveProgressBar('11.0');</script>
345
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
346
- <script type="text/javascript">moveProgressBar('11.2');</script>
347
- <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
348
- <script type="text/javascript">moveProgressBar('11.5');</script>
349
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
350
- <script type="text/javascript">moveProgressBar('11.7');</script>
351
- <dd class="spec passed"><span class="passed_spec_name">should be considered ip-based</span></dd>
352
- <script type="text/javascript">moveProgressBar('11.9');</script>
353
- <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
354
- <script type="text/javascript">moveProgressBar('12.1');</script>
355
- <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
356
- <script type="text/javascript">moveProgressBar('12.4');</script>
357
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
358
- <script type="text/javascript">moveProgressBar('12.6');</script>
359
- <dd class="spec passed"><span class="passed_spec_name">should not have a specified port</span></dd>
360
- <script type="text/javascript">moveProgressBar('12.8');</script>
361
- <dd class="spec passed"><span class="passed_spec_name">should have an empty path</span></dd>
362
- <script type="text/javascript">moveProgressBar('13.0');</script>
363
- <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
364
- <script type="text/javascript">moveProgressBar('13.3');</script>
365
- <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
366
- <script type="text/javascript">moveProgressBar('13.5');</script>
367
- <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
368
- <script type="text/javascript">moveProgressBar('13.7');</script>
369
- <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
370
- <script type="text/javascript">moveProgressBar('13.9');</script>
371
- <dd class="spec passed"><span class="passed_spec_name">should not be exactly equal to 42</span></dd>
372
- <script type="text/javascript">moveProgressBar('14.2');</script>
373
- <dd class="spec passed"><span class="passed_spec_name">should not be equal to 42</span></dd>
374
- <script type="text/javascript">moveProgressBar('14.4');</script>
375
- <dd class="spec passed"><span class="passed_spec_name">should not be roughly equal to 42</span></dd>
376
- <script type="text/javascript">moveProgressBar('14.6');</script>
377
- <dd class="spec passed"><span class="passed_spec_name">should be exactly equal to http://example.com</span></dd>
378
- <script type="text/javascript">moveProgressBar('14.8');</script>
379
- <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to http://example.com/</span></dd>
380
- <script type="text/javascript">moveProgressBar('15.1');</script>
381
- <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to the string 'http://example.com/'</span></dd>
382
- <script type="text/javascript">moveProgressBar('15.3');</script>
383
- <dd class="spec passed"><span class="passed_spec_name">should not be roughly equal to the string 'http://example.com:bogus/'</span></dd>
384
- <script type="text/javascript">moveProgressBar('15.5');</script>
385
- <dd class="spec passed"><span class="passed_spec_name">should result in itself when merged with itself</span></dd>
386
- <script type="text/javascript">moveProgressBar('15.8');</script>
387
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com/</span></dd>
388
- <script type="text/javascript">moveProgressBar('16.0');</script>
389
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:/</span></dd>
390
- <script type="text/javascript">moveProgressBar('16.2');</script>
391
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:80/</span></dd>
392
- <script type="text/javascript">moveProgressBar('16.4');</script>
393
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://EXAMPLE.COM/</span></dd>
394
- <script type="text/javascript">moveProgressBar('16.7');</script>
395
- <dd class="spec passed"><span class="passed_spec_name">should have a route of '/path/' to 'http://example.com/path/'</span></dd>
396
- <script type="text/javascript">moveProgressBar('16.9');</script>
397
- <dd class="spec passed"><span class="passed_spec_name">should have a route of '/' from 'http://example.com/path/'</span></dd>
398
- <script type="text/javascript">moveProgressBar('17.1');</script>
399
- <dd class="spec passed"><span class="passed_spec_name">should have a route of '#' to 'http://example.com/'</span></dd>
400
- <script type="text/javascript">moveProgressBar('17.3');</script>
401
- <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://elsewhere.com/' to 'http://elsewhere.com/'</span></dd>
402
- <script type="text/javascript">moveProgressBar('17.6');</script>
403
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'relative/path' should be 'http://example.com/relative/path'</span></dd>
404
- <script type="text/javascript">moveProgressBar('17.8');</script>
405
- <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
406
- <script type="text/javascript">moveProgressBar('18.0');</script>
407
- <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
408
- <script type="text/javascript">moveProgressBar('18.2');</script>
409
- <dd class="spec passed"><span class="passed_spec_name">should have the correct user/pass after repeated assignment</span></dd>
410
- <script type="text/javascript">moveProgressBar('18.5');</script>
411
- <dd class="spec passed"><span class="passed_spec_name">should have the correct user/pass after userinfo assignment</span></dd>
412
- <script type="text/javascript">moveProgressBar('18.7');</script>
413
- <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
414
- <script type="text/javascript">moveProgressBar('18.9');</script>
415
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
416
- </dl>
417
- </div>
418
- <div class="behaviour">
419
- <dl>
420
- <dt id="behaviour_15">Addressable::URI when parsed from 'http://example.com/'</dt>
421
- <script type="text/javascript">moveProgressBar('19.1');</script>
422
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com</span></dd>
423
- <script type="text/javascript">moveProgressBar('19.4');</script>
424
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to HTTP://example.com/</span></dd>
425
- <script type="text/javascript">moveProgressBar('19.6');</script>
426
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:/</span></dd>
427
- <script type="text/javascript">moveProgressBar('19.8');</script>
428
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com:80/</span></dd>
429
- <script type="text/javascript">moveProgressBar('20.0');</script>
430
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://Example.com/</span></dd>
431
- <script type="text/javascript">moveProgressBar('20.3');</script>
432
- <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
433
- <script type="text/javascript">moveProgressBar('20.5');</script>
434
- <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
435
- <script type="text/javascript">moveProgressBar('20.7');</script>
436
- <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
437
- <script type="text/javascript">moveProgressBar('20.9');</script>
438
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
439
- </dl>
440
- </div>
441
- <div class="behaviour">
442
- <dl>
443
- <dt id="behaviour_16">Addressable::URI when parsed from 'http://@example.com/'</dt>
444
- <script type="text/javascript">moveProgressBar('21.2');</script>
445
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com</span></dd>
446
- <script type="text/javascript">moveProgressBar('21.4');</script>
447
- <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
448
- <script type="text/javascript">moveProgressBar('21.6');</script>
449
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
450
- </dl>
451
- </div>
452
- <div class="behaviour">
453
- <dl>
454
- <dt id="behaviour_17">Addressable::URI when parsed from 'http://example.com./'</dt>
455
- <script type="text/javascript">moveProgressBar('21.8');</script>
456
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com</span></dd>
457
- <script type="text/javascript">moveProgressBar('22.1');</script>
458
- <dd class="spec passed"><span class="passed_spec_name">should not be considered to be in normal form</span></dd>
459
- <script type="text/javascript">moveProgressBar('22.3');</script>
460
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
461
- </dl>
462
- </div>
463
- <div class="behaviour">
464
- <dl>
465
- <dt id="behaviour_18">Addressable::URI when parsed from 'http://:@example.com/'</dt>
466
- <script type="text/javascript">moveProgressBar('22.5');</script>
467
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com</span></dd>
468
- <script type="text/javascript">moveProgressBar('22.7');</script>
469
- <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
470
- <script type="text/javascript">moveProgressBar('23.0');</script>
471
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
472
- </dl>
473
- </div>
474
- <div class="behaviour">
475
- <dl>
476
- <dt id="behaviour_19">Addressable::URI when parsed from 'http://example.com/~smith/'</dt>
477
- <script type="text/javascript">moveProgressBar('23.2');</script>
478
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com/%7Esmith/</span></dd>
479
- <script type="text/javascript">moveProgressBar('23.4');</script>
480
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to http://example.com/%7esmith/</span></dd>
481
- <script type="text/javascript">moveProgressBar('23.7');</script>
482
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
483
- </dl>
484
- </div>
485
- <div class="behaviour">
486
- <dl>
487
- <dt id="behaviour_20">Addressable::URI when parsed from 'http://example.com/%C3%87'</dt>
488
- <script type="text/javascript">moveProgressBar('23.9');</script>
489
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to 'http://example.com/C%CC%A7'</span></dd>
490
- <script type="text/javascript">moveProgressBar('24.1');</script>
491
- <dd class="spec passed"><span class="passed_spec_name">should not change if encoded with the normalizing algorithm</span></dd>
492
- <script type="text/javascript">moveProgressBar('24.3');</script>
493
- <dd class="spec passed"><span class="passed_spec_name">if percent encoded should be 'http://example.com/C%25CC%25A7'</span></dd>
494
- <script type="text/javascript">moveProgressBar('24.6');</script>
495
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
496
- </dl>
497
- </div>
498
- <div class="behaviour">
499
- <dl>
500
- <dt id="behaviour_21">Addressable::URI when parsed from 'http://example.com/?q=string'</dt>
501
- <script type="text/javascript">moveProgressBar('24.8');</script>
502
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
503
- <script type="text/javascript">moveProgressBar('25.0');</script>
504
- <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
505
- <script type="text/javascript">moveProgressBar('25.2');</script>
506
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
507
- <script type="text/javascript">moveProgressBar('25.5');</script>
508
- <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
509
- <script type="text/javascript">moveProgressBar('25.7');</script>
510
- <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
511
- <script type="text/javascript">moveProgressBar('25.9');</script>
512
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
513
- <script type="text/javascript">moveProgressBar('26.1');</script>
514
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
515
- <script type="text/javascript">moveProgressBar('26.4');</script>
516
- <dd class="spec passed"><span class="passed_spec_name">should have a query string of 'q=string'</span></dd>
517
- <script type="text/javascript">moveProgressBar('26.6');</script>
518
- <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
519
- <script type="text/javascript">moveProgressBar('26.8');</script>
520
- <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
521
- <script type="text/javascript">moveProgressBar('27.0');</script>
522
- <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
523
- <script type="text/javascript">moveProgressBar('27.3');</script>
524
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
525
- <script type="text/javascript">moveProgressBar('27.5');</script>
526
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
527
- </dl>
528
- </div>
529
- <div class="behaviour">
530
- <dl>
531
- <dt id="behaviour_22">Addressable::URI when parsed from 'http://example.com:80/'</dt>
532
- <script type="text/javascript">moveProgressBar('27.7');</script>
533
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
534
- <script type="text/javascript">moveProgressBar('27.9');</script>
535
- <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com:80'</span></dd>
536
- <script type="text/javascript">moveProgressBar('28.2');</script>
537
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
538
- <script type="text/javascript">moveProgressBar('28.4');</script>
539
- <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
540
- <script type="text/javascript">moveProgressBar('28.6');</script>
541
- <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
542
- <script type="text/javascript">moveProgressBar('28.8');</script>
543
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
544
- <script type="text/javascript">moveProgressBar('29.1');</script>
545
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
546
- <script type="text/javascript">moveProgressBar('29.3');</script>
547
- <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
548
- <script type="text/javascript">moveProgressBar('29.5');</script>
549
- <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
550
- <script type="text/javascript">moveProgressBar('29.7');</script>
551
- <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
552
- <script type="text/javascript">moveProgressBar('30.0');</script>
553
- <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
554
- <script type="text/javascript">moveProgressBar('30.2');</script>
555
- <dd class="spec passed"><span class="passed_spec_name">should be exactly equal to http://example.com:80/</span></dd>
556
- <script type="text/javascript">moveProgressBar('30.4');</script>
557
- <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to http://example.com/</span></dd>
558
- <script type="text/javascript">moveProgressBar('30.6');</script>
559
- <dd class="spec passed"><span class="passed_spec_name">should be roughly equal to the string 'http://example.com/'</span></dd>
560
- <script type="text/javascript">moveProgressBar('30.9');</script>
561
- <dd class="spec passed"><span class="passed_spec_name">should not be roughly equal to the string 'http://example.com:bogus/'</span></dd>
562
- <script type="text/javascript">moveProgressBar('31.1');</script>
563
- <dd class="spec passed"><span class="passed_spec_name">should result in itself when joined with itself</span></dd>
564
- <script type="text/javascript">moveProgressBar('31.3');</script>
565
- <dd class="spec passed"><span class="passed_spec_name">should be equal to http://example.com/</span></dd>
566
- <script type="text/javascript">moveProgressBar('31.6');</script>
567
- <dd class="spec passed"><span class="passed_spec_name">should be equal to http://example.com:/</span></dd>
568
- <script type="text/javascript">moveProgressBar('31.8');</script>
569
- <dd class="spec passed"><span class="passed_spec_name">should be equal to http://example.com:80/</span></dd>
570
- <script type="text/javascript">moveProgressBar('32.0');</script>
571
- <dd class="spec passed"><span class="passed_spec_name">should be equal to http://EXAMPLE.COM/</span></dd>
572
- <script type="text/javascript">moveProgressBar('32.2');</script>
573
- <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
574
- <script type="text/javascript">moveProgressBar('32.5');</script>
575
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
576
- </dl>
577
- </div>
578
- <div class="behaviour">
579
- <dl>
580
- <dt id="behaviour_23">Addressable::URI when parsed from 'http://example.com:8080/'</dt>
581
- <script type="text/javascript">moveProgressBar('32.7');</script>
582
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
583
- <script type="text/javascript">moveProgressBar('32.9');</script>
584
- <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com:8080'</span></dd>
585
- <script type="text/javascript">moveProgressBar('33.1');</script>
586
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
587
- <script type="text/javascript">moveProgressBar('33.4');</script>
588
- <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
589
- <script type="text/javascript">moveProgressBar('33.6');</script>
590
- <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
591
- <script type="text/javascript">moveProgressBar('33.8');</script>
592
- <dd class="spec passed"><span class="passed_spec_name">should use port 8080</span></dd>
593
- <script type="text/javascript">moveProgressBar('34.0');</script>
594
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
595
- <script type="text/javascript">moveProgressBar('34.3');</script>
596
- <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
597
- <script type="text/javascript">moveProgressBar('34.5');</script>
598
- <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
599
- <script type="text/javascript">moveProgressBar('34.7');</script>
600
- <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
601
- <script type="text/javascript">moveProgressBar('34.9');</script>
602
- <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
603
- <script type="text/javascript">moveProgressBar('35.2');</script>
604
- <dd class="spec passed"><span class="passed_spec_name">should be exactly equal to http://example.com:8080/</span></dd>
605
- <script type="text/javascript">moveProgressBar('35.4');</script>
606
- <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://example.com:8080/' from 'http://example.com/path/to/'</span></dd>
607
- <script type="text/javascript">moveProgressBar('35.6');</script>
608
- <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://example.com:8080/' from 'http://example.com:80/path/to/'</span></dd>
609
- <script type="text/javascript">moveProgressBar('35.8');</script>
610
- <dd class="spec passed"><span class="passed_spec_name">should have a route of '/' from 'http://example.com:8080/path/to/'</span></dd>
611
- <script type="text/javascript">moveProgressBar('36.1');</script>
612
- <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://example.com:8080/' from 'http://user:pass@example.com/path/to/'</span></dd>
613
- <script type="text/javascript">moveProgressBar('36.3');</script>
614
- <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
615
- <script type="text/javascript">moveProgressBar('36.5');</script>
616
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
617
- </dl>
618
- </div>
619
- <div class="behaviour">
620
- <dl>
621
- <dt id="behaviour_24">Addressable::URI when parsed from 'http://example.com/path/to/resource/'</dt>
622
- <script type="text/javascript">moveProgressBar('36.7');</script>
623
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
624
- <script type="text/javascript">moveProgressBar('37.0');</script>
625
- <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
626
- <script type="text/javascript">moveProgressBar('37.2');</script>
627
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
628
- <script type="text/javascript">moveProgressBar('37.4');</script>
629
- <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
630
- <script type="text/javascript">moveProgressBar('37.6');</script>
631
- <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
632
- <script type="text/javascript">moveProgressBar('37.9');</script>
633
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
634
- <script type="text/javascript">moveProgressBar('38.1');</script>
635
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/path/to/resource/'</span></dd>
636
- <script type="text/javascript">moveProgressBar('38.3');</script>
637
- <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
638
- <script type="text/javascript">moveProgressBar('38.6');</script>
639
- <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
640
- <script type="text/javascript">moveProgressBar('38.8');</script>
641
- <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
642
- <script type="text/javascript">moveProgressBar('39.0');</script>
643
- <dd class="spec passed"><span class="passed_spec_name">should not be considered relative</span></dd>
644
- <script type="text/javascript">moveProgressBar('39.2');</script>
645
- <dd class="spec passed"><span class="passed_spec_name">should be exactly equal to http://example.com:8080/</span></dd>
646
- <script type="text/javascript">moveProgressBar('39.5');</script>
647
- <dd class="spec passed"><span class="passed_spec_name">should have a route of 'resource/' from 'http://example.com/path/to/'</span></dd>
648
- <script type="text/javascript">moveProgressBar('39.7');</script>
649
- <dd class="spec passed"><span class="passed_spec_name">should have a route of 'resource/' from 'http://example.com:80/path/to/'</span></dd>
650
- <script type="text/javascript">moveProgressBar('39.9');</script>
651
- <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://example.com/path/to/' from 'http://example.com:8080/path/to/'</span></dd>
652
- <script type="text/javascript">moveProgressBar('40.1');</script>
653
- <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://example.com/path/to/' from 'http://user:pass@example.com/path/to/'</span></dd>
654
- <script type="text/javascript">moveProgressBar('40.4');</script>
655
- <dd class="spec passed"><span class="passed_spec_name">should have a route of '/path/to/resource/' from 'http://example.com/to/resource/'</span></dd>
656
- <script type="text/javascript">moveProgressBar('40.6');</script>
657
- <dd class="spec passed"><span class="passed_spec_name">should correctly convert to a hash</span></dd>
658
- <script type="text/javascript">moveProgressBar('40.8');</script>
659
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
660
- </dl>
661
- </div>
662
- <div class="behaviour">
663
- <dl>
664
- <dt id="behaviour_25">Addressable::URI when parsed from 'relative/path/to/resource'</dt>
665
- <script type="text/javascript">moveProgressBar('41.0');</script>
666
- <dd class="spec passed"><span class="passed_spec_name">should not have a scheme</span></dd>
667
- <script type="text/javascript">moveProgressBar('41.3');</script>
668
- <dd class="spec passed"><span class="passed_spec_name">should not be considered ip-based</span></dd>
669
- <script type="text/javascript">moveProgressBar('41.5');</script>
670
- <dd class="spec passed"><span class="passed_spec_name">should not have an authority segment</span></dd>
671
- <script type="text/javascript">moveProgressBar('41.7');</script>
672
- <dd class="spec passed"><span class="passed_spec_name">should not have a host</span></dd>
673
- <script type="text/javascript">moveProgressBar('41.9');</script>
674
- <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
675
- <script type="text/javascript">moveProgressBar('42.2');</script>
676
- <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
677
- <script type="text/javascript">moveProgressBar('42.4');</script>
678
- <dd class="spec passed"><span class="passed_spec_name">should not have a port</span></dd>
679
- <script type="text/javascript">moveProgressBar('42.6');</script>
680
- <dd class="spec passed"><span class="passed_spec_name">should have a path of 'relative/path/to/resource'</span></dd>
681
- <script type="text/javascript">moveProgressBar('42.8');</script>
682
- <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
683
- <script type="text/javascript">moveProgressBar('43.1');</script>
684
- <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
685
- <script type="text/javascript">moveProgressBar('43.3');</script>
686
- <dd class="spec passed"><span class="passed_spec_name">should not be considered absolute</span></dd>
687
- <script type="text/javascript">moveProgressBar('43.5');</script>
688
- <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
689
- <script type="text/javascript">moveProgressBar('43.7');</script>
690
- <dd class="spec passed"><span class="passed_spec_name">should raise an error if routing is attempted</span></dd>
691
- <script type="text/javascript">moveProgressBar('44.0');</script>
692
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'another/relative/path' should be 'relative/path/to/another/relative/path'</span></dd>
693
- <script type="text/javascript">moveProgressBar('44.2');</script>
694
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
695
- </dl>
696
- </div>
697
- <div class="behaviour">
698
- <dl>
699
- <dt id="behaviour_26">Addressable::URI when parsed from 'relative_path_with_no_slashes'</dt>
700
- <script type="text/javascript">moveProgressBar('44.4');</script>
701
- <dd class="spec passed"><span class="passed_spec_name">should not have a scheme</span></dd>
702
- <script type="text/javascript">moveProgressBar('44.6');</script>
703
- <dd class="spec passed"><span class="passed_spec_name">should not be considered ip-based</span></dd>
704
- <script type="text/javascript">moveProgressBar('44.9');</script>
705
- <dd class="spec passed"><span class="passed_spec_name">should not have an authority segment</span></dd>
706
- <script type="text/javascript">moveProgressBar('45.1');</script>
707
- <dd class="spec passed"><span class="passed_spec_name">should not have a host</span></dd>
708
- <script type="text/javascript">moveProgressBar('45.3');</script>
709
- <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
710
- <script type="text/javascript">moveProgressBar('45.5');</script>
711
- <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
712
- <script type="text/javascript">moveProgressBar('45.8');</script>
713
- <dd class="spec passed"><span class="passed_spec_name">should not have a port</span></dd>
714
- <script type="text/javascript">moveProgressBar('46.0');</script>
715
- <dd class="spec passed"><span class="passed_spec_name">should have a path of 'relative_path_with_no_slashes'</span></dd>
716
- <script type="text/javascript">moveProgressBar('46.2');</script>
717
- <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
718
- <script type="text/javascript">moveProgressBar('46.5');</script>
719
- <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
720
- <script type="text/javascript">moveProgressBar('46.7');</script>
721
- <dd class="spec passed"><span class="passed_spec_name">should not be considered absolute</span></dd>
722
- <script type="text/javascript">moveProgressBar('46.9');</script>
723
- <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
724
- <script type="text/javascript">moveProgressBar('47.1');</script>
725
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'another_relative_path' should be 'another_relative_path'</span></dd>
726
- </dl>
727
- </div>
728
- <div class="behaviour">
729
- <dl>
730
- <dt id="behaviour_27">Addressable::URI when parsed from 'http://example.com/file.txt'</dt>
731
- <script type="text/javascript">moveProgressBar('47.4');</script>
732
- <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'http'</span></dd>
733
- <script type="text/javascript">moveProgressBar('47.6');</script>
734
- <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
735
- <script type="text/javascript">moveProgressBar('47.8');</script>
736
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
737
- <script type="text/javascript">moveProgressBar('48.0');</script>
738
- <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
739
- <script type="text/javascript">moveProgressBar('48.3');</script>
740
- <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
741
- <script type="text/javascript">moveProgressBar('48.5');</script>
742
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
743
- <script type="text/javascript">moveProgressBar('48.7');</script>
744
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/file.txt'</span></dd>
745
- <script type="text/javascript">moveProgressBar('48.9');</script>
746
- <dd class="spec passed"><span class="passed_spec_name">should have a basename of 'file.txt'</span></dd>
747
- <script type="text/javascript">moveProgressBar('49.2');</script>
748
- <dd class="spec passed"><span class="passed_spec_name">should have an extname of '.txt'</span></dd>
749
- <script type="text/javascript">moveProgressBar('49.4');</script>
750
- <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
751
- <script type="text/javascript">moveProgressBar('49.6');</script>
752
- <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
753
- </dl>
754
- </div>
755
- <div class="behaviour">
756
- <dl>
757
- <dt id="behaviour_28">Addressable::URI when parsed from 'http://example.com/file.txt;parameter'</dt>
758
- <script type="text/javascript">moveProgressBar('49.8');</script>
759
- <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'http'</span></dd>
760
- <script type="text/javascript">moveProgressBar('50.1');</script>
761
- <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
762
- <script type="text/javascript">moveProgressBar('50.3');</script>
763
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
764
- <script type="text/javascript">moveProgressBar('50.5');</script>
765
- <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
766
- <script type="text/javascript">moveProgressBar('50.7');</script>
767
- <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
768
- <script type="text/javascript">moveProgressBar('51.0');</script>
769
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
770
- <script type="text/javascript">moveProgressBar('51.2');</script>
771
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/file.txt;parameter'</span></dd>
772
- <script type="text/javascript">moveProgressBar('51.4');</script>
773
- <dd class="spec passed"><span class="passed_spec_name">should have a basename of 'file.txt'</span></dd>
774
- <script type="text/javascript">moveProgressBar('51.6');</script>
775
- <dd class="spec passed"><span class="passed_spec_name">should have an extname of '.txt'</span></dd>
776
- <script type="text/javascript">moveProgressBar('51.9');</script>
777
- <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
778
- <script type="text/javascript">moveProgressBar('52.1');</script>
779
- <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
780
- </dl>
781
- </div>
782
- <div class="behaviour">
783
- <dl>
784
- <dt id="behaviour_29">Addressable::URI when parsed from 'http://example.com/file.txt;x=y'</dt>
785
- <script type="text/javascript">moveProgressBar('52.3');</script>
786
- <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'http'</span></dd>
787
- <script type="text/javascript">moveProgressBar('52.5');</script>
788
- <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'http'</span></dd>
789
- <script type="text/javascript">moveProgressBar('52.8');</script>
790
- <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'example.com'</span></dd>
791
- <script type="text/javascript">moveProgressBar('53.0');</script>
792
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
793
- <script type="text/javascript">moveProgressBar('53.2');</script>
794
- <dd class="spec passed"><span class="passed_spec_name">should have no username</span></dd>
795
- <script type="text/javascript">moveProgressBar('53.4');</script>
796
- <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
797
- <script type="text/javascript">moveProgressBar('53.7');</script>
798
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
799
- <script type="text/javascript">moveProgressBar('53.9');</script>
800
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/file.txt;x=y'</span></dd>
801
- <script type="text/javascript">moveProgressBar('54.1');</script>
802
- <dd class="spec passed"><span class="passed_spec_name">should have an extname of '.txt'</span></dd>
803
- <script type="text/javascript">moveProgressBar('54.4');</script>
804
- <dd class="spec passed"><span class="passed_spec_name">should have no query string</span></dd>
805
- <script type="text/javascript">moveProgressBar('54.6');</script>
806
- <dd class="spec passed"><span class="passed_spec_name">should have no fragment</span></dd>
807
- <script type="text/javascript">moveProgressBar('54.8');</script>
808
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
809
- </dl>
810
- </div>
811
- <div class="behaviour">
812
- <dl>
813
- <dt id="behaviour_30">Addressable::URI when parsed from 'mailto:user@example.com'</dt>
814
- <script type="text/javascript">moveProgressBar('55.0');</script>
815
- <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'mailto'</span></dd>
816
- <script type="text/javascript">moveProgressBar('55.3');</script>
817
- <dd class="spec passed"><span class="passed_spec_name">should not be considered to be ip-based</span></dd>
818
- <script type="text/javascript">moveProgressBar('55.5');</script>
819
- <dd class="spec passed"><span class="passed_spec_name">should have a path of 'user@example.com'</span></dd>
820
- <script type="text/javascript">moveProgressBar('55.7');</script>
821
- <dd class="spec passed"><span class="passed_spec_name">should have no user</span></dd>
822
- <script type="text/javascript">moveProgressBar('55.9');</script>
823
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
824
- </dl>
825
- </div>
826
- <div class="behaviour">
827
- <dl>
828
- <dt id="behaviour_31">Addressable::URI when parsed from 'tag:example.com,2006-08-18:/path/to/something'</dt>
829
- <script type="text/javascript">moveProgressBar('56.2');</script>
830
- <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'tag'</span></dd>
831
- <script type="text/javascript">moveProgressBar('56.4');</script>
832
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be ip-based</span></dd>
833
- <script type="text/javascript">moveProgressBar('56.6');</script>
834
- <dd class="spec passed"><span class="passed_spec_name">should have a path of 'example.com,2006-08-18:/path/to/something'</span></dd>
835
- <script type="text/javascript">moveProgressBar('56.8');</script>
836
- <dd class="spec passed"><span class="passed_spec_name">should have no user</span></dd>
837
- <script type="text/javascript">moveProgressBar('57.1');</script>
838
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
839
- </dl>
840
- </div>
841
- <div class="behaviour">
842
- <dl>
843
- <dt id="behaviour_32">Addressable::URI when parsed from 'http://example.com/x;y/'</dt>
844
- <script type="text/javascript">moveProgressBar('57.3');</script>
845
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
846
- </dl>
847
- </div>
848
- <div class="behaviour">
849
- <dl>
850
- <dt id="behaviour_33">Addressable::URI when parsed from 'http://example.com/?x=1&amp;y=2'</dt>
851
- <script type="text/javascript">moveProgressBar('57.5');</script>
852
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
853
- </dl>
854
- </div>
855
- <div class="behaviour">
856
- <dl>
857
- <dt id="behaviour_34">Addressable::URI when parsed from 'view-source:http://example.com/'</dt>
858
- <script type="text/javascript">moveProgressBar('57.7');</script>
859
- <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'view-source'</span></dd>
860
- <script type="text/javascript">moveProgressBar('58.0');</script>
861
- <dd class="spec passed"><span class="passed_spec_name">should have a path of 'http://example.com/'</span></dd>
862
- <script type="text/javascript">moveProgressBar('58.2');</script>
863
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
864
- </dl>
865
- </div>
866
- <div class="behaviour">
867
- <dl>
868
- <dt id="behaviour_35">Addressable::URI when parsed from 'http://user:pass@example.com/path/to/resource?query=x#fragment'</dt>
869
- <script type="text/javascript">moveProgressBar('58.4');</script>
870
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
871
- <script type="text/javascript">moveProgressBar('58.6');</script>
872
- <dd class="spec passed"><span class="passed_spec_name">should have an authority segment of 'user:pass@example.com'</span></dd>
873
- <script type="text/javascript">moveProgressBar('58.9');</script>
874
- <dd class="spec passed"><span class="passed_spec_name">should have a username of 'user'</span></dd>
875
- <script type="text/javascript">moveProgressBar('59.1');</script>
876
- <dd class="spec passed"><span class="passed_spec_name">should have a password of 'pass'</span></dd>
877
- <script type="text/javascript">moveProgressBar('59.3');</script>
878
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
879
- <script type="text/javascript">moveProgressBar('59.5');</script>
880
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
881
- <script type="text/javascript">moveProgressBar('59.8');</script>
882
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/path/to/resource'</span></dd>
883
- <script type="text/javascript">moveProgressBar('60.0');</script>
884
- <dd class="spec passed"><span class="passed_spec_name">should have a query string of 'query=x'</span></dd>
885
- <script type="text/javascript">moveProgressBar('60.2');</script>
886
- <dd class="spec passed"><span class="passed_spec_name">should have a fragment of 'fragment'</span></dd>
887
- <script type="text/javascript">moveProgressBar('60.4');</script>
888
- <dd class="spec passed"><span class="passed_spec_name">should be considered to be in normal form</span></dd>
889
- <script type="text/javascript">moveProgressBar('60.7');</script>
890
- <dd class="spec passed"><span class="passed_spec_name">should have a route of '/path/' to 'http://user:pass@example.com/path/'</span></dd>
891
- <script type="text/javascript">moveProgressBar('60.9');</script>
892
- <dd class="spec passed"><span class="passed_spec_name">should have a route of '/path/to/resource?query=x#fragment' from 'http://user:pass@example.com/path/'</span></dd>
893
- <script type="text/javascript">moveProgressBar('61.1');</script>
894
- <dd class="spec passed"><span class="passed_spec_name">should have a route of '?query=x#fragment' from 'http://user:pass@example.com/path/to/resource'</span></dd>
895
- <script type="text/javascript">moveProgressBar('61.3');</script>
896
- <dd class="spec passed"><span class="passed_spec_name">should have a route of '#fragment' from 'http://user:pass@example.com/path/to/resource?query=x'</span></dd>
897
- <script type="text/javascript">moveProgressBar('61.6');</script>
898
- <dd class="spec passed"><span class="passed_spec_name">should have a route of '#fragment' from 'http://user:pass@example.com/path/to/resource?query=x#fragment'</span></dd>
899
- <script type="text/javascript">moveProgressBar('61.8');</script>
900
- <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://elsewhere.com/' to 'http://elsewhere.com/'</span></dd>
901
- <script type="text/javascript">moveProgressBar('62.0');</script>
902
- <dd class="spec passed"><span class="passed_spec_name">should have a route of 'http://user:pass@example.com/path/to/resource?query=x#fragment' from 'http://example.com/path/to/'</span></dd>
903
- <script type="text/javascript">moveProgressBar('62.3');</script>
904
- <dd class="spec passed"><span class="passed_spec_name">should have the correct scheme after assignment</span></dd>
905
- <script type="text/javascript">moveProgressBar('62.5');</script>
906
- <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
907
- <script type="text/javascript">moveProgressBar('62.7');</script>
908
- <dd class="spec passed"><span class="passed_spec_name">should have the correct userinfo segment after assignment</span></dd>
909
- <script type="text/javascript">moveProgressBar('62.9');</script>
910
- <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
911
- <script type="text/javascript">moveProgressBar('63.2');</script>
912
- <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
913
- <script type="text/javascript">moveProgressBar('63.4');</script>
914
- <dd class="spec passed"><span class="passed_spec_name">should have the correct host after assignment</span></dd>
915
- <script type="text/javascript">moveProgressBar('63.6');</script>
916
- <dd class="spec passed"><span class="passed_spec_name">should have the correct port after assignment</span></dd>
917
- <script type="text/javascript">moveProgressBar('63.8');</script>
918
- <dd class="spec passed"><span class="passed_spec_name">should have the correct path after assignment</span></dd>
919
- <script type="text/javascript">moveProgressBar('64.1');</script>
920
- <dd class="spec passed"><span class="passed_spec_name">should have the correct path after nil assignment</span></dd>
921
- <script type="text/javascript">moveProgressBar('64.3');</script>
922
- <dd class="spec passed"><span class="passed_spec_name">should have the correct query string after assignment</span></dd>
923
- <script type="text/javascript">moveProgressBar('64.5');</script>
924
- <dd class="spec passed"><span class="passed_spec_name">should have the correct fragment after assignment</span></dd>
925
- <script type="text/javascript">moveProgressBar('64.7');</script>
926
- <dd class="spec passed"><span class="passed_spec_name">should be identical to its duplicate</span></dd>
927
- </dl>
928
- </div>
929
- <div class="behaviour">
930
- <dl>
931
- <dt id="behaviour_36">Addressable::URI when parsed from 'http://user@example.com'</dt>
932
- <script type="text/javascript">moveProgressBar('65.0');</script>
933
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
934
- <script type="text/javascript">moveProgressBar('65.2');</script>
935
- <dd class="spec passed"><span class="passed_spec_name">should have a username of 'user'</span></dd>
936
- <script type="text/javascript">moveProgressBar('65.4');</script>
937
- <dd class="spec passed"><span class="passed_spec_name">should have no password</span></dd>
938
- <script type="text/javascript">moveProgressBar('65.6');</script>
939
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
940
- <script type="text/javascript">moveProgressBar('65.9');</script>
941
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
942
- <script type="text/javascript">moveProgressBar('66.1');</script>
943
- <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
944
- <script type="text/javascript">moveProgressBar('66.3');</script>
945
- <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
946
- <script type="text/javascript">moveProgressBar('66.5');</script>
947
- <dd class="spec passed"><span class="passed_spec_name">should have the correct userinfo segment after assignment</span></dd>
948
- <script type="text/javascript">moveProgressBar('66.8');</script>
949
- <dd class="spec passed"><span class="passed_spec_name">should have the correct userinfo segment after nil assignment</span></dd>
950
- <script type="text/javascript">moveProgressBar('67.0');</script>
951
- <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
952
- <script type="text/javascript">moveProgressBar('67.2');</script>
953
- <dd class="spec passed"><span class="passed_spec_name">should raise an error after nil assignment of authority segment</span></dd>
954
- </dl>
955
- </div>
956
- <div class="behaviour">
957
- <dl>
958
- <dt id="behaviour_37">Addressable::URI when parsed from 'http://user:@example.com'</dt>
959
- <script type="text/javascript">moveProgressBar('67.4');</script>
960
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
961
- <script type="text/javascript">moveProgressBar('67.7');</script>
962
- <dd class="spec passed"><span class="passed_spec_name">should have a username of 'user'</span></dd>
963
- <script type="text/javascript">moveProgressBar('67.9');</script>
964
- <dd class="spec passed"><span class="passed_spec_name">should have a password of ''</span></dd>
965
- <script type="text/javascript">moveProgressBar('68.1');</script>
966
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
967
- <script type="text/javascript">moveProgressBar('68.3');</script>
968
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
969
- <script type="text/javascript">moveProgressBar('68.6');</script>
970
- <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
971
- <script type="text/javascript">moveProgressBar('68.8');</script>
972
- <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
973
- <script type="text/javascript">moveProgressBar('69.0');</script>
974
- <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
975
- </dl>
976
- </div>
977
- <div class="behaviour">
978
- <dl>
979
- <dt id="behaviour_38">Addressable::URI when parsed from 'http://:pass@example.com'</dt>
980
- <script type="text/javascript">moveProgressBar('69.3');</script>
981
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
982
- <script type="text/javascript">moveProgressBar('69.5');</script>
983
- <dd class="spec passed"><span class="passed_spec_name">should have a username of ''</span></dd>
984
- <script type="text/javascript">moveProgressBar('69.7');</script>
985
- <dd class="spec passed"><span class="passed_spec_name">should have a password of 'pass'</span></dd>
986
- <script type="text/javascript">moveProgressBar('69.9');</script>
987
- <dd class="spec passed"><span class="passed_spec_name">should have a userinfo of ':pass'</span></dd>
988
- <script type="text/javascript">moveProgressBar('70.2');</script>
989
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
990
- <script type="text/javascript">moveProgressBar('70.4');</script>
991
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
992
- <script type="text/javascript">moveProgressBar('70.6');</script>
993
- <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
994
- <script type="text/javascript">moveProgressBar('70.8');</script>
995
- <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
996
- <script type="text/javascript">moveProgressBar('71.1');</script>
997
- <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
998
- </dl>
999
- </div>
1000
- <div class="behaviour">
1001
- <dl>
1002
- <dt id="behaviour_39">Addressable::URI when parsed from 'http://:@example.com'</dt>
1003
- <script type="text/javascript">moveProgressBar('71.3');</script>
1004
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
1005
- <script type="text/javascript">moveProgressBar('71.5');</script>
1006
- <dd class="spec passed"><span class="passed_spec_name">should have a username of ''</span></dd>
1007
- <script type="text/javascript">moveProgressBar('71.7');</script>
1008
- <dd class="spec passed"><span class="passed_spec_name">should have a password of ''</span></dd>
1009
- <script type="text/javascript">moveProgressBar('72.0');</script>
1010
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
1011
- <script type="text/javascript">moveProgressBar('72.2');</script>
1012
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
1013
- <script type="text/javascript">moveProgressBar('72.4');</script>
1014
- <dd class="spec passed"><span class="passed_spec_name">should have the correct username after assignment</span></dd>
1015
- <script type="text/javascript">moveProgressBar('72.6');</script>
1016
- <dd class="spec passed"><span class="passed_spec_name">should have the correct password after assignment</span></dd>
1017
- <script type="text/javascript">moveProgressBar('72.9');</script>
1018
- <dd class="spec passed"><span class="passed_spec_name">should have the correct authority segment after assignment</span></dd>
1019
- </dl>
1020
- </div>
1021
- <div class="behaviour">
1022
- <dl>
1023
- <dt id="behaviour_40">Addressable::URI when parsed from '#example'</dt>
1024
- <script type="text/javascript">moveProgressBar('73.1');</script>
1025
- <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
1026
- <script type="text/javascript">moveProgressBar('73.3');</script>
1027
- <dd class="spec passed"><span class="passed_spec_name">should have a host of nil</span></dd>
1028
- <script type="text/javascript">moveProgressBar('73.5');</script>
1029
- <dd class="spec passed"><span class="passed_spec_name">should have a path of ''</span></dd>
1030
- <script type="text/javascript">moveProgressBar('73.8');</script>
1031
- <dd class="spec passed"><span class="passed_spec_name">should have a query string of nil</span></dd>
1032
- <script type="text/javascript">moveProgressBar('74.0');</script>
1033
- <dd class="spec passed"><span class="passed_spec_name">should have a fragment of 'example'</span></dd>
1034
- </dl>
1035
- </div>
1036
- <div class="behaviour">
1037
- <dl>
1038
- <dt id="behaviour_41">Addressable::URI when parsed from the network-path reference '//example.com/'</dt>
1039
- <script type="text/javascript">moveProgressBar('74.2');</script>
1040
- <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
1041
- <script type="text/javascript">moveProgressBar('74.4');</script>
1042
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
1043
- <script type="text/javascript">moveProgressBar('74.7');</script>
1044
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/'</span></dd>
1045
- <script type="text/javascript">moveProgressBar('74.9');</script>
1046
- <dd class="spec passed"><span class="passed_spec_name">should raise an error if routing is attempted</span></dd>
1047
- </dl>
1048
- </div>
1049
- <div class="behaviour">
1050
- <dl>
1051
- <dt id="behaviour_42">Addressable::URI when parsed from 'feed://http://example.com/'</dt>
1052
- <script type="text/javascript">moveProgressBar('75.1');</script>
1053
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'http'</span></dd>
1054
- <script type="text/javascript">moveProgressBar('75.3');</script>
1055
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '//example.com/'</span></dd>
1056
- </dl>
1057
- </div>
1058
- <div class="behaviour">
1059
- <dl>
1060
- <dt id="behaviour_43">Addressable::URI when parsed from 'feed:http://example.com/'</dt>
1061
- <script type="text/javascript">moveProgressBar('75.6');</script>
1062
- <dd class="spec passed"><span class="passed_spec_name">should have a path of 'http://example.com/'</span></dd>
1063
- <script type="text/javascript">moveProgressBar('75.8');</script>
1064
- <dd class="spec passed"><span class="passed_spec_name">should normalize to 'http://example.com/'</span></dd>
1065
- </dl>
1066
- </div>
1067
- <div class="behaviour">
1068
- <dl>
1069
- <dt id="behaviour_44">Addressable::URI when parsed from 'example://a/b/c/%7Bfoo%7D'</dt>
1070
- <script type="text/javascript">moveProgressBar('76.0');</script>
1071
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to eXAMPLE://a/./b/../b/%63/%7bfoo%7d</span></dd>
1072
- </dl>
1073
- </div>
1074
- <div class="behaviour">
1075
- <dl>
1076
- <dt id="behaviour_45">Addressable::URI when parsed from 'http://example.com/indirect/path/./to/../resource/'</dt>
1077
- <script type="text/javascript">moveProgressBar('76.2');</script>
1078
- <dd class="spec passed"><span class="passed_spec_name">should use the 'http' scheme</span></dd>
1079
- <script type="text/javascript">moveProgressBar('76.5');</script>
1080
- <dd class="spec passed"><span class="passed_spec_name">should have a host of 'example.com'</span></dd>
1081
- <script type="text/javascript">moveProgressBar('76.7');</script>
1082
- <dd class="spec passed"><span class="passed_spec_name">should use port 80</span></dd>
1083
- <script type="text/javascript">moveProgressBar('76.9');</script>
1084
- <dd class="spec passed"><span class="passed_spec_name">should have a path of '/indirect/path/./to/../resource/'</span></dd>
1085
- <script type="text/javascript">moveProgressBar('77.2');</script>
1086
- <dd class="spec passed"><span class="passed_spec_name">should have a normalized path of '/indirect/path/resource/'</span></dd>
1087
- </dl>
1088
- </div>
1089
- <div class="behaviour">
1090
- <dl>
1091
- <dt id="behaviour_46">Addressable::URI when parsed from 'http://under_score.example.com/'</dt>
1092
- <script type="text/javascript">moveProgressBar('77.4');</script>
1093
- <dd class="spec passed"><span class="passed_spec_name">should not cause an error</span></dd>
1094
- </dl>
1095
- </div>
1096
- <div class="behaviour">
1097
- <dl>
1098
- <dt id="behaviour_47">Addressable::URI when parsed from './this:that'</dt>
1099
- <script type="text/javascript">moveProgressBar('77.6');</script>
1100
- <dd class="spec passed"><span class="passed_spec_name">should be considered relative</span></dd>
1101
- <script type="text/javascript">moveProgressBar('77.8');</script>
1102
- <dd class="spec passed"><span class="passed_spec_name">should have no scheme</span></dd>
1103
- </dl>
1104
- </div>
1105
- <div class="behaviour">
1106
- <dl>
1107
- <dt id="behaviour_48">Addressable::URI when parsed from 'this:that'</dt>
1108
- <script type="text/javascript">moveProgressBar('78.1');</script>
1109
- <dd class="spec passed"><span class="passed_spec_name">should be considered absolute</span></dd>
1110
- <script type="text/javascript">moveProgressBar('78.3');</script>
1111
- <dd class="spec passed"><span class="passed_spec_name">should have a scheme of 'this'</span></dd>
1112
- </dl>
1113
- </div>
1114
- <div class="behaviour">
1115
- <dl>
1116
- <dt id="behaviour_49">Addressable::URI when parsed from 'http://www.詹姆斯.com/'</dt>
1117
- <script type="text/javascript">moveProgressBar('78.5');</script>
1118
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to 'http://www.xn--8ws00zhy3a.com/'</span></dd>
1119
- <script type="text/javascript">moveProgressBar('78.7');</script>
1120
- <dd class="spec passed"><span class="passed_spec_name">should not have domain name encoded during normalization</span></dd>
1121
- </dl>
1122
- </div>
1123
- <div class="behaviour">
1124
- <dl>
1125
- <dt id="behaviour_50">Addressable::URI when parsed from 'http://www.詹姆斯.com/ some spaces /'</dt>
1126
- <script type="text/javascript">moveProgressBar('79.0');</script>
1127
- <dd class="spec passed"><span class="passed_spec_name">should be equivalent to 'http://www.xn--8ws00zhy3a.com/%20some%20spaces%20/'</span></dd>
1128
- <script type="text/javascript">moveProgressBar('79.2');</script>
1129
- <dd class="spec passed"><span class="passed_spec_name">should not have domain name encoded during normalization</span></dd>
1130
- </dl>
1131
- </div>
1132
- <div class="behaviour">
1133
- <dl>
1134
- <dt id="behaviour_51">Addressable::URI when parsed from 'http://www.xn--8ws00zhy3a.com/'</dt>
1135
- <script type="text/javascript">moveProgressBar('79.4');</script>
1136
- <dd class="spec passed"><span class="passed_spec_name">should be displayed as http://www.詹姆斯.com/</span></dd>
1137
- </dl>
1138
- </div>
1139
- <div class="behaviour">
1140
- <dl>
1141
- <dt id="behaviour_52">Addressable::URI when parsed from 'http://www.詹姆斯.com/atomtests/iri/詹.html'</dt>
1142
- <script type="text/javascript">moveProgressBar('79.6');</script>
1143
- <dd class="spec passed"><span class="passed_spec_name">should normalize to http://www.xn--8ws00zhy3a.com/atomtests/iri/%E8%A9%B9.html</span></dd>
1144
- </dl>
1145
- </div>
1146
- <div class="behaviour">
1147
- <dl>
1148
- <dt id="behaviour_53">Addressable::URI with a base uri of 'http://a/b/c/d;p?q'</dt>
1149
- <script type="text/javascript">moveProgressBar('79.9');</script>
1150
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g:h' should resolve to g:h</span></dd>
1151
- <script type="text/javascript">moveProgressBar('80.1');</script>
1152
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g' should resolve to http://a/b/c/g</span></dd>
1153
- <script type="text/javascript">moveProgressBar('80.3');</script>
1154
- <dd class="spec passed"><span class="passed_spec_name">when joined with './g' should resolve to http://a/b/c/g</span></dd>
1155
- <script type="text/javascript">moveProgressBar('80.5');</script>
1156
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g/' should resolve to http://a/b/c/g/</span></dd>
1157
- <script type="text/javascript">moveProgressBar('80.8');</script>
1158
- <dd class="spec passed"><span class="passed_spec_name">when joined with '/g' should resolve to http://a/g</span></dd>
1159
- <script type="text/javascript">moveProgressBar('81.0');</script>
1160
- <dd class="spec passed"><span class="passed_spec_name">when joined with '//g' should resolve to http://g</span></dd>
1161
- <script type="text/javascript">moveProgressBar('81.2');</script>
1162
- <dd class="spec passed"><span class="passed_spec_name">when joined with '?y' should resolve to http://a/b/c/d;p?y</span></dd>
1163
- <script type="text/javascript">moveProgressBar('81.4');</script>
1164
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y' should resolve to http://a/b/c/g?y</span></dd>
1165
- <script type="text/javascript">moveProgressBar('81.7');</script>
1166
- <dd class="spec passed"><span class="passed_spec_name">when joined with '#s' should resolve to http://a/b/c/d;p?q#s</span></dd>
1167
- <script type="text/javascript">moveProgressBar('81.9');</script>
1168
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g#s' should resolve to http://a/b/c/g#s</span></dd>
1169
- <script type="text/javascript">moveProgressBar('82.1');</script>
1170
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y#s' should resolve to http://a/b/c/g?y#s</span></dd>
1171
- <script type="text/javascript">moveProgressBar('82.3');</script>
1172
- <dd class="spec passed"><span class="passed_spec_name">when joined with ';x' should resolve to http://a/b/c/;x</span></dd>
1173
- <script type="text/javascript">moveProgressBar('82.6');</script>
1174
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x' should resolve to http://a/b/c/g;x</span></dd>
1175
- <script type="text/javascript">moveProgressBar('82.8');</script>
1176
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x?y#s' should resolve to http://a/b/c/g;x?y#s</span></dd>
1177
- <script type="text/javascript">moveProgressBar('83.0');</script>
1178
- <dd class="spec passed"><span class="passed_spec_name">when joined with '' should resolve to http://a/b/c/d;p?q</span></dd>
1179
- <script type="text/javascript">moveProgressBar('83.2');</script>
1180
- <dd class="spec passed"><span class="passed_spec_name">when joined with '.' should resolve to http://a/b/c/</span></dd>
1181
- <script type="text/javascript">moveProgressBar('83.5');</script>
1182
- <dd class="spec passed"><span class="passed_spec_name">when joined with './' should resolve to http://a/b/c/</span></dd>
1183
- <script type="text/javascript">moveProgressBar('83.7');</script>
1184
- <dd class="spec passed"><span class="passed_spec_name">when joined with '..' should resolve to http://a/b/</span></dd>
1185
- <script type="text/javascript">moveProgressBar('83.9');</script>
1186
- <dd class="spec passed"><span class="passed_spec_name">when joined with '../' should resolve to http://a/b/</span></dd>
1187
- <script type="text/javascript">moveProgressBar('84.1');</script>
1188
- <dd class="spec passed"><span class="passed_spec_name">when joined with '../g' should resolve to http://a/b/g</span></dd>
1189
- <script type="text/javascript">moveProgressBar('84.4');</script>
1190
- <dd class="spec passed"><span class="passed_spec_name">when joined with '../..' should resolve to http://a/</span></dd>
1191
- <script type="text/javascript">moveProgressBar('84.6');</script>
1192
- <dd class="spec passed"><span class="passed_spec_name">when joined with '../../' should resolve to http://a/</span></dd>
1193
- <script type="text/javascript">moveProgressBar('84.8');</script>
1194
- <dd class="spec passed"><span class="passed_spec_name">when joined with '../../g' should resolve to http://a/g</span></dd>
1195
- <script type="text/javascript">moveProgressBar('85.1');</script>
1196
- <dd class="spec passed"><span class="passed_spec_name">when joined with '../../../g' should resolve to http://a/g</span></dd>
1197
- <script type="text/javascript">moveProgressBar('85.3');</script>
1198
- <dd class="spec passed"><span class="passed_spec_name">when joined with '../.././../g' should resolve to http://a/g</span></dd>
1199
- <script type="text/javascript">moveProgressBar('85.5');</script>
1200
- <dd class="spec passed"><span class="passed_spec_name">when joined with '../../../../g' should resolve to http://a/g</span></dd>
1201
- <script type="text/javascript">moveProgressBar('85.7');</script>
1202
- <dd class="spec passed"><span class="passed_spec_name">when joined with '/./g' should resolve to http://a/g</span></dd>
1203
- <script type="text/javascript">moveProgressBar('86.0');</script>
1204
- <dd class="spec passed"><span class="passed_spec_name">when joined with '/../g' should resolve to http://a/g</span></dd>
1205
- <script type="text/javascript">moveProgressBar('86.2');</script>
1206
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g.' should resolve to http://a/b/c/g.</span></dd>
1207
- <script type="text/javascript">moveProgressBar('86.4');</script>
1208
- <dd class="spec passed"><span class="passed_spec_name">when joined with '.g' should resolve to http://a/b/c/.g</span></dd>
1209
- <script type="text/javascript">moveProgressBar('86.6');</script>
1210
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g..' should resolve to http://a/b/c/g..</span></dd>
1211
- <script type="text/javascript">moveProgressBar('86.9');</script>
1212
- <dd class="spec passed"><span class="passed_spec_name">when joined with '..g' should resolve to http://a/b/c/..g</span></dd>
1213
- <script type="text/javascript">moveProgressBar('87.1');</script>
1214
- <dd class="spec passed"><span class="passed_spec_name">when joined with './../g' should resolve to http://a/b/g</span></dd>
1215
- <script type="text/javascript">moveProgressBar('87.3');</script>
1216
- <dd class="spec passed"><span class="passed_spec_name">when joined with './g/.' should resolve to http://a/b/c/g/</span></dd>
1217
- <script type="text/javascript">moveProgressBar('87.5');</script>
1218
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g/./h' should resolve to http://a/b/c/g/h</span></dd>
1219
- <script type="text/javascript">moveProgressBar('87.8');</script>
1220
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g/../h' should resolve to http://a/b/c/h</span></dd>
1221
- <script type="text/javascript">moveProgressBar('88.0');</script>
1222
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x=1/./y' should resolve to http://a/b/c/g;x=1/y</span></dd>
1223
- <script type="text/javascript">moveProgressBar('88.2');</script>
1224
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g;x=1/../y' should resolve to http://a/b/c/y</span></dd>
1225
- <script type="text/javascript">moveProgressBar('88.4');</script>
1226
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y/./x' should resolve to http://a/b/c/g?y/./x</span></dd>
1227
- <script type="text/javascript">moveProgressBar('88.7');</script>
1228
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g?y/../x' should resolve to http://a/b/c/g?y/../x</span></dd>
1229
- <script type="text/javascript">moveProgressBar('88.9');</script>
1230
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g#s/./x' should resolve to http://a/b/c/g#s/./x</span></dd>
1231
- <script type="text/javascript">moveProgressBar('89.1');</script>
1232
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'g#s/../x' should resolve to http://a/b/c/g#s/../x</span></dd>
1233
- <script type="text/javascript">moveProgressBar('89.3');</script>
1234
- <dd class="spec passed"><span class="passed_spec_name">when joined with 'http:g' should resolve to http:g</span></dd>
1235
- <script type="text/javascript">moveProgressBar('89.6');</script>
1236
- <dd class="spec passed"><span class="passed_spec_name">when joined with '//example.com/' should resolve to http://example.com/</span></dd>
1237
- </dl>
1238
- </div>
1239
- <div class="behaviour">
1240
- <dl>
1241
- <dt id="behaviour_54">Addressable::URI::IDNA without libidn bindings</dt>
1242
- <script type="text/javascript">moveProgressBar('89.8');</script>
1243
- <dd class="spec passed"><span class="passed_spec_name">should raise an exception when an operation is attempted</span></dd>
1244
- <script type="text/javascript">moveProgressBar('90.0');</script>
1245
- <dd class="spec passed"><span class="passed_spec_name">should not cause normalization routines to error out</span></dd>
1246
- <script type="text/javascript">moveProgressBar('90.2');</script>
1247
- <dd class="spec passed"><span class="passed_spec_name">should not cause display uri routines to error out</span></dd>
1248
- </dl>
1249
- </div>
1250
- <div class="behaviour">
1251
- <dl>
1252
- <dt id="behaviour_55">Addressable::URI::IDNA with rubygems and idn missing</dt>
1253
- <script type="text/javascript">moveProgressBar('90.5');</script>
1254
- <dd class="spec passed"><span class="passed_spec_name">should not raise an exception while checking if libidn is available</span></dd>
1255
- <script type="text/javascript">moveProgressBar('90.7');</script>
1256
- <dd class="spec passed"><span class="passed_spec_name">should not cause normalization routines to error out</span></dd>
1257
- <script type="text/javascript">moveProgressBar('90.9');</script>
1258
- <dd class="spec passed"><span class="passed_spec_name">should not cause display uri routines to error out</span></dd>
1259
- </dl>
1260
- </div>
1261
- <div class="behaviour">
1262
- <dl>
1263
- <dt id="behaviour_56">Addressable::URI when extracting from an arbitrary text</dt>
1264
- <script type="text/javascript">moveProgressBar('91.1');</script>
1265
- <dd class="spec passed"><span class="passed_spec_name">should have all obvious URIs extractable from it</span></dd>
1266
- </dl>
1267
- </div>
1268
- <div class="behaviour">
1269
- <dl>
1270
- <dt id="behaviour_57">Addressable::URI when extracting from an arbitrary text containing invalid URIs</dt>
1271
- <script type="text/javascript">moveProgressBar('91.4');</script>
1272
- <dd class="spec passed"><span class="passed_spec_name">should ignore invalid URIs when extracting</span></dd>
1273
- </dl>
1274
- </div>
1275
- <div class="behaviour">
1276
- <dl>
1277
- <dt id="behaviour_58">Addressable::URI when converting the path 'relative/path/to/something'</dt>
1278
- <script type="text/javascript">moveProgressBar('91.6');</script>
1279
- <dd class="spec passed"><span class="passed_spec_name">should convert to 'relative/path/to/something'</span></dd>
1280
- </dl>
1281
- </div>
1282
- <div class="behaviour">
1283
- <dl>
1284
- <dt id="behaviour_59">Addressable::URI when given the root directory</dt>
1285
- <script type="text/javascript">moveProgressBar('91.8');</script>
1286
- <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///'</span></dd>
1287
- </dl>
1288
- </div>
1289
- <div class="behaviour">
1290
- <dl>
1291
- <dt id="behaviour_60">Addressable::URI when given the path '/home/user/'</dt>
1292
- <script type="text/javascript">moveProgressBar('92.0');</script>
1293
- <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///home/user/'</span></dd>
1294
- </dl>
1295
- </div>
1296
- <div class="behaviour">
1297
- <dl>
1298
- <dt id="behaviour_61">Addressable::URI when given the path 'c:\windows\My Documents 100%20\foo.txt'</dt>
1299
- <script type="text/javascript">moveProgressBar('92.3');</script>
1300
- <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///c:/windows/My%20Documents%20100%20/foo.txt'</span></dd>
1301
- </dl>
1302
- </div>
1303
- <div class="behaviour">
1304
- <dl>
1305
- <dt id="behaviour_62">Addressable::URI when given the path 'file://c:\windows\My Documents 100%20\foo.txt'</dt>
1306
- <script type="text/javascript">moveProgressBar('92.5');</script>
1307
- <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///c:/windows/My%20Documents%20100%20/foo.txt'</span></dd>
1308
- </dl>
1309
- </div>
1310
- <div class="behaviour">
1311
- <dl>
1312
- <dt id="behaviour_63">Addressable::URI when given the path 'file:///c|/windows/My%20Documents%20100%20/foo.txt'</dt>
1313
- <script type="text/javascript">moveProgressBar('92.7');</script>
1314
- <dd class="spec passed"><span class="passed_spec_name">should convert to 'file:///c:/windows/My%20Documents%20100%20/foo.txt'</span></dd>
1315
- </dl>
1316
- </div>
1317
- <div class="behaviour">
1318
- <dl>
1319
- <dt id="behaviour_64">Addressable::URI when given an http protocol URI</dt>
1320
- <script type="text/javascript">moveProgressBar('93.0');</script>
1321
- <dd class="spec passed"><span class="passed_spec_name">should not do any conversion at all</span></dd>
1322
- </dl>
1323
- </div>
1324
- <div class="behaviour">
1325
- <dl>
1326
- <dt id="behaviour_65">Addressable::URI when given the template pattern 'http://example.com/search/{query}/' to be processed with the ExampleProcessor</dt>
1327
- <script type="text/javascript">moveProgressBar('93.2');</script>
1328
- <dd class="spec passed"><span class="passed_spec_name">should expand to 'http://example.com/search/an+example+search+query/' with a mapping of {&quot;query&quot; =&gt; &quot;an example search query&quot;} </span></dd>
1329
- <script type="text/javascript">moveProgressBar('93.4');</script>
1330
- <dd class="spec passed"><span class="passed_spec_name">should raise an error with a mapping of {&quot;query&quot; =&gt; &quot;invalid!&quot;}</span></dd>
1331
- </dl>
1332
- </div>
1333
- <div class="behaviour">
1334
- <dl>
1335
- <dt id="behaviour_66">Addressable::URI when given the mapping supplied in Section 3.3.1 of the URI Template draft</dt>
1336
- <script type="text/javascript">moveProgressBar('93.6');</script>
1337
- <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org/page1#fred' when used to expand 'http://example.org/page1#{a}'</span></dd>
1338
- <script type="text/javascript">moveProgressBar('93.9');</script>
1339
- <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org/fred/barney/' when used to expand 'http://example.org/{a}/{b}/'</span></dd>
1340
- <script type="text/javascript">moveProgressBar('94.1');</script>
1341
- <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org/fredbarney/' when used to expand 'http://example.org/{a}{b}/'</span></dd>
1342
- <script type="text/javascript">moveProgressBar('94.3');</script>
1343
- <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.com/order/cheeseburger/cheeseburger/cheeseburger/' when used to expand 'http://example.com/order/{c}/{c}/{c}/'</span></dd>
1344
- <script type="text/javascript">moveProgressBar('94.5');</script>
1345
- <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org/one%20two%20three' when used to expand 'http://example.org/{d}'</span></dd>
1346
- <script type="text/javascript">moveProgressBar('94.8');</script>
1347
- <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org/20%25%20tricky' when used to expand 'http://example.org/{e}'</span></dd>
1348
- <script type="text/javascript">moveProgressBar('95.0');</script>
1349
- <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.com//' when used to expand 'http://example.com/{f}/'</span></dd>
1350
- <script type="text/javascript">moveProgressBar('95.2');</script>
1351
- <dd class="spec passed"><span class="passed_spec_name">should result in 'https://this-is-spinal-tap.example.org?date=&amp;option=fred' when used to expand '{scheme}://{20}.example.org?date={wilma}&amp;option={a}'</span></dd>
1352
- <script type="text/javascript">moveProgressBar('95.4');</script>
1353
- <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.org?quote=to+be+or+not+to+be' when used to expand 'http://example.org?{p}'</span></dd>
1354
- <script type="text/javascript">moveProgressBar('95.7');</script>
1355
- <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.com/hullo#world' when used to expand 'http://example.com/{q}'</span></dd>
1356
- </dl>
1357
- </div>
1358
- <div class="behaviour">
1359
- <dl>
1360
- <dt id="behaviour_67">Addressable::URI when given a mapping that contains a template-var within a value</dt>
1361
- <script type="text/javascript">moveProgressBar('95.9');</script>
1362
- <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.com/%7Bb%7D/barney/' when used to expand 'http://example.com/{a}/{b}/'</span></dd>
1363
- </dl>
1364
- </div>
1365
- <div class="behaviour">
1366
- <dl>
1367
- <dt id="behaviour_68">Addressable::URI when given a mapping that contains values that are already percent-encoded</dt>
1368
- <script type="text/javascript">moveProgressBar('96.1');</script>
1369
- <dd class="spec passed"><span class="passed_spec_name">should result in 'http://example.com/%257Bb%257D/' when used to expand 'http://example.com/{a}/'</span></dd>
1370
- </dl>
1371
- </div>
1372
- <div class="behaviour">
1373
- <dl>
1374
- <dt id="behaviour_69">Addressable::URI when parsed from '/'</dt>
1375
- <script type="text/javascript">moveProgressBar('96.3');</script>
1376
- <dd class="spec passed"><span class="passed_spec_name">should have the correct mapping when extracting values using the pattern '/'</span></dd>
1377
- </dl>
1378
- </div>
1379
- <div class="behaviour">
1380
- <dl>
1381
- <dt id="behaviour_70">Addressable::URI when parsed from '/one/'</dt>
1382
- <script type="text/javascript">moveProgressBar('96.6');</script>
1383
- <dd class="spec passed"><span class="passed_spec_name">should not match the pattern '/two/'</span></dd>
1384
- <script type="text/javascript">moveProgressBar('96.8');</script>
1385
- <dd class="spec passed"><span class="passed_spec_name">should have the correct mapping when extracting values using the pattern '/{number}/'</span></dd>
1386
- </dl>
1387
- </div>
1388
- <div class="behaviour">
1389
- <dl>
1390
- <dt id="behaviour_71">Addressable::URI when parsed from 'http://example.com/search/an+example+search+query/'</dt>
1391
- <script type="text/javascript">moveProgressBar('97.0');</script>
1392
- <dd class="spec passed"><span class="passed_spec_name">should have the correct mapping when extracting values using the pattern 'http://example.com/search/{query}/' with the ExampleProcessor</span></dd>
1393
- <script type="text/javascript">moveProgressBar('97.2');</script>
1394
- <dd class="spec passed"><span class="passed_spec_name">should return nil when extracting values using a non-matching pattern</span></dd>
1395
- </dl>
1396
- </div>
1397
- <div class="behaviour">
1398
- <dl>
1399
- <dt id="behaviour_72">Addressable::URI when parsed from 'http://example.com/a/b/c/'</dt>
1400
- <script type="text/javascript">moveProgressBar('97.5');</script>
1401
- <dd class="spec passed"><span class="passed_spec_name">should have the correct mapping when extracting values using the pattern 'http://example.com/{first}/{second}/' with the ExampleProcessor</span></dd>
1402
- </dl>
1403
- </div>
1404
- <div class="behaviour">
1405
- <dl>
1406
- <dt id="behaviour_73">Addressable::URI when parsed from 'http://example.com/one/spacer/two/'</dt>
1407
- <script type="text/javascript">moveProgressBar('97.7');</script>
1408
- <dd class="spec passed"><span class="passed_spec_name">should have the correct mapping when extracting values using the pattern 'http://example.com/{first}/spacer/{second}/'</span></dd>
1409
- </dl>
1410
- </div>
1411
- <div class="behaviour">
1412
- <dl>
1413
- <dt id="behaviour_74">Addressable::URI when given the input '/path/to/resource'</dt>
1414
- <script type="text/javascript">moveProgressBar('97.9');</script>
1415
- <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to '/path/to/resource'</span></dd>
1416
- </dl>
1417
- </div>
1418
- <div class="behaviour">
1419
- <dl>
1420
- <dt id="behaviour_75">Addressable::URI when given the input 'relative/path/to/resource'</dt>
1421
- <script type="text/javascript">moveProgressBar('98.1');</script>
1422
- <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'relative/path/to/resource'</span></dd>
1423
- </dl>
1424
- </div>
1425
- <div class="behaviour">
1426
- <dl>
1427
- <dt id="behaviour_76">Addressable::URI when given the input 'example.com'</dt>
1428
- <script type="text/javascript">moveProgressBar('98.4');</script>
1429
- <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'http://example.com'</span></dd>
1430
- </dl>
1431
- </div>
1432
- <div class="behaviour">
1433
- <dl>
1434
- <dt id="behaviour_77">Addressable::URI when given the input 'example.com' and a scheme hint of 'ftp'</dt>
1435
- <script type="text/javascript">moveProgressBar('98.6');</script>
1436
- <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'http://example.com'</span></dd>
1437
- </dl>
1438
- </div>
1439
- <div class="behaviour">
1440
- <dl>
1441
- <dt id="behaviour_78">Addressable::URI when given the input 'example.com:21' and a scheme hint of 'ftp'</dt>
1442
- <script type="text/javascript">moveProgressBar('98.8');</script>
1443
- <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'http://example.com:21'</span></dd>
1444
- </dl>
1445
- </div>
1446
- <div class="behaviour">
1447
- <dl>
1448
- <dt id="behaviour_79">Addressable::URI when given the input 'example.com/path/to/resource'</dt>
1449
- <script type="text/javascript">moveProgressBar('99.0');</script>
1450
- <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'http://example.com/path/to/resource'</span></dd>
1451
- </dl>
1452
- </div>
1453
- <div class="behaviour">
1454
- <dl>
1455
- <dt id="behaviour_80">Addressable::URI when given the input 'http:///example.com'</dt>
1456
- <script type="text/javascript">moveProgressBar('99.3');</script>
1457
- <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'http://example.com'</span></dd>
1458
- </dl>
1459
- </div>
1460
- <div class="behaviour">
1461
- <dl>
1462
- <dt id="behaviour_81">Addressable::URI when given the input 'feed:///example.com'</dt>
1463
- <script type="text/javascript">moveProgressBar('99.5');</script>
1464
- <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'feed://example.com'</span></dd>
1465
- </dl>
1466
- </div>
1467
- <div class="behaviour">
1468
- <dl>
1469
- <dt id="behaviour_82">Addressable::URI when given the input 'file://path/to/resource/'</dt>
1470
- <script type="text/javascript">moveProgressBar('99.7');</script>
1471
- <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'file:///path/to/resource/'</span></dd>
1472
- </dl>
1473
- </div>
1474
- <div class="behaviour">
1475
- <dl>
1476
- <dt id="behaviour_83">Addressable::URI when given the input 'feed://http://example.com'</dt>
1477
- <script type="text/javascript">moveProgressBar('100.0');</script>
1478
- <dd class="spec passed"><span class="passed_spec_name">should heuristically parse to 'feed:http://example.com'</span></dd>
1479
- </dl>
1480
- </div>
1481
- <script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>2.481515 seconds</strong>";</script>
1482
- <script type="text/javascript">document.getElementById('totals').innerHTML = "443 examples, 0 failures";</script>
1483
- </div>
1484
- </div>
1485
- </body>
1486
- </html>