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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java

Issue 2518063006: Fixing MediaFling tests (Closed)
Patch Set: addressed nits from mustaq Created 4 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 | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastStartStopTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java b/chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java
index 3206b3e9ce30d1c742126dd476a894f12846f91e..8c827690ac6f487a138bb137240d4bb69e807b65 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/media/RouterTestUtils.java
@@ -147,7 +147,7 @@ public class RouterTestUtils {
MotionEvent.PointerProperties properties[] = new MotionEvent.PointerProperties[1];
properties[0] = new MotionEvent.PointerProperties();
properties[0].id = 0;
- properties[0].toolType = MotionEvent.TOOL_TYPE_MOUSE;
+ properties[0].toolType = MotionEvent.TOOL_TYPE_FINGER;
MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, 1, properties, coords,
0, 0, 0.0f, 0.0f, 0, 0, 0, 0);
instrumentation.sendPointerSync(event);
@@ -155,7 +155,7 @@ public class RouterTestUtils {
}
/**
- * Sends (synchronously) a single mosue click to an absolute screen coordinates.
+ * Sends (synchronously) a single mouse click to an absolute screen coordinates.
*
* @param instrumentation Instrumentation object used by the test.
* @param x Screen absolute x location.
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastStartStopTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698