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

Unified Diff: remoting/android/javatests/src/org/chromium/chromoting/TouchInputStrategyTest.java

Issue 1687873002: Revert of Refactor Chromoting JNI code to use jni/Client (Java changes only). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/android/javatests/src/org/chromium/chromoting/TouchInputStrategyTest.java
diff --git a/remoting/android/javatests/src/org/chromium/chromoting/TouchInputStrategyTest.java b/remoting/android/javatests/src/org/chromium/chromoting/TouchInputStrategyTest.java
index 3dea3691eb0566c898fd916cf5bd22ab3c20245a..c7774f7fdd80a9e11e0edc2e31286b600fcfd3b4 100644
--- a/remoting/android/javatests/src/org/chromium/chromoting/TouchInputStrategyTest.java
+++ b/remoting/android/javatests/src/org/chromium/chromoting/TouchInputStrategyTest.java
@@ -197,10 +197,7 @@
public void setUp() {
mRenderData = new RenderData();
mRemoteInputInjector = new MockRemoteInputInjector();
-
- // TODO(lambroslambrou): Provide a mock Client implementation that doesn't call out to JNI,
- // and mock the Client methods instead of using MockRemoteInputInjector here.
- mInputStrategy = new TouchInputStrategy(mRenderData, null);
+ mInputStrategy = new TouchInputStrategy(mRenderData);
mInputStrategy.setRemoteInputInjectorForTest(mRemoteInputInjector);
mEventGenerator = new TouchEventGenerator();
« no previous file with comments | « remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698