Home
last modified time | relevance | path

Searched refs:GetQueryString (Results 1 – 3 of 3) sorted by relevance

/external/libbrillo/brillo/
Durl_utils_test.cc40 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()
[all …]
Durl_utils.cc89 std::string url::GetQueryString(const std::string& url, bool remove_fragment) { in GetQueryString() function in brillo::url
101 std::string query_string = GetQueryString(url, true); in GetQueryStringParameters()
Durl_utils.h44 BRILLO_EXPORT std::string GetQueryString(const std::string& url,