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

Unified Diff: chrome/browser/chromeos/status/power_menu_button_browsertest.cc

Issue 8586047: Merge 110560 - Make power button in status view invisible until we are sure battery is supported ... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/912/src/
Patch Set: Created 9 years, 1 month 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/chromeos/status/power_menu_button.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/power_menu_button_browsertest.cc
===================================================================
--- chrome/browser/chromeos/status/power_menu_button_browsertest.cc (revision 110608)
+++ chrome/browser/chromeos/status/power_menu_button_browsertest.cc (working copy)
@@ -71,6 +71,10 @@
.WillOnce((Return(base::TimeDelta::FromMinutes(24))))
.RetiresOnSaturation();
EXPECT_EQ(-1, CallPowerChangedAndGetBatteryIndex());
+
+ PowerMenuButton* power = GetPowerMenuButton();
+
+ EXPECT_FALSE(power->IsVisible());
}
IN_PROC_BROWSER_TEST_F(PowerMenuButtonTest, BatteryChargedTest) {
« no previous file with comments | « chrome/browser/chromeos/status/power_menu_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698