Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Durl_utils_unittest.cc137 TEST(UrlUtils, HasQueryString) { in TEST() argument
138 EXPECT_FALSE(url::HasQueryString("http://server.com/path")); in TEST()
139 EXPECT_FALSE(url::HasQueryString("http://server.com/path#blah?v=1")); in TEST()
140 EXPECT_TRUE(url::HasQueryString("http://server.com/path?v=1#blah")); in TEST()
141 EXPECT_TRUE(url::HasQueryString("http://server.com/path?v=1")); in TEST()
142 EXPECT_FALSE(url::HasQueryString("")); in TEST()
143 EXPECT_TRUE(url::HasQueryString("?ss")); in TEST()
Durl_utils.h80 BRILLO_EXPORT bool HasQueryString(const std::string& url);
Durl_utils.cc160 bool url::HasQueryString(const std::string& url) { in HasQueryString() function in brillo::url