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

Unified Diff: ash/autoclick/autoclick_unittest.cc

Issue 1124113006: Disable AutoclickTest.DISABLED_SynthesizedMouseMovesIgnored test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/autoclick/autoclick_unittest.cc
diff --git a/ash/autoclick/autoclick_unittest.cc b/ash/autoclick/autoclick_unittest.cc
index ff66e04fc1518a45bc52053274715c38d1ddb2c3..262d826fac89ef3bf06db7e2e4e4e4fd73aeb805 100644
--- a/ash/autoclick/autoclick_unittest.cc
+++ b/ash/autoclick/autoclick_unittest.cc
@@ -269,7 +269,13 @@ TEST_F(AutoclickTest, UserInputCancelsAutoclick) {
EXPECT_EQ(0u, events.size());
}
-TEST_F(AutoclickTest, SynthesizedMouseMovesIgnored) {
+// Fails on official cros trunk build. See crbug.com/489896.
+#if defined(OFFICIAL_BUILD)
+#define MAYBE_SynthesizedMouseMovesIgnored DISABLED_SynthesizedMouseMovesIgnored
+#else
+#define MAYBE_SynthesizedMouseMovesIgnored SynthesizedMouseMovesIgnored
+#endif
+TEST_F(AutoclickTest, MAYBE_SynthesizedMouseMovesIgnored) {
GetAutoclickController()->SetEnabled(true);
std::vector<ui::MouseEvent> events;
GetEventGenerator().MoveMouseTo(100, 100);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698