summaryrefslogtreecommitdiffstats
path: root/netwerk/test/urlparse_win.dat
blob: cf418fefb02a253f6b61c58854fbb9b72db39ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Any blank lines and those beginning with # are comments and 
# ignored. To add additional test cases that could potentially 
# break URL parsing in mozilla add the input URL on a new line 
# and follow it with the expected output for the standard URL 
# parser and one line for the case when the URL is really 
# created. Then run urltest with the -std option and without it 
# on this file and hopefully the expected output should match 
# the one from the program. 
#   - Gagan Saksena 03/28/00
# 
# This version is specifically for PC platforms like Windows or OS/2.
# It has testcases for the file protocol targeting typical 
# drive:/path filesystems
#

# testing different versions of file urls
file:c:
file,,,,-1,/,c:,,,,,file:///c%3A
file,,,,-1,/c:/,,,,,,file:///c:/

file:c:/
file,,,,-1,/c:/,,,,,,file:///c:/
file,,,,-1,/c:/,,,,,,file:///c:/

file:/c:/
file,,,,-1,/c:/,,,,,,file:///c:/
file,,,,-1,/c:/,,,,,,file:///c:/

file://c:/
file,,,,-1,/c:/,,,,,,file:///c:/
file,,,,-1,/c:/,,,,,,file:///c:/

file:///c:/
file,,,,-1,/c:/,,,,,,file:///c:/
file,,,,-1,/c:/,,,,,,file:///c:/

# testing UNC filepaths
file:server/path
file,,,server,-1,/,path,,,,,file://server/path
file,,,,-1,///server/,path,,,,,file://///server/path

file:/server/path
file,,,,-1,/server/,path,,,,,file:///server/path
file,,,,-1,///server/,path,,,,,file://///server/path

file://server/path
file,,,server,-1,/,path,,,,,file://server/path
file,,,server,-1,///,path,,,,,file://server///path

file:///server/path
file,,,,-1,/server/,path,,,,,file:///server/path
file,,,,-1,///server/,path,,,,,file://///server/path

file:////server/path
file,,,,-1,//server/,path,,,,,file:////server/path
file,,,,-1,///server/,path,,,,,file://///server/path

file://///server/path
file,,,,-1,///server/,path,,,,,file://///server/path
file,,,,-1,///server/,path,,,,,file://///server/path