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

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

Issue 9837059: Cleanup for views::Label: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « chrome/browser/ui/views/find_bar_view.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/generic_info_view_unittest.cc
===================================================================
--- chrome/browser/ui/views/generic_info_view_unittest.cc (revision 128075)
+++ chrome/browser/ui/views/generic_info_view_unittest.cc (working copy)
@@ -35,7 +35,7 @@
root_view->AddChildView(view1);
view1->SetName(0, kName);
view1->SetValue(0, kValue);
- EXPECT_EQ(kName, view1->name_views_[0]->GetText());
+ EXPECT_EQ(kName, view1->name_views_[0]->text());
EXPECT_EQ(kValue, view1->value_views_[0]->text());
view1->ClearValues();
EXPECT_TRUE(view1->value_views_[0]->text().empty());
@@ -50,8 +50,8 @@
string16 product_name = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME);
string16 product_desc = l10n_util::GetStringUTF16(IDS_PRODUCT_DESCRIPTION);
- EXPECT_EQ(product_name, view2->name_views_[0]->GetText());
- EXPECT_EQ(product_desc, view2->name_views_[1]->GetText());
+ EXPECT_EQ(product_name, view2->name_views_[0]->text());
+ EXPECT_EQ(product_desc, view2->name_views_[1]->text());
widget->CloseNow();
}
#endif // OS_WIN
« no previous file with comments | « chrome/browser/ui/views/find_bar_view.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698