Lines Matching refs:GetQueryString
40 TEST(UrlUtils, GetQueryString) { in TEST() argument
41 EXPECT_EQ("", url::GetQueryString("http://sample.org", false)); in TEST()
42 EXPECT_EQ("", url::GetQueryString("http://sample.org", true)); in TEST()
43 EXPECT_EQ("", url::GetQueryString("", false)); in TEST()
44 EXPECT_EQ("", url::GetQueryString("", true)); in TEST()
47 url::GetQueryString("http://s.com/?q=v&b=2#tag?2", false)); in TEST()
49 url::GetQueryString("http://s.com/?q=v&b=2#tag?2", true)); in TEST()
51 EXPECT_EQ("#tag?a=2", url::GetQueryString("http://s.com/#tag?a=2", false)); in TEST()
52 EXPECT_EQ("", url::GetQueryString("http://s.com/#tag?a=2", true)); in TEST()
54 EXPECT_EQ("?a=2&b=2", url::GetQueryString("?a=2&b=2", false)); in TEST()
55 EXPECT_EQ("?a=2&b=2", url::GetQueryString("?a=2&b=2", true)); in TEST()
57 EXPECT_EQ("#s#?d#?f?#s?#d", url::GetQueryString("#s#?d#?f?#s?#d", false)); in TEST()
58 EXPECT_EQ("", url::GetQueryString("#s#?d#?f?#s?#d", true)); in TEST()