Searched refs:matches_a (Results 1 – 2 of 2) sorted by relevance
/external/chromium/chrome/browser/history/ |
D | in_memory_url_index_unittest.cc | 337 TermMatches matches_a; in TEST_F() local 338 matches_a.push_back(TermMatch(1, 13, 10)); in TEST_F() 339 matches_a.push_back(TermMatch(2, 23, 10)); in TEST_F() 340 matches_a.push_back(TermMatch(3, 3, 10)); in TEST_F() 341 matches_a.push_back(TermMatch(4, 40, 5)); in TEST_F() 342 TermMatches matches_b = InMemoryURLIndex::SortAndDeoverlap(matches_a); in TEST_F() 344 EXPECT_EQ(matches_a.size(), matches_b.size()); in TEST_F() 350 matches_a.push_back(TermMatch(5, 18, 10)); in TEST_F() 351 matches_a.push_back(TermMatch(6, 38, 5)); in TEST_F() 352 matches_b = InMemoryURLIndex::SortAndDeoverlap(matches_a); in TEST_F() [all …]
|
/external/chromium/chrome/browser/autocomplete/ |
D | history_quick_provider_unittest.cc | 291 history::TermMatches matches_a; in TEST_F() local 294 matches_a.push_back(history::TermMatch(1, 1, 2)); in TEST_F() 295 matches_a.push_back(history::TermMatch(2, 4, 3)); in TEST_F() 296 matches_a.push_back(history::TermMatch(3, 9, 1)); in TEST_F() 297 matches_a.push_back(history::TermMatch(3, 10, 1)); in TEST_F() 298 matches_a.push_back(history::TermMatch(4, 14, 5)); in TEST_F() 300 HistoryQuickProvider::SpansFromTermMatch(matches_a, 20); in TEST_F()
|