Lines Matching refs:RunQuery
35 std::string RunQuery(const std::string& query) {
57 EXPECT_EQ("", RunQuery(""));
58 EXPECT_EQ("", RunQuery("!@#$-,-_"));
59 EXPECT_EQ("", RunQuery("unmatched query"));
64 const std::string result = RunQuery("pa");
68 EXPECT_EQ("Packaged App 1", RunQuery("pa1"));
69 EXPECT_EQ("Packaged App 2", RunQuery("pa2"));
70 EXPECT_EQ("Packaged App 1", RunQuery("app1"));
71 EXPECT_EQ("Hosted App", RunQuery("host"));
75 EXPECT_EQ("Hosted App", RunQuery("host"));
79 EXPECT_EQ("Hosted App", RunQuery("host"));
82 EXPECT_EQ("Hosted App", RunQuery("host"));
86 EXPECT_EQ("Packaged App 1", RunQuery("pa1"));
88 EXPECT_EQ("", RunQuery("pa1"));