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

Unified Diff: athena/home/home_card_unittest.cc

Issue 715053003: Introduce system_info as an independent container. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup includes Created 6 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 | « athena/home/home_card_constants.cc ('k') | athena/home/home_card_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/home/home_card_unittest.cc
diff --git a/athena/home/home_card_unittest.cc b/athena/home/home_card_unittest.cc
index 46ffccd28dca310ef034f62fc334f6e8ea33b632..03e137eeb7932d17546975d22285ba2879637958 100644
--- a/athena/home/home_card_unittest.cc
+++ b/athena/home/home_card_unittest.cc
@@ -225,10 +225,9 @@ TEST_F(HomeCardTest, Gestures) {
EXPECT_TRUE(WindowManager::Get()->IsOverviewModeActive());
// Swipe down to the bottom state.
- generator.GestureScrollSequence(gfx::Point(x, 10),
+ generator.GestureScrollSequence(gfx::Point(x, 50),
gfx::Point(x, bottom - 120),
- base::TimeDelta::FromSeconds(1),
- 10);
+ base::TimeDelta::FromSeconds(1), 10);
EXPECT_EQ(HomeCard::VISIBLE_BOTTOM, HomeCard::Get()->GetState());
EXPECT_TRUE(WindowManager::Get()->IsOverviewModeActive());
@@ -240,10 +239,8 @@ TEST_F(HomeCardTest, Gestures) {
EXPECT_TRUE(WindowManager::Get()->IsOverviewModeActive());
// Swipe down to the minimized state.
- generator.GestureScrollSequence(gfx::Point(x, 10),
- gfx::Point(x, bottom - 1),
- base::TimeDelta::FromSeconds(1),
- 10);
+ generator.GestureScrollSequence(gfx::Point(x, 50), gfx::Point(x, bottom - 1),
+ base::TimeDelta::FromSeconds(1), 10);
EXPECT_EQ(HomeCard::VISIBLE_MINIMIZED, HomeCard::Get()->GetState());
EXPECT_FALSE(WindowManager::Get()->IsOverviewModeActive());
}
« no previous file with comments | « athena/home/home_card_constants.cc ('k') | athena/home/home_card_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698