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

Unified Diff: ash/wm/window_util_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
« no previous file with comments | « ash/wm/window_util.cc ('k') | ash/wm/workspace/magnetism_matcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_util_unittest.cc
diff --git a/ash/wm/window_util_unittest.cc b/ash/wm/window_util_unittest.cc
index 66fa962353651017276578c0eb0b4720738076bc..5bbe84645994129446ecf698700dddc059eb10ef 100644
--- a/ash/wm/window_util_unittest.cc
+++ b/ash/wm/window_util_unittest.cc
@@ -20,7 +20,6 @@ std::string GetAdjustedBounds(const gfx::Rect& visible,
wm::AdjustBoundsToEnsureMinimumWindowVisibility(visible, &to_be_adjusted);
return to_be_adjusted.ToString();
}
-
}
typedef test::AshTestBase WindowUtilTest;
@@ -64,12 +63,10 @@ TEST_F(WindowUtilTest, AdjustBoundsToEnsureMinimumVisibility) {
const gfx::Rect visible_bounds_right(200, 50, 100, 100);
- EXPECT_EQ(
- "210,60 90x90",
- GetAdjustedBounds(visible_bounds_right, gfx::Rect(210, 60, 90, 90)));
- EXPECT_EQ(
- "210,60 100x100",
- GetAdjustedBounds(visible_bounds_right, gfx::Rect(210, 60, 150, 150)));
+ EXPECT_EQ("210,60 90x90", GetAdjustedBounds(visible_bounds_right,
+ gfx::Rect(210, 60, 90, 90)));
+ EXPECT_EQ("210,60 100x100", GetAdjustedBounds(visible_bounds_right,
+ gfx::Rect(210, 60, 150, 150)));
EXPECT_EQ("125,50 100x100",
GetAdjustedBounds(visible_bounds_right, gfx::Rect(0, 0, 150, 150)));
EXPECT_EQ("275,50 100x100", GetAdjustedBounds(visible_bounds_right,
@@ -79,9 +76,8 @@ TEST_F(WindowUtilTest, AdjustBoundsToEnsureMinimumVisibility) {
GetAdjustedBounds(visible_bounds_right, gfx::Rect(-100, 150, 150, 150)));
const gfx::Rect visible_bounds_left(-200, -50, 100, 100);
- EXPECT_EQ(
- "-190,-40 90x90",
- GetAdjustedBounds(visible_bounds_left, gfx::Rect(-190, -40, 90, 90)));
+ EXPECT_EQ("-190,-40 90x90", GetAdjustedBounds(visible_bounds_left,
+ gfx::Rect(-190, -40, 90, 90)));
EXPECT_EQ(
"-190,-40 100x100",
GetAdjustedBounds(visible_bounds_left, gfx::Rect(-190, -40, 150, 150)));
« no previous file with comments | « ash/wm/window_util.cc ('k') | ash/wm/workspace/magnetism_matcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698