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

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: address comments 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..bbce6f17019689c9a9f682228874fff5e921854e 100644
--- a/chrome/browser/ui/views/chooser_content_view_unittest.cc
+++ b/chrome/browser/ui/views/chooser_content_view_unittest.cc
@@ -75,7 +75,7 @@ TEST_F(ChooserContentViewTest, InitialState) {
// the number of rows is 1.
EXPECT_EQ(1, table_view_->RowCount());
EXPECT_EQ(
- l10n_util::GetStringUTF16(IDS_CHOOSER_BUBBLE_NO_DEVICES_FOUND_PROMPT),
+ l10n_util::GetStringUTF16(IDS_DEVICE_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());
@@ -148,7 +148,7 @@ TEST_F(ChooserContentViewTest, RemoveOption) {
// 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),
+ l10n_util::GetStringUTF16(IDS_DEVICE_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());
@@ -293,7 +293,7 @@ TEST_F(ChooserContentViewTest,
// 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),
+ l10n_util::GetStringUTF16(IDS_DEVICE_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 previous file with comments | « chrome/browser/ui/views/chooser_content_view.cc ('k') | chrome/browser/ui/views/extensions/chooser_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698