Searched refs:expected_positions (Results 1 – 2 of 2) sorted by relevance
87 const Snippet::MatchPositions& expected_positions) { in ExpectMatchPositions() argument92 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()
280 map<int, syncable::Id> expected_positions; in RunCommitOrderingTest() local287 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()