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

Unified Diff: ui/views/controls/label_unittest.cc

Issue 10829047: Deprecate unused views::Label::SetURL(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « ui/views/controls/label.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/label_unittest.cc
diff --git a/ui/views/controls/label_unittest.cc b/ui/views/controls/label_unittest.cc
index df7ac338d18082738fde935faa2b135b45352aa3..12bc7fe4501fd02424e417ce48e70ddbe2da56fb 100644
--- a/ui/views/controls/label_unittest.cc
+++ b/ui/views/controls/label_unittest.cc
@@ -47,14 +47,6 @@ TEST(LabelTest, TextProperty) {
EXPECT_EQ(test_text, label.text());
}
-TEST(LabelTest, UrlProperty) {
- Label label;
- std::string my_url("http://www.orkut.com/some/Random/path");
- GURL url(my_url);
- label.SetURL(url);
- EXPECT_EQ(UTF8ToUTF16(my_url), label.text());
-}
-
TEST(LabelTest, ColorProperty) {
Label label;
SkColor color = SkColorSetARGB(20, 40, 10, 5);
« no previous file with comments | « ui/views/controls/label.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698