1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netwerk/test/urlparse_win.dat Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,60 @@ 1.4 +# Any blank lines and those beginning with # are comments and 1.5 +# ignored. To add additional test cases that could potentially 1.6 +# break URL parsing in mozilla add the input URL on a new line 1.7 +# and follow it with the expected output for the standard URL 1.8 +# parser and one line for the case when the URL is really 1.9 +# created. Then run urltest with the -std option and without it 1.10 +# on this file and hopefully the expected output should match 1.11 +# the one from the program. 1.12 +# - Gagan Saksena 03/28/00 1.13 +# 1.14 +# This version is specifically for PC platforms like Windows or OS/2. 1.15 +# It has testcases for the file protocol targeting typical 1.16 +# drive:/path filesystems 1.17 +# 1.18 + 1.19 +# testing different versions of file urls 1.20 +file:c: 1.21 +file,,,,-1,/,c:,,,,,file:///c%3A 1.22 +file,,,,-1,/c:/,,,,,,file:///c:/ 1.23 + 1.24 +file:c:/ 1.25 +file,,,,-1,/c:/,,,,,,file:///c:/ 1.26 +file,,,,-1,/c:/,,,,,,file:///c:/ 1.27 + 1.28 +file:/c:/ 1.29 +file,,,,-1,/c:/,,,,,,file:///c:/ 1.30 +file,,,,-1,/c:/,,,,,,file:///c:/ 1.31 + 1.32 +file://c:/ 1.33 +file,,,,-1,/c:/,,,,,,file:///c:/ 1.34 +file,,,,-1,/c:/,,,,,,file:///c:/ 1.35 + 1.36 +file:///c:/ 1.37 +file,,,,-1,/c:/,,,,,,file:///c:/ 1.38 +file,,,,-1,/c:/,,,,,,file:///c:/ 1.39 + 1.40 +# testing UNC filepaths 1.41 +file:server/path 1.42 +file,,,server,-1,/,path,,,,,file://server/path 1.43 +file,,,,-1,///server/,path,,,,,file://///server/path 1.44 + 1.45 +file:/server/path 1.46 +file,,,,-1,/server/,path,,,,,file:///server/path 1.47 +file,,,,-1,///server/,path,,,,,file://///server/path 1.48 + 1.49 +file://server/path 1.50 +file,,,server,-1,/,path,,,,,file://server/path 1.51 +file,,,server,-1,///,path,,,,,file://server///path 1.52 + 1.53 +file:///server/path 1.54 +file,,,,-1,/server/,path,,,,,file:///server/path 1.55 +file,,,,-1,///server/,path,,,,,file://///server/path 1.56 + 1.57 +file:////server/path 1.58 +file,,,,-1,//server/,path,,,,,file:////server/path 1.59 +file,,,,-1,///server/,path,,,,,file://///server/path 1.60 + 1.61 +file://///server/path 1.62 +file,,,,-1,///server/,path,,,,,file://///server/path 1.63 +file,,,,-1,///server/,path,,,,,file://///server/path