Changeset 57847 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Sep 21, 2015 9:37:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTUri.cpp
r57724 r57847 241 241 }, 242 242 { /* #14 */ 243 "file:///dir/dir/file", 244 /*.pszScheme =*/ "file", 245 /*.pszAuthority =*/ "", 246 /*.pszPath =*/ "/dir/dir/file", 247 /*.pszQuery =*/ NULL, 248 /*.pszFragment =*/ NULL, 249 /*.pszUsername =*/ NULL, 250 /*.pszPassword =*/ NULL, 251 /*.pszHost =*/ NULL, 252 /*.uPort =*/ UINT32_MAX, 253 /*.pszCreated =*/ NULL /* same as pszUri*/, 254 }, 255 { /* #15 */ 243 256 "foo:///", 244 257 /*.pszScheme =*/ "foo", … … 253 266 /*.pszCreated =*/ NULL /* same as pszUri*/, 254 267 }, 255 { /* #1 5*/268 { /* #16 */ 256 269 "foo://", 257 270 /*.pszScheme =*/ "foo", … … 266 279 /*.pszCreated =*/ NULL /* same as pszUri*/, 267 280 }, 268 { /* #1 6- UTF-8 escape sequences. */281 { /* #17 - UTF-8 escape sequences. */ 269 282 "http://example.com/%ce%b3%ce%bb%cf%83%ce%b1%20%e0%a4%95\xe0\xa4\x95", 270 283 /*.pszScheme =*/ "http", … … 290 303 g_apCreateFileURIs[] = 291 304 { 292 { "C:\\over\\ <>#%\"{}|^[]`\\there", "file:///C:%5Cover%5C%20%3C%3E%23%25%22%7B%7D%7C%5E%5B%5D%60%5Cthere", URI_FILE_FORMAT_WIN }, 293 { "/over/ <>#%\"{}|^[]`/there", "file:///over/%20%3C%3E%23%25%22%7B%7D%7C%5E%5B%5D%60/there", URI_FILE_FORMAT_UNIX }, 294 { "/", "file:///", URI_FILE_FORMAT_UNIX }, 295 { "/C:/over/ <>#%\"{}|^[]`/there", "file:///C:%5Cover%5C%20%3C%3E%23%25%22%7B%7D%7C%5E%5B%5D%60%5Cthere", URI_FILE_FORMAT_UNIX }, 296 { "\\over\\ <>#%\"{}|^[]`\\there", "file:///over/%20%3C%3E%23%25%22%7B%7D%7C%5E%5B%5D%60/there", URI_FILE_FORMAT_WIN } 305 { 306 "C:\\over\\ <>#%\"{}|^[]`\\there", 307 "file:///C:%5Cover%5C%20%3C%3E%23%25%22%7B%7D%7C%5E%5B%5D%60%5Cthere", 308 URI_FILE_FORMAT_WIN 309 }, 310 { 311 "/over/ <>#%\"{}|^[]`/there", 312 "file:///over/%20%3C%3E%23%25%22%7B%7D%7C%5E%5B%5D%60/there", 313 URI_FILE_FORMAT_UNIX 314 }, 315 { 316 "/", 317 "file:///", 318 URI_FILE_FORMAT_UNIX 319 }, 320 { 321 "/C:/over/ <>#%\"{}|^[]`/there", 322 "file:///C:%5Cover%5C%20%3C%3E%23%25%22%7B%7D%7C%5E%5B%5D%60%5Cthere", 323 URI_FILE_FORMAT_UNIX 324 }, 325 { 326 "\\over\\ <>#%\"{}|^[]`\\there", 327 "file:///over/%20%3C%3E%23%25%22%7B%7D%7C%5E%5B%5D%60/there", 328 URI_FILE_FORMAT_WIN 329 }, 330 { 331 "/", 332 "file:///", 333 URI_FILE_FORMAT_UNIX 334 }, 335 { 336 "\\", 337 "file:///", 338 URI_FILE_FORMAT_WIN 339 }, 297 340 }; 298 341
Note:
See TracChangeset
for help on using the changeset viewer.