Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8731)

Unified Diff: chrome/browser/ui/views/chooser_content_view_unittest.cc

Issue 2061193003: Remove "BUBBLE" from chooser related string IDs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/chooser_content_view_unittest.cc
diff --git a/chrome/browser/ui/views/chooser_content_view_unittest.cc b/chrome/browser/ui/views/chooser_content_view_unittest.cc
index 0156135584dd4e333baab6765d341663eaaa3549..cb5e7d95ffc94217c6e0cee2e2816c8679d77709 100644
--- a/chrome/browser/ui/views/chooser_content_view_unittest.cc
+++ b/chrome/browser/ui/views/chooser_content_view_unittest.cc
@@ -74,9 +74,8 @@ TEST_F(ChooserContentViewTest, InitialState) {
// Since "No devices found." needs to be displayed on the |table_view_|,
// the number of rows is 1.
EXPECT_EQ(1, table_view_->RowCount());
- EXPECT_EQ(
- l10n_util::GetStringUTF16(IDS_CHOOSER_BUBBLE_NO_DEVICES_FOUND_PROMPT),
- table_model_->GetText(0, 0));
+ EXPECT_EQ(l10n_util::GetStringUTF16(IDS_CHOOSER_NO_DEVICES_FOUND_PROMPT),
+ table_model_->GetText(0, 0));
// |table_view_| should be disabled since there is no option shown.
EXPECT_FALSE(table_view_->enabled());
// No option selected.
@@ -147,9 +146,8 @@ TEST_F(ChooserContentViewTest, RemoveOption) {
// There is no option shown now. But since "No devices found."
// needs to be displayed on the |table_view_|, the number of rows is 1.
EXPECT_EQ(1, table_view_->RowCount());
- EXPECT_EQ(
- l10n_util::GetStringUTF16(IDS_CHOOSER_BUBBLE_NO_DEVICES_FOUND_PROMPT),
- table_model_->GetText(0, 0));
+ EXPECT_EQ(l10n_util::GetStringUTF16(IDS_CHOOSER_NO_DEVICES_FOUND_PROMPT),
+ table_model_->GetText(0, 0));
// |table_view_| should be disabled since all options are removed.
EXPECT_FALSE(table_view_->enabled());
EXPECT_EQ(0, table_view_->SelectedRowCount());
@@ -292,9 +290,8 @@ TEST_F(ChooserContentViewTest,
// There is no option shown now. But since "No devices found."
// needs to be displayed on the |table_view_|, the number of rows is 1.
EXPECT_EQ(1, table_view_->RowCount());
- EXPECT_EQ(
- l10n_util::GetStringUTF16(IDS_CHOOSER_BUBBLE_NO_DEVICES_FOUND_PROMPT),
- table_model_->GetText(0, 0));
+ EXPECT_EQ(l10n_util::GetStringUTF16(IDS_CHOOSER_NO_DEVICES_FOUND_PROMPT),
+ table_model_->GetText(0, 0));
// |table_view_| should be disabled since all options are removed.
EXPECT_FALSE(table_view_->enabled());
// No option selected.

Powered by Google App Engine
This is Rietveld 408576698