diff options
Diffstat (limited to 'netwerk/test/urlparse_unx.dat')
-rw-r--r-- | netwerk/test/urlparse_unx.dat | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/netwerk/test/urlparse_unx.dat b/netwerk/test/urlparse_unx.dat new file mode 100644 index 000000000..909d1a9a0 --- /dev/null +++ b/netwerk/test/urlparse_unx.dat @@ -0,0 +1,34 @@ +# 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 *not* for PC platforms like Windows or OS/2. +# It's testcases for the file protocol target a unix-like filesystem. + +# testing different versions of file urls +file:home +file,,,home,-1,/,,,,,,file://home/ +file,,,,-1,/,home,,,,,file:///home + +file:/home +file,,,,-1,/,home,,,,,file:///home +file,,,,-1,/,home,,,,,file:///home + +file://home +file,,,home,-1,/,,,,,,file://home/ +file,,,home,-1,/,,,,,,file://home/ + +file:///home +file,,,,-1,/,home,,,,,file:///home +file,,,,-1,/,home,,,,,file:///home + +# testing UNC filepaths +file:////server/path +file,,,,-1,//server/,path,,,,,file:////server/path +file,,,,-1,//server/,path,,,,,file:////server/path |