Home | History | Annotate | Download | only in src

Lines Matching full:http

52   EXPECT_EQ("http://hostname.com/", TypesTestCase("http:HOSTNAME.com"));
53 EXPECT_EQ("http://hostname.com/", TypesTestCase("http:/HOSTNAME.com"));
54 EXPECT_EQ("http://hostname.com/", TypesTestCase("http://HOSTNAME.com"));
55 EXPECT_EQ("http://hostname.com/", TypesTestCase("http:///HOSTNAME.com"));
70 GURL url(WStringToUTF16(L"http://user:pass@google.com:99/foo;bar?q=a#ref"));
72 EXPECT_TRUE(url.SchemeIs("http"));
76 EXPECT_EQ("http://user:pass@google.com:99/foo;bar?q=a#ref", url.spec());
78 EXPECT_EQ("http", url.scheme());
106 GURL url(WStringToUTF16(L"http://user:pass@google.com:99/foo;bar?q=a#ref"));
111 EXPECT_EQ("http://user:pass@google.com:99/foo;bar?q=a#ref", url2.spec());
112 EXPECT_EQ("http", url2.scheme());
140 GURL url("http:google.com:foo");
142 EXPECT_EQ("http://google.com:foo/", url.possibly_invalid_spec());
144 EXPECT_EQ("http", url.scheme());
165 {"http://www.google.com/", "foo.html", true, "http://www.google.com/foo.html"},
166 {"http://www.google.com/", "http://images.google.com/foo.html", true, "http://images.google.com/foo.html"},
167 {"http://www.google.com/blah/bloo?c#d", "../../../hello/./world.html?a#b", true, "http://www.google.com/hello/world.html?a#b"},
168 {"http://www.google.com/foo#bar", "#com", true, "http://www.google.com/foo#com"},
169 {"http://www.google.com/", "Https:images.google.com", true, "https://images.google.com/"},
171 {"data:blahblah", "http://google.com/", true, "http://google.com/"},
172 {"data:blahblah", "http:google.com", true, "http://google.com/"},
197 {"http://www.google.com", "http://www.google.com/"},
199 {"http://user:pass@www.google.com:21/blah#baz", "http://www.google.com:21/"},
200 {"http://user@www.google.com", "http://www.google.com/"},
201 {"http://:pass@www.google.com", "http://www.google.com/"},
202 {"http://:@www.google.com", "http://www.google.com/"},
216 {"http://www.google.com", "http://www.google.com/"},
218 {"http://www.google.com/foo/bar.html?baz=22", "http://www.google.com/"},
244 {"http://www.google.com/foo/bar.html?foo#bar", NULL, NULL, NULL, NULL, NULL, "/", "", "", "http://www.google.com/"},
245 {"http://www.google.com/foo/bar.html?foo#bar", "javascript", "", "", "", "", "window.open('foo');", "", "", "javascript:window.open('foo');"},
246 {"file:///C:/foo/bar.txt", "http", NULL, NULL, "www.google.com", "99", "/foo","search", "ref", "http://www.google.com:99/foo?search#ref"},
248 {"http://www.google.com/foo/bar.html?foo#bar", "file", "", "", "", "", "c:\\", "", "", "file:///C:/"},
275 {"http://www.google.com", "/"},
276 {"http://www.google.com/", "/"},
277 {"http://www.google.com/foo/bar.html?baz=22", "/foo/bar.html?baz=22"},
278 {"http://www.google.com/foo/bar.html#ref", "/foo/bar.html"},
279 {"http://www.google.com/foo/bar.html?query#ref", "/foo/bar.html?query"},
294 // http
295 {"http://www.google.com/", 80},
296 {"http://www.google.com:80/", 80},
297 {"http://www.google.com:443/", 443},
334 {"http://www.google.com/", false},
335 {"http://192.168.9.1/", true},
336 {"http://192.168.9.1.2/", false},
337 {"http://192.168.m.1/", false},
338 {"http://2001:db8::1/", false},
339 {"http://[2001:db8::1]/", true},
356 {"http://www.google.com", "www.google.com", "www.google.com"},
357 {"http://[2001:db8::1]/", "[2001:db8::1]", "2001:db8::1"},
358 {"http://[::]/", "[::]", "::"},
361 {"http://[]/", "[]", ""},
362 {"http://[x]/", "[x]", "x"},
363 {"http://[x/", "[x", "[x"},
364 {"http://x]/", "x]", "x]"},
365 {"http://[/", "[", "["},
366 {"http://]/", "]", "]"},
379 GURL url_1("http://www.google.com:99/foo");
382 GURL url_2("http://google.com:99/foo");
385 GURL url_3("http://google.com./foo");
388 GURL url_4("http://google.com/foo");
391 GURL url_5("http://google.com./foo");
394 GURL url_6("http://www.google.com./foo");
397 GURL url_7("http://www.balabala.com/foo");
400 GURL url_8("http://www.google.com.cn/foo");
403 GURL url_9("http://www.iamnotgoogle.com/foo");
406 GURL url_10("http://www.iamnotgoogle.com../foo");
414 EXPECT_EQ("http://www.google.com/asdf", url_1.spec());
418 EXPECT_EQ("http://www.google.com/foo", url_2.spec());
424 GURL a("http:foo/bar");