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

Unified Diff: ash/launcher/launcher_view_unittest.cc

Issue 14640019: Regression issue with "ShouldHop" (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rm invalid unit test 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
diff --git a/ash/launcher/launcher_view_unittest.cc b/ash/launcher/launcher_view_unittest.cc
index d1e2e768c164c6a6df29944b88f0eab248ffcca4..8edcc51fd8b9839e451b1205aab309c5d17aebd2 100644
--- a/ash/launcher/launcher_view_unittest.cc
+++ b/ash/launcher/launcher_view_unittest.cc
@@ -377,18 +377,6 @@ class LauncherViewTest : public AshTestBase {
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