Home | History | Annotate | Download | only in tests

Lines Matching full:file

22  * file for a list of people on the GLib Team.  See the ChangeLog
47 { "/etc", NULL, "file:///etc"},
48 { "/etc", "", "file:///etc"},
49 { "/etc", "otherhost", "file://otherhost/etc"},
51 { "/etc", "localhost", "file:///etc"},
52 { "c:\\windows", NULL, "file:///c:/windows"},
53 { "c:\\windows", "localhost", "file:///c:/windows"},
54 { "c:\\windows", "otherhost", "file://otherhost/c:/windows"},
55 { "\\\\server\\share\\dir", NULL, "file:////server/share/dir"},
56 { "\\\\server\\share\\dir", "localhost", "file:////server/share/dir"},
58 { "/etc", "localhost", "file://localhost/etc"},
65 { "/etc/\xE5\xE4\xF6", NULL, "file:///etc/%E5%E4%F6" },
66 { "/etc/\xC3\xB6\xC3\xA4\xC3\xA5", NULL, "file:///etc/%C3%B6%C3%A4%C3%A5"},
70 { "/etc/file with #%", NULL, "file:///etc/file%20with%20%23%25"},
75 { "/0123456789", NULL, "file:///0123456789"},
76 { "/ABCDEFGHIJKLMNOPQRSTUVWXYZ", NULL, "file:///ABCDEFGHIJKLMNOPQRSTUVWXYZ"},
77 { "/abcdefghijklmnopqrstuvwxyz", NULL, "file:///abcdefghijklmnopqrstuvwxyz"},
78 { "/-_.!~*'()", NULL, "file:///-_.!~*'()"},
81 { "/\"#%<>[\\]^`{|}\x7F", NULL, "file:///%22%23%25%3C%3E%5B/%5D%5E%60%7B%7C%7D%7F"},
83 /* On Unix, '\\' is a normal character in the file name */
84 { "/\"#%<>[\\]^`{|}\x7F", NULL, "file:///%22%23%25%3C%3E%5B%5C%5D%5E%60%7B%7C%7D%7F"},
86 { "/;@+$,", NULL, "file:///%3B@+$,"},
87 /* This and some of the following are of course as such illegal file names on Windows,
90 { "/:", NULL, "file:///:"},
91 { "/?&=", NULL, "file:///%3F&="},
93 { "/", "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "file://ABCDEFGHIJKLMNOPQRSTUVWXYZ/"},
94 { "/", "abcdefghijklmnopqrstuvwxyz", "file://abcdefghijklmnopqrstuvwxyz/"},
115 { "file:///etc", "/etc"},
116 { "file:/etc", "/etc"},
121 { "file://localhost/etc", "/etc", NULL},
122 { "file://localhost/etc/%23%25%20file", "/etc/#% file", NULL},
123 { "file://localhost/\xE5\xE4\xF6", "/\xe5\xe4\xf6", NULL},
124 { "file://localhost/%E5%E4%F6", "/\xe5\xe4\xf6", NULL},
126 { "file://localhost/etc", "/etc", "localhost"},
127 { "file://localhost/etc/%23%25%20file", "/etc/#% file", "localhost"},
128 { "file://localhost/\xE5\xE4\xF6", "/\xe5\xe4\xf6", "localhost"},
129 { "file://localhost/%E5%E4%F6", "/\xe5\xe4\xf6", "localhost"},
131 { "file://otherhost/etc", "/etc", "otherhost"},
132 { "file://otherhost/etc/%23%25%20file", "/etc/#% file", "otherhost"},
133 { "file://%C3%B6%C3%A4%C3%A5/etc", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
134 { "file:////etc/%C3%B6%C3%C3%C3%A5", "//etc/\xc3\xb6\xc3\xc3\xc3\xa5", NULL},
135 { "file://\xE5\xE4\xF6/etc", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
136 { "file://%E5%E4%F6/etc", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
137 { "file:///some/file#bad", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
138 { "file://some", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
140 { "file:test", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
142 { "file:////etc", "//etc"},
143 { "file://///etc", "///etc"},
146 { "file:///c:\\foo", "c:\\foo"},
147 { "file:///c:/foo\\bar", "c:\\foo\\bar"},
149 { "file:///c|/foo", "c:\\foo"},
150 { "file:////server/share/dir", "\\\\server\\share\\dir"},
151 { "file://localhost//server/share/foo", "\\\\server\\share\\foo"},
152 { "file://otherhost//server/share/foo", "\\\\server\\share\\foo", "otherhost"},
154 { "file:///c:\\foo", "/c:\\foo"},
155 { "file:///c:/foo", "/c:/foo"},
156 { "file:////c:/foo", "//c:/foo"},
158 { "file://0123456789/", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
159 { "file://ABCDEFGHIJKLMNOPQRSTUVWXYZ/", "/", "ABCDEFGHIJKLMNOPQRSTUVWXYZ"},
160 { "file://abcdefghijklmnopqrstuvwxyz/", "/", "abcdefghijklmnopqrstuvwxyz"},
161 { "file://-_.!~*'()/", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
162 { "file://\"<>[\\]^`{|}\x7F/", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
163 { "file://;?&=+$,/", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
164 { "file://%C3%80%C3%BF/", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
165 { "file://@/", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
166 { "file://:/", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
167 { "file://#/", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
168 { "file://%23/", NULL, NULL, G_CONVERT_ERROR_BAD_URI},
169 { "file://%2F/", NULL, NULL, G_CONVERT_ERROR_BAD_URI},