Home
last modified time | relevance | path

Searched refs:expected_positions (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/bookmarks/
Dbookmark_index_unittest.cc87 const Snippet::MatchPositions& expected_positions) { in ExpectMatchPositions() argument
92 ASSERT_EQ(expected_positions.size(), match.match_positions.size()); in ExpectMatchPositions()
93 for (size_t i = 0; i < expected_positions.size(); ++i) { in ExpectMatchPositions()
94 EXPECT_EQ(expected_positions[i].first, match.match_positions[i].first); in ExpectMatchPositions()
95 EXPECT_EQ(expected_positions[i].second, match.match_positions[i].second); in ExpectMatchPositions()
/external/chromium/chrome/browser/sync/engine/
Dsyncer_unittest.cc280 map<int, syncable::Id> expected_positions; in RunCommitOrderingTest() local
287 bool double_position = !expected_positions.insert(entry).second; in RunCommitOrderingTest()
333 ASSERT_TRUE(expected_positions.size() == in RunCommitOrderingTest()
336 for (size_t i = 0; i < expected_positions.size(); ++i) { in RunCommitOrderingTest()
337 EXPECT_TRUE(1 == expected_positions.count(i)); in RunCommitOrderingTest()
338 EXPECT_TRUE(expected_positions[i] == mock_server_->committed_ids()[i]); in RunCommitOrderingTest()