Home | History | Annotate | Download | only in brillo

Lines Matching refs:Combine

11 TEST(UrlUtils, Combine) {
13 url::Combine("http://sample.org", "path"));
15 url::Combine("http://sample.org/", "path"));
16 EXPECT_EQ("path1/path2", url::Combine("", "path1/path2"));
17 EXPECT_EQ("path1/path2", url::Combine("path1", "path2"));
18 EXPECT_EQ("http://sample.org", url::Combine("http://sample.org", ""));
20 url::Combine("http://sample.org/", "/path"));
22 url::Combine("http://sample.org", "//////path"));
23 EXPECT_EQ("http://sample.org/", url::Combine("http://sample.org", "///"));
25 url::Combine("http://sample.org/obj", "path1/path2"));
27 url::Combine("http://sample.org/obj#tag", "path1/path2"));
29 url::Combine("http://sample.org/obj?k1=v1&k2=v2", "path1/path2"));
31 url::Combine("http://sample.org/obj/?k1=v1#k2=v2", "path1/path2"));
33 url::Combine("http://sample.org/obj#tag?", "path1/path2"));