Home | History | Annotate | Download | only in autocomplete

Lines Matching defs:matches_

135   ACMatches matches_;
198 matches_ = autocomplete_->matches();
199 ASSERT_EQ(num_results, matches_.size()) << "Input text: " << text
202 EXPECT_EQ(expected_urls[i], matches_[i].destination_url.spec());
213 matches_ = autocomplete_->matches();
214 ASSERT_GE(matches_.size(), 1U) << "Input text: " << text;
215 EXPECT_EQ(expected_offset, matches_[0].inline_autocomplete_offset);
248 EXPECT_EQ(ASCIIToUTF16("Google News"), matches_.front().description);
418 EXPECT_EQ(input_1.length(), matches_.front().inline_autocomplete_offset);
430 EXPECT_EQ(input_2.length(), matches_.front().inline_autocomplete_offset);
469 matches_ = autocomplete_->matches();
470 ASSERT_GT(matches_.size(), 0u);
471 EXPECT_EQ(GURL("http://pandora.com/"), matches_[0].destination_url);
472 int pandora_relevance = matches_[0].relevance;
477 matches_ = autocomplete_->matches();
478 ASSERT_GT(matches_.size(), 0u);
479 EXPECT_EQ(GURL("http://pandora.com/"), matches_[0].destination_url);
480 EXPECT_EQ(pandora_relevance, matches_[0].relevance);