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

Unified Diff: ash/common/system/chromeos/power/power_status_view_unittest.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: ash/common/system/chromeos/power/power_status_view_unittest.cc
diff --git a/ash/common/system/chromeos/power/power_status_view_unittest.cc b/ash/common/system/chromeos/power/power_status_view_unittest.cc
index c2d496492122324ec1be1965639b5b546744ae15..3e19484af4649575317a0749811fb1259c3ea53f 100644
--- a/ash/common/system/chromeos/power/power_status_view_unittest.cc
+++ b/ash/common/system/chromeos/power/power_status_view_unittest.cc
@@ -82,10 +82,9 @@ TEST_F(PowerStatusViewTest, Basic) {
UpdatePowerStatus(prop);
EXPECT_NE(l10n_util::GetStringUTF16(IDS_ASH_STATUS_TRAY_BATTERY_CALCULATING),
RemainingTimeInView());
- EXPECT_NE(
- l10n_util::GetStringUTF16(
- IDS_ASH_STATUS_TRAY_BATTERY_CHARGING_UNRELIABLE),
- RemainingTimeInView());
+ EXPECT_NE(l10n_util::GetStringUTF16(
+ IDS_ASH_STATUS_TRAY_BATTERY_CHARGING_UNRELIABLE),
+ RemainingTimeInView());
prop.set_external_power(PowerSupplyProperties::AC);
prop.set_battery_state(PowerSupplyProperties::CHARGING);
@@ -95,19 +94,17 @@ TEST_F(PowerStatusViewTest, Basic) {
EXPECT_TRUE(IsTimeStatusVisible());
EXPECT_NE(l10n_util::GetStringUTF16(IDS_ASH_STATUS_TRAY_BATTERY_CALCULATING),
RemainingTimeInView());
- EXPECT_NE(
- l10n_util::GetStringUTF16(
- IDS_ASH_STATUS_TRAY_BATTERY_CHARGING_UNRELIABLE),
- RemainingTimeInView());
+ EXPECT_NE(l10n_util::GetStringUTF16(
+ IDS_ASH_STATUS_TRAY_BATTERY_CHARGING_UNRELIABLE),
+ RemainingTimeInView());
prop.set_external_power(PowerSupplyProperties::USB);
UpdatePowerStatus(prop);
EXPECT_TRUE(IsPercentageVisible());
EXPECT_TRUE(IsTimeStatusVisible());
- EXPECT_EQ(
- l10n_util::GetStringUTF16(
- IDS_ASH_STATUS_TRAY_BATTERY_CHARGING_UNRELIABLE),
- RemainingTimeInView());
+ EXPECT_EQ(l10n_util::GetStringUTF16(
+ IDS_ASH_STATUS_TRAY_BATTERY_CHARGING_UNRELIABLE),
+ RemainingTimeInView());
// Tricky -- connected to non-USB but still discharging. Not likely happening
// on production though.
« no previous file with comments | « ash/common/system/chromeos/power/power_status_view.cc ('k') | ash/common/system/chromeos/power/tray_power.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698