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

Unified Diff: ash/launcher/launcher_view_unittest.cc

Issue 15174004: Merge 198585 "Regression issue with "ShouldHop", the UpdateState..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1500/src/
Patch Set: Created 7 years, 7 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/launcher/launcher_button.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_view_unittest.cc
===================================================================
--- ash/launcher/launcher_view_unittest.cc (revision 200062)
+++ ash/launcher/launcher_view_unittest.cc (working copy)
@@ -377,18 +377,6 @@
DISALLOW_COPY_AND_ASSIGN(LauncherViewTest);
};
-// Checks that the icon positions do not shift with a state change.
-TEST_F(LauncherViewTest, NoStateChangeIconMovement) {
- LauncherID last_added = AddAppShortcut();
- internal::LauncherButton* button = GetButtonByID(last_added);
- EXPECT_EQ(button->state(), ash::internal::LauncherButton::STATE_NORMAL);
- gfx::Rect old_bounds = button->GetIconBounds();
-
- button->AddState(ash::internal::LauncherButton::STATE_HOVERED);
- gfx::Rect hovered_bounds = button->GetIconBounds();
- EXPECT_EQ(old_bounds.ToString(), hovered_bounds.ToString());
-}
-
// Adds browser button until overflow and verifies that the last added browser
// button is hidden.
TEST_F(LauncherViewTest, AddBrowserUntilOverflow) {
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698