OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TranslateQuery
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/chrome/browser/drive/
drive_api_util_unittest.cc
26
TEST(DriveApiUtilTest,
TranslateQuery
) {
27
EXPECT_EQ("",
TranslateQuery
(""));
28
EXPECT_EQ("fullText contains 'dog'",
TranslateQuery
("dog"));
30
TranslateQuery
("dog cat"));
31
EXPECT_EQ("not fullText contains 'cat'",
TranslateQuery
("-cat"));
32
EXPECT_EQ("fullText contains 'dog cat'",
TranslateQuery
("\"dog cat\""));
38
TranslateQuery
("dog" "\xE3\x80\x80" "cat"));
42
EXPECT_EQ("fullText contains 'dog cat'",
TranslateQuery
("\"dog cat"));
45
EXPECT_EQ("not fullText contains 'dog cat'",
TranslateQuery
("-\"dog cat\""));
48
EXPECT_EQ("",
TranslateQuery
("-"))
[
all
...]
drive_api_util.h
57
std::string
TranslateQuery
(const std::string& original_query);
drive_api_service.cc
284
request->set_q(util::
TranslateQuery
(search_query));
Completed in 2258 milliseconds