Searched refs:GetQueryString (Results 1 – 3 of 3) sorted by relevance
/external/libbrillo/brillo/ |
D | url_utils_unittest.cc | 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() [all …]
|
D | url_utils.cc | 89 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()
|
D | url_utils.h | 44 BRILLO_EXPORT std::string GetQueryString(const std::string& url,
|