Home
last modified time | relevance | path

Searched refs:expected_matches (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/components/url_matcher/
Dsubstring_set_matcher_unittest.cc31 size_t expected_matches = (is_match ? 1 : 0); in TestOnePattern() local
32 EXPECT_EQ(expected_matches, matches.size()) << test; in TestOnePattern()
62 size_t expected_matches = (is_match_1 ? 1 : 0) + (is_match_2 ? 1 : 0); in TestTwoPatterns() local
63 EXPECT_EQ(expected_matches, matches.size()) << test; in TestTwoPatterns()
/external/chromium_org/chrome/browser/history/
Dsnippet_unittest.cc230 const size_t expected_matches[10]; in TEST() member
248 EXPECT_EQ(data[i].expected_matches[2 * j], matches[j].first); in TEST()
249 EXPECT_EQ(data[i].expected_matches[2 * j + 1], matches[j].second); in TEST()
/external/chromium/chrome/browser/history/
Dsnippet_unittest.cc230 const size_t expected_matches[10]; in TEST() member
248 EXPECT_EQ(data[i].expected_matches[2 * j], matches[j].first); in TEST()
249 EXPECT_EQ(data[i].expected_matches[2 * j + 1], matches[j].second); in TEST()
/external/chromium/chrome/browser/bookmarks/
Dbookmark_index_unittest.cc169 Snippet::MatchPositions expected_matches; in TEST_F() local
170 ExtractMatchPositions(data[i].expected, &expected_matches); in TEST_F()
171 ExpectMatchPositions(data[i].query, expected_matches); in TEST_F()
/external/chromium_org/chrome/browser/bookmarks/
Dbookmark_index_unittest.cc180 BookmarkTitleMatch::MatchPositions expected_matches; in TEST_F() local
181 ExtractMatchPositions(data[i].expected, &expected_matches); in TEST_F()
182 ExpectMatchPositions(data[i].query, expected_matches); in TEST_F()
/external/chromium_org/chrome/browser/ui/find_bar/
Dfind_bar_host_browsertest.cc160 int expected_matches) { in FindInPageTillBoxMoves() argument
162 for (int index = 0; index < expected_matches; ++index) { in FindInPageTillBoxMoves()
164 EXPECT_EQ(expected_matches, FindInPageWchar(web_contents, search_str, in FindInPageTillBoxMoves()
/external/chromium_org/chrome/browser/autocomplete/
Dsearch_provider_unittest.cc420 const std::string expected_matches[3], in ForcedQueryTestHelper()
436 EXPECT_EQ(ASCIIToUTF16(expected_matches[i]), matches[i].contents) << in ForcedQueryTestHelper()
441 EXPECT_EQ(std::string(), expected_matches[i]) << in ForcedQueryTestHelper()