netwerk/test/urlparse_win.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 for PC platforms like Windows or OS/2.
michael@0 12 # It has testcases for the file protocol targeting typical
michael@0 13 # drive:/path filesystems
michael@0 14 #
michael@0 15
michael@0 16 # testing different versions of file urls
michael@0 17 file:c:
michael@0 18 file,,,,-1,/,c:,,,,,file:///c%3A
michael@0 19 file,,,,-1,/c:/,,,,,,file:///c:/
michael@0 20
michael@0 21 file:c:/
michael@0 22 file,,,,-1,/c:/,,,,,,file:///c:/
michael@0 23 file,,,,-1,/c:/,,,,,,file:///c:/
michael@0 24
michael@0 25 file:/c:/
michael@0 26 file,,,,-1,/c:/,,,,,,file:///c:/
michael@0 27 file,,,,-1,/c:/,,,,,,file:///c:/
michael@0 28
michael@0 29 file://c:/
michael@0 30 file,,,,-1,/c:/,,,,,,file:///c:/
michael@0 31 file,,,,-1,/c:/,,,,,,file:///c:/
michael@0 32
michael@0 33 file:///c:/
michael@0 34 file,,,,-1,/c:/,,,,,,file:///c:/
michael@0 35 file,,,,-1,/c:/,,,,,,file:///c:/
michael@0 36
michael@0 37 # testing UNC filepaths
michael@0 38 file:server/path
michael@0 39 file,,,server,-1,/,path,,,,,file://server/path
michael@0 40 file,,,,-1,///server/,path,,,,,file://///server/path
michael@0 41
michael@0 42 file:/server/path
michael@0 43 file,,,,-1,/server/,path,,,,,file:///server/path
michael@0 44 file,,,,-1,///server/,path,,,,,file://///server/path
michael@0 45
michael@0 46 file://server/path
michael@0 47 file,,,server,-1,/,path,,,,,file://server/path
michael@0 48 file,,,server,-1,///,path,,,,,file://server///path
michael@0 49
michael@0 50 file:///server/path
michael@0 51 file,,,,-1,/server/,path,,,,,file:///server/path
michael@0 52 file,,,,-1,///server/,path,,,,,file://///server/path
michael@0 53
michael@0 54 file:////server/path
michael@0 55 file,,,,-1,//server/,path,,,,,file:////server/path
michael@0 56 file,,,,-1,///server/,path,,,,,file://///server/path
michael@0 57
michael@0 58 file://///server/path
michael@0 59 file,,,,-1,///server/,path,,,,,file://///server/path
michael@0 60 file,,,,-1,///server/,path,,,,,file://///server/path

mercurial