Searched defs:expected_positions (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_index_unittest.cc126 const BookmarkMatch::MatchPositions& expected_positions) {
127 ASSERT_EQ(expected_positions.size(), actual_positions.size());
128 for (size_t i = 0; i < expected_positions.size(); ++i) {
129 EXPECT_EQ(expected_positions[i].first, actual_positions[i].first);
130 EXPECT_EQ(expected_positions[i].second, actual_positions[i].second);
124 ExpectMatchPositions( const BookmarkMatch::MatchPositions& actual_positions, const BookmarkMatch::MatchPositions& expected_positions) argument
/external/chromium_org/sync/engine/
H A Dsyncer_unittest.cc424 map<int, syncable::Id> expected_positions; local
431 bool double_position = !expected_positions.insert(entry).second;
478 ASSERT_TRUE(expected_positions.size() ==
481 for (size_t i = 0; i < expected_positions.size(); ++i) {
483 EXPECT_EQ(1u, expected_positions.count(i));
484 EXPECT_EQ(expected_positions[i], mock_server_->committed_ids()[i]);

Completed in 112 milliseconds