Home | History | Annotate | Download | only in predictors

Lines Matching refs:Row

38   bool RowsAreEqual(const AutocompleteActionPredictorTable::Row& lhs,
39 const AutocompleteActionPredictorTable::Row& rhs) const;
84 test_db_.push_back(AutocompleteActionPredictorTable::Row(
88 test_db_.push_back(AutocompleteActionPredictorTable::Row(
92 test_db_.push_back(AutocompleteActionPredictorTable::Row(
119 const AutocompleteActionPredictorTable::Row& lhs,
120 const AutocompleteActionPredictorTable::Row& rhs) const {
132 AutocompleteActionPredictorTable::Row row;
133 db_->autocomplete_table()->GetRow(test_db_[0].id, &row);
134 EXPECT_TRUE(RowsAreEqual(test_db_[0], row))
135 << "Expected: Row with id " << test_db_[0].id << "\n"
136 << "Got: Row with id " << row.id;
150 AutocompleteActionPredictorTable::Row row1 = test_db_[1];
157 AutocompleteActionPredictorTable::Row updated_row1;
160 << "Expected: Row with id " << row1.id << "\n"
161 << "Got: Row with id " << updated_row1.id;
163 AutocompleteActionPredictorTable::Row row0 = test_db_[0];
165 AutocompleteActionPredictorTable::Row row2 = test_db_[2];
175 AutocompleteActionPredictorTable::Row updated_row0, updated_row2;
179 << "Expected: Row with id " << row0.id << "\n"
180 << "Got: Row with id " << updated_row0.id;
182 << "Expected: Row with id " << row2.id << "\n"
183 << "Got: Row with id " << updated_row2.id;
188 std::vector<AutocompleteActionPredictorTable::Row::Id> id_list;
194 AutocompleteActionPredictorTable::Row row;
195 db_->autocomplete_table()->GetRow(test_db_[1].id, &row);
196 EXPECT_TRUE(RowsAreEqual(test_db_[1], row));