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