Lines Matching refs:model_
31 model_.reset(NULL);
36 model_.reset(new GeolocationExceptionsTableModel(
47 EXPECT_EQ(3, model_->RowCount());
52 scoped_ptr<GeolocationExceptionsTableModel> model_;
56 EXPECT_EQ(0, model_->RowCount());
64 EXPECT_EQ(1, model_->RowCount());
67 EXPECT_TRUE(model_->CanRemoveRows(rows));
75 EXPECT_EQ(3, model_->RowCount());
76 EXPECT_FALSE(model_->CanRemoveRows(rows));
82 EXPECT_TRUE(model_->CanRemoveRows(rows));
93 model_->RemoveRows(rows);
99 EXPECT_EQ(3, model_->RowCount());
105 model_->RemoveRows(rows);
106 EXPECT_EQ(0, model_->RowCount());
117 model_->RemoveAll();
121 EXPECT_EQ(0, model_->RowCount());
128 string16 text = model_->GetText(0, IDS_EXCEPTIONS_HOSTNAME_HEADER);
132 text = model_->GetText(1, IDS_EXCEPTIONS_HOSTNAME_HEADER);
137 text = model_->GetText(2, IDS_EXCEPTIONS_HOSTNAME_HEADER);