netwerk/test/urlparse_unx.dat

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

michael@0 1 # Any blank lines and those beginning with # are comments and
michael@0 2 # ignored. To add additional test cases that could potentially
michael@0 3 # break URL parsing in mozilla add the input URL on a new line
michael@0 4 # and follow it with the expected output for the standard URL
michael@0 5 # parser and one line for the case when the URL is really
michael@0 6 # created. Then run urltest with the -std option and without it
michael@0 7 # on this file and hopefully the expected output should match
michael@0 8 # the one from the program.
michael@0 9 # - Gagan Saksena 03/28/00
michael@0 10 #
michael@0 11 # This version is specifically *not* for PC platforms like Windows or OS/2.
michael@0 12 # It's testcases for the file protocol target a unix-like filesystem.
michael@0 13
michael@0 14 # testing different versions of file urls
michael@0 15 file:home
michael@0 16 file,,,home,-1,/,,,,,,file://home/
michael@0 17 file,,,,-1,/,home,,,,,file:///home
michael@0 18
michael@0 19 file:/home
michael@0 20 file,,,,-1,/,home,,,,,file:///home
michael@0 21 file,,,,-1,/,home,,,,,file:///home
michael@0 22
michael@0 23 file://home
michael@0 24 file,,,home,-1,/,,,,,,file://home/
michael@0 25 file,,,home,-1,/,,,,,,file://home/
michael@0 26
michael@0 27 file:///home
michael@0 28 file,,,,-1,/,home,,,,,file:///home
michael@0 29 file,,,,-1,/,home,,,,,file:///home
michael@0 30
michael@0 31 # testing UNC filepaths
michael@0 32 file:////server/path
michael@0 33 file,,,,-1,//server/,path,,,,,file:////server/path
michael@0 34 file,,,,-1,//server/,path,,,,,file:////server/path

mercurial